diff options
| author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-10-12 07:20:01 -0700 |
|---|---|---|
| committer | Heiko Stuebner <heiko@sntech.de> | 2025-10-14 10:32:17 +0200 |
| commit | 7f38a1487555604bc4e210fa7cc9b1bce981c40e (patch) | |
| tree | 455fdcf644c4dec736fd4d5889e2faf6477192e8 /drivers/infiniband/hw/ionic/ionic_queue.h | |
| parent | 095232711f23179053ca26bcf046ca121a91a465 (diff) | |
drm/rockchip: vop2: use correct destination rectangle height check
The vop2_plane_atomic_check() function incorrectly checks
drm_rect_width(dest) twice instead of verifying both width and height.
Fix the second condition to use drm_rect_height(dest) so that invalid
destination rectangles with height < 4 are correctly rejected.
Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20251012142005.660727-1-alok.a.tiwari@oracle.com
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_queue.h')
0 files changed, 0 insertions, 0 deletions
