OSDN Git Service

drm/i915/icl: Drop redundant gamma mode mask
authorUma Shankar <uma.shankar@intel.com>
Wed, 20 Feb 2019 19:05:19 +0000 (00:35 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Feb 2019 13:41:03 +0000 (15:41 +0200)
commit2a3902bd5c14a4946739c9da14071f5aa6e85549
tree8dcf2f1deca0fe462bbc126b501f77f0a58c9176
parentc5568ed2bfdf0262cd48b5085a227c04a5556a01
drm/i915/icl: Drop redundant gamma mode mask

gamma mode mask was not considering the 30th and 31st bits.
Due to this state readout was masking these bits, causing a
mismatch and false warning, even though the registers were
updated correctly. Dropped the gamma mode mask as it is
redundant and ideally entire register content should be
matching. This resolves the state mismatch warnings.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1550689519-6977-1-git-send-email-uma.shankar@intel.com
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109624
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c