aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
diff options
context:
space:
mode:
authorSui Jingfeng <[email protected]>2024-11-15 12:32:46 +0000
committerLucas Stach <[email protected]>2024-12-03 17:30:32 +0000
commita807cb22adc490ef33304e52c70ab65b3f19fe20 (patch)
treeb72ed2cd647f6bea54f8172a6def07bf4783fd7f /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
parentdrm/etnaviv: Fix the debug log of the etnaviv_iommu_map() (diff)
downloadkernel-a807cb22adc490ef33304e52c70ab65b3f19fe20.tar.gz
kernel-a807cb22adc490ef33304e52c70ab65b3f19fe20.zip
drm/etnaviv: Improve VA, PA, SIZE alignment checking
Alignment checking is only needed to be done in the upper caller function. If those address and sizes are able to pass the check, it will certainly pass the same test in the etnaviv_context_unmap() function. We don't need examine it more than once. Remove redundant alignment tests, move the those useless to upper caller function. Signed-off-by: Sui Jingfeng <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions