Change-Id: I11f8753d7493d2b977fd34e3f757fc5a046abafc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
return;
}
- if ((mode->hdisplay != current_mode->hdisplay) || (mode->vdisplay != current_mode->vdisplay)) {
+ if (current_mode && ((mode->hdisplay != current_mode->hdisplay) || (mode->vdisplay != current_mode->vdisplay))) {
LIST_FOR_EACH_ENTRY_SAFE(vb, vbb, &voutput_info->buffer_list, link) {
if (vb->wl_buffer == voutput_info->attach_buffer->wl_buffer)
voutput_info->attach_buffer->need_reset = 1;