drm/i915/lspcon: Do not send DRM infoframes to non-HDMI sinks
authorUma Shankar <uma.shankar@intel.com>
Mon, 30 Nov 2020 20:47:37 +0000 (02:17 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 1 Dec 2020 19:59:52 +0000 (01:29 +0530)
commit998cc864955d9ec0a0675e7e2ea4e069ba640214
tree2f00c29587723b1f8fda531fc4afa16b98f84f2a
parentb759415020b335aea8329f210ee162cb0c3c86a0
drm/i915/lspcon: Do not send DRM infoframes to non-HDMI sinks

Non-HDMI sinks shouldn't be sent Dynamic Range and Mastering infoframes.
Check for that when using LSPCON.

v2: Addressed Ville's review comment.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201130204738.2443-15-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c