diff options
| author | Shane Xiao <[email protected]> | 2023-04-25 14:39:08 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:22:55 +0000 |
| commit | 1c312e816c4088d183c41b5d944f89775f3789bd (patch) | |
| tree | 117a4a6506ed4f16e31272887a7321f7bd450e37 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c | |
| parent | drm/amd/amdgpu: Fix style errors in amdgpu_display.c (diff) | |
| download | kernel-1c312e816c4088d183c41b5d944f89775f3789bd.tar.gz kernel-1c312e816c4088d183c41b5d944f89775f3789bd.zip | |
drm/amdgpu: Enable doorbell selfring after resize FB BAR
[Why]
The selfring doorbell aperture will change when resize FB
BAR successfully during gmc sw init, we should reorder
the sequence of enabling doorbell selfring aperture.
[How]
Move enable_doorbell_selfring_aperture from *_common_hw_init
to *_common_late_init.
This fixes the potential issue that GPU ring its own
doorbell when this device is in translated mode when
iommu is on.
v2: Remove *_enable_doorbell_aperture functions (Christian)
v3: Add comments to note that why we need enable doorbell
selfring late (Christian)
Signed-off-by: Shane Xiao <[email protected]>
Signed-off-by: Aaron Liu <[email protected]>
Tested-by: Xiaomeng Hou <[email protected]>
Reviewed-by: Christian K�nig <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions
