drm/i915/display: Add a WARN for invalid output range and format
authorUma Shankar <uma.shankar@intel.com>
Mon, 30 Nov 2020 20:47:28 +0000 (02:17 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 1 Dec 2020 19:52:31 +0000 (01:22 +0530)
commit55b1f9ddf41d369f2d480596822c6d17817a8d78
tree66f74157d768b569047f0e82e92c18b0f70eb786
parent9559c0d13b6b35abc2659bdd3024849d552e3c4e
drm/i915/display: Add a WARN for invalid output range and format

Add a WARN to rule out an invalid output range and format
combination. This is to align the lspcon code with
compute_avi_infoframes.

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