]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Pass the region ID rather than a bitmask to HAS_REGION()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 2 May 2024 12:14:22 +0000 (15:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 May 2024 11:24:45 +0000 (14:24 +0300)
commitd082c05a635e59764c5337a5da7f4287b8a80476
treea8def8d6ac1781127b27220176dcd6d1ef233ed6
parent8b69ac66d68907deb473b310b4f2c2a6b26ef191
drm/i915: Pass the region ID rather than a bitmask to HAS_REGION()

The name 'HAS_REGION()' suggests we are checking for a single
region, so seem more sensible to pass in the region ID rather
than a bitmask.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240502121423.1002-2-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_memory_region.c