Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/sdma5.2: adjust SDMA limits

SDMA 5.2.x has increased transfer limits.

v2: fix harder, use shifts to make it more obvious
v3: align const fill with PAL limits
v4: re-align with hw limits

Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
··· 2045 2045 } 2046 2046 2047 2047 static const struct amdgpu_buffer_funcs sdma_v5_2_buffer_funcs = { 2048 - .copy_max_bytes = 0x400000, 2048 + .copy_max_bytes = 1 << 30, 2049 2049 .copy_num_dw = 7, 2050 2050 .emit_copy_buffer = sdma_v5_2_emit_copy_buffer, 2051 2051 2052 - .fill_max_bytes = 0x400000, 2052 + .fill_max_bytes = 1 << 30, /* HW supports 1 << 30, but PAL uses 1 << 22 */ 2053 2053 .fill_num_dw = 5, 2054 2054 .emit_fill_buffer = sdma_v5_2_emit_fill_buffer, 2055 2055 };