]> 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)
commit1f92b3909242a74d2338e4f0151834ec8bf50abe
tree907308e5c9cb9eeec4ee7a9f1c92bb6ee60cfafd
parent686650cd9c920fbc574065e3a9d7f08d9e4c49b7
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