aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-05-10 17:45:17 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2022-05-15 11:07:53 +0100
commitffc8274c21938b30b10fcd6d4fc0feb29c222955 (patch)
treea45f5db55d5859705d92c07fcd10b0646a74fef2 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parent9a5681710740e496ee8b08004ddf2c212b76b36a (diff)
selftests/arm64: Allow zero tags in mte_switch_mode()
mte_switch_mode() currently rejects attempts to set a zero tag however there are tests such as check_tags_inclusion which attempt to cover cases with zero tags using mte_switch_mode(). Since it is not clear why we are rejecting zero tags change the test to accept them. The issue has not previously been as apparent as it should be since the return value of mte_switch_mode() was not always checked in the callers and the tests weren't otherwise failing. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20220510164520.768783-3-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions