Available starting with Mali v12, the SHADER_PWRFEATURES register is a 32-bit register that contains a single bit so far. This bit flag indicates whether the RT cores should be powered up or not.
The name "SHADER_PWRFEATURES" (as opposed to "SHADER_POWER_FEATURES") is taken directly from official hardware documentation. Signed-off-by: Nicolas Frattaroli <[email protected]> --- drivers/gpu/drm/panthor/panthor_regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panthor/panthor_regs.h b/drivers/gpu/drm/panthor/panthor_regs.h index 08bf06c452d6..4c79cec8dc21 100644 --- a/drivers/gpu/drm/panthor/panthor_regs.h +++ b/drivers/gpu/drm/panthor/panthor_regs.h @@ -96,6 +96,8 @@ #define L2_READY 0x160 #define SHADER_PWRON 0x180 +#define SHADER_PWRFEATURES 0x188 +#define SHADER_PWRFEATURES_RT BIT(0) #define TILER_PWRON 0x190 #define L2_PWRON 0x1A0 -- 2.52.0
