diff options
| author | Dave Airlie <[email protected]> | 2021-04-30 00:28:34 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2021-04-30 00:28:35 +0000 |
| commit | add74e32db0443dfd940d7c3256b9609c65e6149 (patch) | |
| tree | 1a04fb2834c0599e54493ad98221865c83a91621 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | Merge tag 'drm-misc-next-fixes-2021-04-29' of git://anongit.freedesktop.org/d... (diff) | |
| parent | drm/amdgpu/gmc9: remove dummy read workaround for newer chips (diff) | |
| download | kernel-add74e32db0443dfd940d7c3256b9609c65e6149.tar.gz kernel-add74e32db0443dfd940d7c3256b9609c65e6149.zip | |
Merge tag 'amd-drm-next-5.13-2021-04-23' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
amd-drm-next-5.13-2021-04-23:
amdgpu:
- Fixes for Aldebaran
- Display LTTPR fixes
- eDP fixes
- Fixes for Vangogh
- RAS fixes
- ASPM support
- Renoir SMU fixes
- Modifier fixes
- Misc code cleanups
- Freesync fixes
Signed-off-by: Dave Airlie <[email protected]>
From: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index 148a3b481b12..a2fe2dac32c1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c @@ -76,6 +76,8 @@ int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm, } ib->ptr = amdgpu_sa_bo_cpu_addr(ib->sa_bo); + /* flush the cache before commit the IB */ + ib->flags = AMDGPU_IB_FLAG_EMIT_MEM_SYNC; if (!vm) ib->gpu_addr = amdgpu_sa_bo_gpu_addr(ib->sa_bo); |
