]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/gt: remove explicit CNL handling from intel_sseu.c
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 28 Jul 2021 22:03:24 +0000 (15:03 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 29 Jul 2021 17:06:08 +0000 (10:06 -0700)
commit91a197e4e140dcf2a525a43348b87378c9c3a234
tree490b5da6d46b5d19e053a044eac7840c8351d130
parent94fd8400c2a37e88f6f82ef1553bf6336b8569b1
drm/i915/gt: remove explicit CNL handling from intel_sseu.c

CNL is the only platform with GRAPHICS_VER == 10. With its removal we
don't need to handle that version anymore.

Also we can now reduce the max number of slices: the call to
intel_sseu_set_info() with the highest number of slices comes from SKL
and BDW with 3 slices. Recent platforms actually increase the
number of subslices so the number of slices remain 1.

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/20210728220326.1578242-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_sseu.c
drivers/gpu/drm/i915/gt/intel_sseu.h