drm/rockchip: clearly to point out error log
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I9848cdaadcb9aa6b9ccb40f7179a000a1bc6cc00
This commit is contained in:
parent
f8436d0541
commit
eee28ceac9
|
|
@ -660,11 +660,9 @@ static int rockchip_vop_set_plane(struct display_state *state)
|
||||||
int xvir = crtc_state->xvir;
|
int xvir = crtc_state->xvir;
|
||||||
int x_mirror = 0, y_mirror = 0;
|
int x_mirror = 0, y_mirror = 0;
|
||||||
|
|
||||||
if ((crtc_w > crtc_state->max_output.width) ||
|
if (crtc_w > crtc_state->max_output.width) {
|
||||||
(crtc_h > crtc_state->max_output.height)){
|
printf("ERROR: output w[%d] exceeded max width[%d]\n",
|
||||||
printf("Maximum destination %dx%d exceeded\n",
|
crtc_w, crtc_state->max_output.width);
|
||||||
crtc_state->max_output.width,
|
|
||||||
crtc_state->max_output.height);
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue