drm/i915: Enable infoframes on GLK+ for HDR
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 May 2019 16:22:25 +0000 (21:52 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 28 May 2019 10:28:41 +0000 (12:28 +0200)
commit44b42ebfccfd9d6ef377a25e99ae0085b071e868
treea22892dfb9e9a457401fbdb772e67946f63a27c2
parentc0560fab6d3798cb4a54529cdce0e91a64e978fb
drm/i915: Enable infoframes on GLK+ for HDR

This patch enables infoframes on GLK+ to be
used to send HDR metadata to HDMI sink.

v2: Addressed Shashank's review comment.

v3: Addressed Shashank's review comment.

v4: Added Shashank's RB.

v5: Dropped hdr_metadata_change check while modeset, as per
Ville's suggestion.

v6: Removed an unused and duplicate bit defintion, as per Ville's
comment.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
[mlankhorst: Reorder patch series]
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1558110145-3422-1-git-send-email-uma.shankar@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_hdmi.c