Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/rockchip: Return error code for errors

Instead of silently disabling small planes, refuse to create them at
all.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20251015110042.41273-4-daniels@collabora.com

authored by

Daniel Stone and committed by
Heiko Stuebner
70e3f77c 4bfaa85b

+1 -2
+1 -2
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
··· 1035 1035 drm_dbg_kms(vop2->drm, "Invalid size: %dx%d->%dx%d, min size is 4x4\n", 1036 1036 drm_rect_width(src) >> 16, drm_rect_height(src) >> 16, 1037 1037 drm_rect_width(dest), drm_rect_height(dest)); 1038 - pstate->visible = false; 1039 - return 0; 1038 + return -EINVAL; 1040 1039 } 1041 1040 1042 1041 if (drm_rect_width(src) >> 16 > vop2_data->max_input.width ||