drm/i915/display: Implement infoframes readback for LSPCON
authorUma Shankar <uma.shankar@intel.com>
Mon, 30 Nov 2020 20:47:35 +0000 (02:17 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 1 Dec 2020 19:59:52 +0000 (01:29 +0530)
commit34108a03e430ea0e7a1d9005e3caa0d6a746fa95
tree7fd09bc52aa28384e46d718a7885b56950a0cc04
parenta44289b923f6092e3103e8e1b83a5d0b86d34769
drm/i915/display: Implement infoframes readback for LSPCON

Implemented Infoframes enabled readback for LSPCON devices.
This will help align the implementation with state readback
infrastructure.

v2: Added proper bitmask of enabled infoframes as per Ville's
recommendation.

v3: Added pcon specific infoframe types instead of using the HSW
one's, as recommended by Ville.

v4: Addressed Ville's review comment by adding HDMI infoframe
versions directly instead of DIP wrappers.

v5: Re-ordered the patches to avoid potential break in usage,
as suggested by Ville.

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-13-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_lspcon.c