drm/xe: Assume MTL's forcewake register continues to future platforms
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 24 Feb 2023 22:16:01 +0000 (14:16 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:20 +0000 (18:29 -0500)
commitba11f1b7ea5b59fdf58e5dec7b73fa914de65f8d
treef0652721a5b1390890d6a0fd19b46a516f396fcc
parent74f800c7a982db1d10e2c0c0a0164ee1db878652
drm/xe: Assume MTL's forcewake register continues to future platforms

Starting with MTL, the GT forcewake ack register moved from 0x130044 to
0xDFC.  We expect this change to carry forward to future platforms as
well, so forcewake initialization should use an IP version check instead
of matching the MTL platform specifically.

The (re)definition of FORCEWAKE_ACK_GT_MTL in the forcewake file is also
unnecessary; we can take the definition that already exists in the
dedicated register header.

Bspec: 65031, 64629
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_force_wake.c