aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-09-27 20:00:05 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-10-05 01:18:11 +0300
commitdd3abfe4e6b679e4258f922540da2277f962eb1f (patch)
treeff28d4c195f19a002b3fc3bdc42b9031f02349dd /tools/perf/scripts/python/libxed.py
parentdrm/edid: Unconfuse preferred timing stuff a bit (diff)
downloadlinux-dd3abfe4e6b679e4258f922540da2277f962eb1f.tar.gz
linux-dd3abfe4e6b679e4258f922540da2277f962eb1f.zip
drm/edid: Make version checks less convoluted
Get rid of the confusing version_greater() stuff and simply compare edid->revision directly everwhere. Half the places already did it this way, and since we actually reject any EDID with edid->version!=1 it's a perfectly sane thing to do. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220927170006.27855-9-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions