aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-01-22 15:00:22 +0000
committerAlex Deucher <[email protected]>2021-01-25 22:47:05 +0000
commit5993e79398d35d665b4c84ecb79aba3b83a965cc (patch)
treebc0ed3766c8cc33df0fd3a444775dc330e869d65 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amd/pm: store and reinstate swsmu user power configurations (diff)
downloadkernel-5993e79398d35d665b4c84ecb79aba3b83a965cc.tar.gz
kernel-5993e79398d35d665b4c84ecb79aba3b83a965cc.zip
drm/amdgpu: Fix masking binary not operator on two mask operations
Currently the ! operator is incorrectly being used to flip bits on mask values. Fix this by using the bit-wise ~ operator instead. Addresses-Coverity: ("Logical vs. bitwise operator") Fixes: 3c9a7b7d6e7520 ("drm/amdgpu: update mmhub mgcg&ls for mmhub_v2_3") Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions