diff options
author | Imre Deak <[email protected]> | 2020-08-05 18:00:56 +0300 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2020-08-17 16:17:03 -0400 |
commit | 05e31dd78e26d8c4d9d0dd68addead8d19c367c2 (patch) | |
tree | 1bcd0387b7961ab5d082858e4dad2e9124980c57 /scripts/gen_compile_commands.py | |
parent | b302a2e68807604af2a5015816c1d117747989b6 (diff) |
drm/i915/tgl: Fix TC-cold block/unblock sequence
The command register is the PCODE MBOX low register not the high one as
described by the spec. This left the system with the TC-cold power state
being blocked all the time. Fix things by using the correct register.
Also to make sure we retry a request for at least 600usec, when the
PCODE MBOX command itself succeeded, but the TC-cold block command
failed, sleep for 1msec unconditionally after any fail.
The change was tested with JTAG register read of the HW/FW's actual
TC-cold state, which reported the expected states after this change.
Tested-by: Nivedita Swaminathan <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions