mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
drm/amd/display: Add additional pstate registers to HW state query
[WHY] These registers would be useful to know when debugging pstate issues. [HOW] Add additional registers to hw state query. Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Sung Lee <sunglee@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -449,6 +449,12 @@ void hubp3_read_state(struct hubp *hubp)
|
||||
SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height,
|
||||
PTE_ROW_HEIGHT_LINEAR_C, &rq_regs->rq_regs_c.pte_row_height_linear);
|
||||
|
||||
if (REG(UCLK_PSTATE_FORCE))
|
||||
s->uclk_pstate_force = REG_READ(UCLK_PSTATE_FORCE);
|
||||
|
||||
if (REG(DCHUBP_CNTL))
|
||||
s->hubp_cntl = REG_READ(DCHUBP_CNTL);
|
||||
|
||||
}
|
||||
|
||||
void hubp3_setup(
|
||||
|
||||
Reference in New Issue
Block a user