mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
drm/rockchip: vop2: add writeback virtual height support
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I6971328ca0c931d884cd093310020f34a48d908c
This commit is contained in:
parent
6c65f4a7e9
commit
6291a1be8f
|
|
@ -3167,7 +3167,7 @@ static int vop2_wb_encoder_atomic_check(struct drm_encoder *encoder,
|
|||
}
|
||||
|
||||
if ((fb->width > cstate->mode.hdisplay) ||
|
||||
((fb->height != cstate->mode.vdisplay) &&
|
||||
((fb->height < cstate->mode.vdisplay) &&
|
||||
(fb->height != (cstate->mode.vdisplay >> 1)))) {
|
||||
DRM_DEBUG_KMS("Invalid framebuffer size %ux%u, Only support x scale down and 1/2 y scale down\n",
|
||||
fb->width, fb->height);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user