]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7454c3381c048250b75b7f4ff83c4b64e8a65f38
tree4f81f035643a32cfffdb2a699722bcb52b61c0ad
parenteed5e9540c451909b2a4d3b1b3296585996978af
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