drm/i915: Polish the skl+ plane keyval/msk/max register setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Nov 2018 18:41:38 +0000 (20:41 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Nov 2018 17:10:37 +0000 (19:10 +0200)
commit7b012bd62db951384a73943311822d1fb447e416
tree4f81f035643a32cfffdb2a699722bcb52b61c0ad
parent89d67d172dead981fa8888eb7c5f37ada21687c3
drm/i915: Polish the skl+ plane keyval/msk/max register setup

Due to the constant alpha we're going to have to program two of
the the tree keying registers anyway, so might as well always
program all three.

And parametrize the plane constant alpha define while at it.

v2: Rebase due to input CSC

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181107184138.31359-1-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_sprite.c