]> 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)
commitc29e485804fcf8c740537a42ca07a4b1f2da46dd
tree4f81f035643a32cfffdb2a699722bcb52b61c0ad
parent1e7bb824e585486d1deb13fbced76fb8562997eb
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