OSDN Git Service

drm/i915/xehp: Use separate sseu init function
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 1 Jun 2022 15:07:20 +0000 (08:07 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 2 Jun 2022 14:18:45 +0000 (07:18 -0700)
commit935a3c66eb9b66426d4be9b54666c77dbe7c32eb
treef031559eba95e15ea4126507ee93c3dc6e61d254
parentce581ae142e24deb27905840fb720fee9b38d7a4
drm/i915/xehp: Use separate sseu init function

Xe_HP has enough fundamental differences from previous platforms that it
makes sense to use a separate SSEU init function to keep things
straightforward and easy to understand.  We'll also add a has_xehp_dss
flag to the SSEU structure that will be used by other upcoming changes.

v2:
 - Add has_xehp_dss flag

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220601150725.521468-2-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_sseu.c
drivers/gpu/drm/i915/gt/intel_sseu.h