Commit 919dfb78 authored by Thomas Anderson's avatar Thomas Anderson Committed by Ville Syrjälä

drm/edid: Increase size of VDB and CMDB bitmaps to 256 bits

CEA-861-G adds modes up to 219, so increase the size of the
maps in preparation for adding the new modes to drm_edid.c.
Signed-off-by: default avatarThomas Anderson <thomasanderson@google.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210221048.83628-1-thomasanderson@google.com
parent bd223ac6
...@@ -188,19 +188,19 @@ struct drm_hdmi_info { ...@@ -188,19 +188,19 @@ struct drm_hdmi_info {
/** /**
* @y420_vdb_modes: bitmap of modes which can support ycbcr420 * @y420_vdb_modes: bitmap of modes which can support ycbcr420
* output only (not normal RGB/YCBCR444/422 outputs). There are total * output only (not normal RGB/YCBCR444/422 outputs). The max VIC
* 107 VICs defined by CEA-861-F spec, so the size is 128 bits to map * defined by the CEA-861-G spec is 219, so the size is 256 bits to map
* upto 128 VICs; * up to 256 VICs.
*/ */
unsigned long y420_vdb_modes[BITS_TO_LONGS(128)]; unsigned long y420_vdb_modes[BITS_TO_LONGS(256)];
/** /**
* @y420_cmdb_modes: bitmap of modes which can support ycbcr420 * @y420_cmdb_modes: bitmap of modes which can support ycbcr420
* output also, along with normal HDMI outputs. There are total 107 * output also, along with normal HDMI outputs. The max VIC defined by
* VICs defined by CEA-861-F spec, so the size is 128 bits to map upto * the CEA-861-G spec is 219, so the size is 256 bits to map up to 256
* 128 VICs; * VICs.
*/ */
unsigned long y420_cmdb_modes[BITS_TO_LONGS(128)]; unsigned long y420_cmdb_modes[BITS_TO_LONGS(256)];
/** @y420_cmdb_map: bitmap of SVD index, to extraxt vcb modes */ /** @y420_cmdb_map: bitmap of SVD index, to extraxt vcb modes */
u64 y420_cmdb_map; u64 y420_cmdb_map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment