[Intel-gfx] [PATCH v4 35/61] drm/i915: Lock ww in ucode objects correctly
Thomas Hellström (Intel)
thomas_os at shipmail.org
Tue Nov 3 09:00:20 UTC 2020
On 10/16/20 12:44 PM, Maarten Lankhorst wrote:
> In the ucode functions, the calls are done before userspace runs,
> when debugging using debugfs, or when creating semi-permanent mappings;
> we can safely use the unlocked versions that does the ww dance for us.
>
> Because there is no pin_pages_unlocked yet, add it as convenience function.
>
> This removes possible lockdep splats about missing resv lock for ucode.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
More information about the Intel-gfx
mailing list