diff options
author | Dave Airlie <airlied@redhat.com> | 2021-04-30 10:28:34 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2021-04-30 10:28:35 +1000 |
commit | add74e32db0443dfd940d7c3256b9609c65e6149 (patch) | |
tree | 1a04fb2834c0599e54493ad98221865c83a91621 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | 9b2788dbcef756a77659fa22e6a73bec4a57d126 (diff) | |
parent | 7845d80dda1fd998a34bb1a15ff9aba260a58f32 (diff) | |
download | linux-add74e32db0443dfd940d7c3256b9609c65e6149.tar.gz linux-add74e32db0443dfd940d7c3256b9609c65e6149.tar.bz2 linux-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 <airlied@redhat.com>
From: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423223920.3786-1-alexander.deucher@amd.com
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); |