diff options
author | 2019-12-13 19:43:45 +0200 | |
---|---|---|
committer | 2019-12-16 17:20:21 +0200 | |
commit | 7befe621ff81d8063c13d6452b04e6ebc92b22fd (patch) | |
tree | 211e3b20a1491fefde7dbcb471c0ada3f1005dc6 /tools/perf/scripts/python | |
parent | drm/virtio: use damage info for display updates. (diff) | |
download | linux-dev-7befe621ff81d8063c13d6452b04e6ebc92b22fd.tar.xz linux-dev-7befe621ff81d8063c13d6452b04e6ebc92b22fd.zip |
drm/edid: Abstract away cea_edid_modes[]
We're going to need two cea mode tables (one for VICs < 128,
another one for VICs >= 193). To that end replace the direct
edid_cea_modes[] lookups with a function call. And we'll rename
the array to edid_cea_modes_0[] to indicate how it's to be
indexed.
v2: Fix typos (Tom)
Drop the pointless NULL checks in the loops (Tom)
Assign when declaring (Tom)
Improve the comment for cea_modes_*[] to indicate
that one should always use cea_mode_for_vic() (Tom)
Cc: Tom Anderson <thomasanderson@google.com>
Cc: Hans Verkuil <hansverk@cisco.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213174348.27261-2-ville.syrjala@linux.intel.com
Reviewed-by: Thomas Anderson <thomasanderson@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions