aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2021-06-28 13:59:37 +0000
committerMike Snitzer <[email protected]>2021-06-28 20:30:13 +0000
commit5c0de3d72f8c05678ed769bea24e98128f7ab570 (patch)
tree9d41547dfdf367e5969af1244180d48564a1cc5b /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
parentdm writecache: pause writeback if cache full and origin being written directly (diff)
downloadkernel-5c0de3d72f8c05678ed769bea24e98128f7ab570.tar.gz
kernel-5c0de3d72f8c05678ed769bea24e98128f7ab570.zip
dm writecache: make writeback pause configurable
Commit 95b88f4d71cb953e02206be3c757083601391a0f ("dm writecache: pause writeback if cache full and origin being written directly") introduced a code that pauses cache flushing if we are issuing writes directly to the origin. Improve that initial commit by making the timeout code configurable (via the option "pause_writeback"). Also change the default from 1s to 3s because it performed better. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
0 files changed, 0 insertions, 0 deletions