diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-13 18:43:48 +0100 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-16 16:20:41 +0100 |
commit | 9212f8ee412012252d4d7c93ea262b415ced00e7 (patch) | |
tree | ae6c7af1b93d76a14a66ba4e1ae6334d32f10341 /drivers/dma-buf/heaps | |
parent | drm/edid: Throw away the dummy VIC 0 cea mode (diff) | |
download | linux-9212f8ee412012252d4d7c93ea262b415ced00e7.tar.xz linux-9212f8ee412012252d4d7c93ea262b415ced00e7.zip |
drm/edid: Make sure the CEA mode arrays have the correct amount of modes
We depend on a specific relationship between the VIC number and the
index in the CEA mode arrays. Assert that the arrays have the expected
size to make sure we've not accidentally left holes in them.
v2: Pimp the BUILD_BUG_ON()s
v3: Fix typos (Manasi)
Cc: Hans Verkuil <hansverk@cisco.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Thomas Anderson <thomasanderson@google.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213174348.27261-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/dma-buf/heaps')
0 files changed, 0 insertions, 0 deletions