diff options
| author | monk.liu <[email protected]> | 2015-09-23 05:49:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-09-23 21:23:45 +0000 |
| commit | 5c3422b0b135b46c8dca9c1d909c1ae84f3561bd (patch) | |
| tree | 98bb55830306ee8e9869dc5a474de3732ed6a86c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: integer overflow in amdgpu_mode_dumb_create() (diff) | |
| download | kernel-5c3422b0b135b46c8dca9c1d909c1ae84f3561bd.tar.gz kernel-5c3422b0b135b46c8dca9c1d909c1ae84f3561bd.zip | |
drm/amdgpu: sync ce and me with SWITCH_BUFFER(2)
we used to adopt wait_reg_mem to let CE wait before DE finish page
updating, but from Tonga+, CE doesn't support wait_reg_mem package so
this logic no longer works.
so here is another approach to do same thing:
Insert two of SWITCH_BUFFER at both front and end of vm_flush can
guarantee that CE not go further to process IB_const before vm_flush
done.
Insert two of SWITCH_BUFFER also works on CI, so remove legency method
to sync CE and ME
v2:
Insert double SWITCH_BUFFER at front of vm flush as well.
Signed-off-by: monk.liu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
