]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move calculation of subslices per slice to new function
authorStuart Summers <stuart.summers@intel.com>
Fri, 24 May 2019 15:40:20 +0000 (08:40 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Tue, 28 May 2019 18:19:54 +0000 (11:19 -0700)
commit1f992dbe92cf847c90ccea31745623b637f32dc0
tree6bf0cb21de2d60273e5d3abc3e471dd4c2c304db
parent00a281c1c6bc327132b7308c2c6680e5715f645f
drm/i915: Move calculation of subslices per slice to new function

Add a new function to return the number of subslices per slice to
consolidate code usage.

v2: rebase on changes to move sseu struct to intel_sseu.h
v3: add intel_* prefix to sseu_subslices_per_slice

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190524154022.13575-4-stuart.summers@intel.com
drivers/gpu/drm/i915/gt/intel_sseu.h
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_device_info.c