mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
drm: print framebuffer size when plane check fail
Change-Id: Id51f25e407953cf123444cf961da8a0f8f5745e8 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
parent
31b04cfa69
commit
d199b70013
|
|
@ -752,6 +752,8 @@ static int drm_atomic_plane_check(struct drm_plane *plane,
|
|||
state->src_h >> 16, ((state->src_h & 0xffff) * 15625) >> 10,
|
||||
state->src_x >> 16, ((state->src_x & 0xffff) * 15625) >> 10,
|
||||
state->src_y >> 16, ((state->src_y & 0xffff) * 15625) >> 10);
|
||||
DRM_DEBUG_ATOMIC("framebuffer size[%dx%d]\n",
|
||||
fb_width >> 16, fb_height >> 16);
|
||||
return -ENOSPC;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user