drm/amdgpu: update golden setting programming logic
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 8 Jun 2018 10:10:57 +0000 (18:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:24 +0000 (18:59 -0500)
commite0d076574e8d904fdd3334ceb04fe1bb9cb5f5c0
tree2a91378d6e517a64b0105544db92971229d617c7
parent6bdadb2072243154e6441bfd789dce1fc941976c
drm/amdgpu: update golden setting programming logic

Since from soc15, make sure only AndMasked bit get changed
when applied or_mask

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/soc15.c