drm/i915/dp: Add compute routine for DP HDR Metadata Infoframe SDP
authorGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Tue, 11 Feb 2020 07:46:42 +0000 (09:46 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 20 Mar 2020 12:12:12 +0000 (14:12 +0200)
commitd1eed96dcb60b798418ab7554bcedf33fccc17ef
tree5178e821c0695b9492322997fe012cbb1bf0689f
parent9799c4c3b76e540d97e302f9beb5971ef6a9b473
drm/i915/dp: Add compute routine for DP HDR Metadata Infoframe SDP

It stores computed dp hdr metadata infoframe sdp to infoframes.drm of
crtc state. It referenced intel_hdmi_compute_drm_infoframe().

While computing, we'll also fill out the infoframes.enable bitmask
appropriately.

v2: Wrap a long line.
v4: Use struct drm_device logging macros
v5: Fix typo [Uma]

Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200211074657.231405-4-gwan-gyeong.mun@intel.com
drivers/gpu/drm/i915/display/intel_dp.c