OSDN Git Service

drm/amdgpu: use read-modify-write mode for gfx v9_4_3 SQ setting
authorTao Zhou <tao.zhou1@amd.com>
Fri, 25 Aug 2023 07:13:57 +0000 (15:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 22:11:09 +0000 (18:11 -0400)
commite23b10675ac610b26f24a6e8b3eb9bc6d38e5342
treee96f11487bfa96a0a69d28a7497f7d049301705a
parenta1fe9e9f73ce42f8cfcd07b5af221c17b850ebdf
drm/amdgpu: use read-modify-write mode for gfx v9_4_3 SQ setting

Instead of using direct update, avoid touching unrelated fields.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c