]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: program device_cntl2 through pci cfg space
authorFrank Min <Frank.Min@amd.com>
Tue, 21 May 2024 05:08:09 +0000 (13:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 May 2024 19:11:05 +0000 (15:11 -0400)
commit8d7b1496754dcbc7a7155c85d919ad435979a887
tree4b5b3830870b608a8c3f6809cf2ef39fcce30b52
parent19f0edd897f73c4eebb3b5825d8910f0edfa894e
drm/amdgpu: program device_cntl2 through pci cfg space

device_cntl2 is accessible from pci config space, so program it through pci cfg
space instead of mmio.

Signed-off-by: Frank Min <Frank.Min@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c