[PATCH 3/3] drm/panfrost: Clamp lock region to Bifrost minimum

Alyssa Rosenzweig alyssa at collabora.com
Mon Aug 23 21:13:45 UTC 2021


> > When locking a region, we currently clamp to a PAGE_SIZE as the minimum
> > lock region. While this is valid for Midgard, it is invalid for Bifrost,
> 
> While the spec does seem to state it's invalid for Bifrost - kbase
> didn't bother with a lower clamp for a long time. I actually think this
> is in many ways more of a spec bug: i.e. implementation details of the
> round-up that the hardware does. But it's much safer following the spec
> ;) And it seems like kbase eventually caught up too.

Yeah, makes sense. Should I drop the Cc: stable in that case? If the
issue is purely theoretical.


More information about the dri-devel mailing list