aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2022-07-08 18:18:02 +0300
committerThierry Reding <[email protected]>2022-07-08 17:36:26 +0200
commit8c92243d9e68a93dd282fa2151b67b5c0e31e957 (patch)
tree58569e3cd9e609c259ea50c00059c58b4431a206 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent5b7239c17ce29b4ffea90a5731d56bd8a3893960 (diff)
gpu: host1x: Generalize host1x_cdma_push_wide()
host1x_cdma_push_wide() had the assumptions that the last parameter word was a NOP opcode, and that NOP opcodes could be used in all situations. Neither are true with the new job opcode sequence, so adjust the function to not have these assumptions, and instead place an early RESTART opcode when necessary to jump back to the beginning of the pushbuffer. Signed-off-by: Mikko Perttunen <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions