Commit ccce29ab authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/psp: use define rather than magic number for mode1 reset

Use the define rather than hardcoded value.
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 85744e9c
......@@ -590,7 +590,7 @@ static int psp_v3_1_mode1_reset(struct psp_context *psp)
}
/*send the mode 1 reset command*/
WREG32(offset, 0x70000);
WREG32(offset, GFX_CTRL_CMD_ID_MODE1_RST);
mdelay(1000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment