diff options
| author | Philipp Zabel <[email protected]> | 2019-08-13 12:39:50 +0000 |
|---|---|---|
| committer | Philipp Zabel <[email protected]> | 2019-08-19 14:25:30 +0000 |
| commit | 5fb8b650cc1170f5e7a0f1a4ab3bb2042c007102 (patch) | |
| tree | abba89342e8ef511b763724afbe33d1c0a420a18 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | gpu: ipu-v3: image-convert: fix image downsize coefficients and tiling calcul... (diff) | |
| download | kernel-5fb8b650cc1170f5e7a0f1a4ab3bb2042c007102.tar.gz kernel-5fb8b650cc1170f5e7a0f1a4ab3bb2042c007102.zip | |
gpu: ipu-v3: image-convert: bail on invalid tile sizes
If we managed to create tiles sized 0x0 because of a bug in the seam
calculation, return with an error message instead of letting the driver
run into a division by zero later. Also check for tile sizes that are
larger than supported by the hardware.
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
