summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c
diff options
context:
space:
mode:
authorLaurent Morichetti <laurent.morichetti@amd.com>2020-12-22 11:42:46 -0800
committerAlex Deucher <alexander.deucher@amd.com>2021-03-23 22:56:55 -0400
commitad6cc94a6b59b276eb50553a2a511c91bef45a97 (patch)
treef8c7ed20797dd2451f567f6f7ebe86b638fdf317 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c
parent73ab8efc7fdf683f7415c010990d9a1a16fae464 (diff)
downloadlinux-ad6cc94a6b59b276eb50553a2a511c91bef45a97.tar.gz
linux-ad6cc94a6b59b276eb50553a2a511c91bef45a97.tar.bz2
linux-ad6cc94a6b59b276eb50553a2a511c91bef45a97.zip
drm/amdkfd: Fix saving the ACC vgprs for Aldebaran
get_num_acc_vgprs does not set status.scc if the number of acc vgprs is 0, so use an and instruction to set the condition code. The Aldebaran handler binary was not based on the latest version of the sources, so this update to the binary is the minimal change only adding two instructions to set the condition code. A newer version of the handler should be generated and tested in another commit. Signed-off-by: Laurent Morichetti <laurent.morichetti@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c')
0 files changed, 0 insertions, 0 deletions