diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2022-09-13 14:09:56 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2022-09-14 17:32:39 -0700 |
commit | 29a051bd468cba31c227af579a7c57f250570cfa (patch) | |
tree | 4d7c14334222b961713903d1e8465857064ab7b9 /drivers/gpu/drm/i915/display/intel_cursor.c | |
parent | 5d53f4c22d367b214f6f737db5cbe6f4a86db747 (diff) | |
download | linux-29a051bd468cba31c227af579a7c57f250570cfa.tar.bz2 |
drm/i915: Invert if/else ladder for frequency read
Continue converting the driver to the convention of last version first,
extending it to the future platforms. Now, any GRAPHICS_VER >= 11 will
be handled by the first branch.
With the new ranges it's easier to see what platform a branch started to
be taken. Besides the >= 11 change, the branch taken for GRAPHICS_VER == 10
is also different, but currently there is no such platform in i915.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908-if-ladder-v2-1-7a7b15545c93@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cursor.c')
0 files changed, 0 insertions, 0 deletions