diff options
| author | 2025-10-12 07:20:01 -0700 | |
|---|---|---|
| committer | 2025-10-23 16:24:35 +0200 | |
| commit | 94a8e2931ed0e04ce00c4da4112ce935ded58c4a (patch) | |
| tree | 8cc77bce00586e9bec8242b79fa0eeefd24e7931 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/draw: fix color truncation in drm_draw_fill24 (diff) | |
drm/rockchip: vop2: use correct destination rectangle height check
[ Upstream commit 7f38a1487555604bc4e210fa7cc9b1bce981c40e ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
