]> 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)
commit8f779f3c6517ccc70bb406acf88672b2545965ee
tree907308e5c9cb9eeec4ee7a9f1c92bb6ee60cfafd
parent4f90753cf65a5cb98e480c83764b0f45597220e9
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