drm/xe: Extend rpX values extraction for future platforms
authorBadal Nilawar <badal.nilawar@intel.com>
Wed, 25 Oct 2023 16:12:01 +0000 (21:42 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:43:22 +0000 (11:43 -0500)
commit8a93b0b4d1105b7d03b4768f1a08145b24cbd52a
tree7385aea8e96ad0f104280378ff37868f2ecf5c30
parent83af834e711ce779afb1ee6a28977b3e4b164354
drm/xe: Extend rpX values extraction for future platforms

In existing code flow for future platforms i.e. >1270, the rpX
(rp0,rpn and rpe) fused values are read from gen 6 registers.
Which is not correct. Unless specified gen 1270 regs should be valid
for gen 1270+ platforms as well.

Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc_pc.c