]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Translate C-state "reset value" into RC6
authorGustavo Sousa <gustavo.sousa@intel.com>
Tue, 10 Mar 2026 00:42:12 +0000 (21:42 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Tue, 10 Mar 2026 22:18:46 +0000 (19:18 -0300)
commit68bed0d6bfae422b7297c62736fee0134b3b0c24
treeba66ba662373b33b217911a7dae191057dda5159
parent44b512754d168b9ed7b8bc128565150203c9ac38
drm/xe: Translate C-state "reset value" into RC6

There are higher level sleep states that will cause RC6 state readout to
come back with an "in-reset" value. That is the case with NVL-P. As
those states are only possible if the GT is already in C6, let's just
translate the "reset value" into C6 when doing the readout.

Bspec: 67651
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20260309-extra-nvl-p-enabling-patches-v5-7-be9c902ee34e@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_guc_pc.c