diff options
author | 2023-04-25 22:39:08 +0800 | |
---|---|---|
committer | 2023-05-03 22:44:06 -0400 | |
commit | b03f38b9bd90d9eb29951e56f5a4375984c8dffb (patch) | |
tree | 2e1f14edeb7da61f9e5bf48a9d553b96f4782e75 /scripts/generate_rust_analyzer.py | |
parent | drm/amdgpu: Use the default reset when loading or reloading the driver (diff) | |
download | linux-rng-b03f38b9bd90d9eb29951e56f5a4375984c8dffb.tar.xz linux-rng-b03f38b9bd90d9eb29951e56f5a4375984c8dffb.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 <shane.xiao@amd.com>
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Tested-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Reviewed-by: Christian K�nig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions