]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Just use icl+ definition for PLANE_WM blocks field
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Feb 2019 20:50:56 +0000 (22:50 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Feb 2019 13:13:51 +0000 (15:13 +0200)
commite3a3ac4a8e22216aa0a84cdeeb4874751b2a2c64
tree24ba36d76cef233c09caa0bd504a8e45de0d2c49
parentf5dcdcd42a8fee924a79aa038c16e21a66d4b46a
drm/i915: Just use icl+ definition for PLANE_WM blocks field

The unused bits on PLANE_WM & co. are hardwired to zero. So no
need to worry about reading the extra bit on pre-icl.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190205205056.30081-2-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c