[Intel-gfx] [PATCH v4 60/61] drm/i915: Finally remove obj->mm.lock.

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Nov 3 13:31:00 UTC 2020


On 10/16/20 12:44 PM, Maarten Lankhorst wrote:
> With all callers and selftests fixed to use ww locking, we can now
> finally remove this lock.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> ---
>   drivers/gpu/drm/i915/gem/i915_gem_object.c    |  2 -
>   drivers/gpu/drm/i915/gem/i915_gem_object.h    |  5 +--
>   .../gpu/drm/i915/gem/i915_gem_object_types.h  |  1 -
>   drivers/gpu/drm/i915/gem/i915_gem_pages.c     | 38 ++++---------------
>   drivers/gpu/drm/i915/gem/i915_gem_phys.c      | 34 ++++-------------
>   drivers/gpu/drm/i915/gem/i915_gem_shmem.c     |  2 +-
>   drivers/gpu/drm/i915/gem/i915_gem_shrinker.c  | 37 +++++++++++++-----
>   drivers/gpu/drm/i915/gem/i915_gem_shrinker.h  |  4 +-
>   drivers/gpu/drm/i915/gem/i915_gem_tiling.c    |  2 -
>   drivers/gpu/drm/i915/gem/i915_gem_userptr.c   |  3 +-
>   drivers/gpu/drm/i915/i915_debugfs.c           |  4 +-
>   drivers/gpu/drm/i915/i915_gem.c               |  8 +---
>   drivers/gpu/drm/i915/i915_gem_gtt.c           |  2 +-
>   13 files changed, 53 insertions(+), 89 deletions(-)

Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>




More information about the Intel-gfx mailing list