]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove mostly duplicated video DIP handling from PSR code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Oct 2017 19:40:51 +0000 (22:40 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 17 Oct 2017 09:38:58 +0000 (12:38 +0300)
commit676fbfef3a63b57f31600e574ffc60b15e1998a9
tree2376c86dded36ffbedd4c27ded99b84f213cce3b
parentc66fd837de7a48e0926f2bee74a4f705eddc125d
drm/i915: Remove mostly duplicated video DIP handling from PSR code

Now that the infoframe hooks are part of the intel_dig_port, we can use
the normal .write_infoframe() hook to update the VSC SDP. We do need to
deal with the size difference between the VSC DIP and the others though.

Another minor snag is that the compiler will complain to use if we keep
using enum hdmi_infoframe_type type and passing in the DP define instead,
so et's just change to unsigned int all over for the inforframe type.

v2: Rebase due to other PSR changes

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