summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorXu Yang <xu.yang_2@nxp.com>2024-09-23 16:12:02 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-04 15:13:58 +0200
commitca8d18aa7b0f22d66a3ca9a90d8f73431b8eca89 (patch)
treec768124fdbfd519ed302a1351c92835ae21b04d6 /drivers/gpu/drm/amd/amdgpu/atom.c
parentec841b8d73cff37f8960e209017efe1eb2fb21f2 (diff)
usb: chipidea: udc: limit usb request length to max 16KB
To let the device controller work properly on short packet limitations, one usb request should only correspond to one dTD. Then every dTD will set IOC. In theory, each dTD support up to 20KB data transfer if the offset is 0. Due to we cannot predetermine the offset, this will limit the usb request length to max 16KB. This should be fine since most of the user transfer data based on this size policy. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Acked-by: Peter Chen <peter.chen@kernel.org> Link: https://lore.kernel.org/r/20240923081203.2851768-2-xu.yang_2@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions