aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-12-11 21:14:04 -0500
committerAlex Deucher <[email protected]>2020-01-16 13:46:13 -0500
commitdee5d542836a911b0175f9cccc25b8f5733e2527 (patch)
treecd14a672f57c38bc1afcdf3e577149a9fa7f77d4 /scripts/gdb/linux/device.py
parentb7408a06733f839c98a9903e204010204452fcd3 (diff)
drm/amd/display: Read inst_fb data back during DMUB loading
[Why] The inst firmware isn't necessarily fully flushed to framebuffer memory and the DMCUB can hang due to invalid inst being parsed. [How] Like the fix to flush ringbuffer commands before updating the inbox write pointer we need to read back inst memory before writing the CW0 registers. Add a helper to read 64-byte chunks to avoid a large temporary buffer. Read the remaining leftover bytes if the inst_fb isn't fully aligned. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Harry Wentland <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions