]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Add a small wrapper to check for CCS modifiers.
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Wed, 22 Aug 2018 19:38:27 +0000 (12:38 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Wed, 22 Aug 2018 22:39:42 +0000 (15:39 -0700)
commit63eaf9acc00d394c75cb1a442387e0a05c17bcac
treef4c67b5095ed176893980936a09d7cbfdcaa0462
parent0577ab482f46653d6210aeb1d7dc57aa5e2dbfc3
drm/i915: Add a small wrapper to check for CCS modifiers.

Code looks cleaner with modifiers hidden inside this wrapper.
v2: Remove const qualifier (Ville)

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180822193827.6341-1-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_display.h
drivers/gpu/drm/i915/intel_sprite.c