summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/scheduler
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-04-12 22:09:58 -0700
committerJani Nikula <jani.nikula@intel.com>2021-04-14 13:05:05 +0300
commit58e0d8a0f529761a77acd220f70ebef38bcc3bfe (patch)
tree0083c7f9a7c31da8996adb9ffb42f9f1fd1d418c /drivers/gpu/drm/scheduler
parent33adf482af73ffdde00a25ba15d22b4047cc78f2 (diff)
downloadlinux-58e0d8a0f529761a77acd220f70ebef38bcc3bfe.tar.bz2
drm/i915: finish removal of gen_mask
Now that it's not used anywhere, remove it from struct intel_device_info. To allow a period in which code will be converted to the new macro, keep IS_GEN_RANGE() around, just redefining it to use the new fields. The size advantage from IS_GEN_RANGE() using a mask is not that big as it has pretty limited use througout the driver: text data bss dec hex filename 2758497 95965 6496 2860958 2ba79e drivers/gpu/drm/i915/i915.ko.old 2758586 95953 6496 2861035 2ba7eb drivers/gpu/drm/i915/i915.ko.new Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> [Jani: Minor code comment change while applying.] Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210413051002.92589-9-lucas.demarchi@intel.com
Diffstat (limited to 'drivers/gpu/drm/scheduler')
0 files changed, 0 insertions, 0 deletions