[Intel-gfx] [PATCH v2 23/24] drm/i915: Add ww locking to pin_to_display_plane, v2.
Thomas Hellström (Intel)
thomas_os at shipmail.org
Thu Aug 20 10:45:53 UTC 2020
On 8/19/20 4:09 PM, Maarten Lankhorst wrote:
> Use ww locking for pin_to_display_plane for all the pinning and locking.
> With the locking removed from set_cache_level, we need to fix
> i915_gem_set_caching_ioctl to take the object reservation lock.
>
> As this is a single lock, we don't need to use the ww dance.
>
> Changes since v1:
> - Do not use ww locking in i915_gem_set_caching_ioctl (Thomas).
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom at intel.com>
More information about the Intel-gfx
mailing list