]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: replace unused mask with simple version
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 13 Apr 2021 05:09:56 +0000 (22:09 -0700)
committerJani Nikula <jani.nikula@intel.com>
Wed, 14 Apr 2021 10:05:05 +0000 (13:05 +0300)
commit3e6e4c21df34c16820ca68425f90d5b2741a8a39
tree907308e5c9cb9eeec4ee7a9f1c92bb6ee60cfafd
parent1b9d840682965842ca89079201eefbd2e3195575
drm/i915/selftests: replace unused mask with simple version

Since its introduction 2 years ago, we never used the mask to span more
than one gen. Replace gen_mask a single number and start using the new
GRAPHICS_VER().

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210413051002.92589-7-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/selftest_workarounds.c