diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-08-13 15:39:50 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2019-08-19 17:25:30 +0300 |
commit | 5fb8b650cc1170f5e7a0f1a4ab3bb2042c007102 (patch) | |
tree | abba89342e8ef511b763724afbe33d1c0a420a18 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | de2564c70fcc1dfee89fff92eccba5a711a921cc (diff) | |
download | linux-5fb8b650cc1170f5e7a0f1a4ab3bb2042c007102.tar.xz |
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 <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions