hwc: fixed size of target window 55/177255/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 26 Apr 2018 11:50:10 +0000 (20:50 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 26 Apr 2018 11:50:35 +0000 (20:50 +0900)
Change-Id: I841c800bef6121e8cf29b74160d6d04a169b7300

src/tdm_exynos_output.c

index a55fc2656ac7f6c3c4d8074a83fea28c514bf897..e4e4fbd9d086c7f5d9c3a3857c6ff2585552cacb 100644 (file)
@@ -971,7 +971,7 @@ exynos_output_set_mode(tdm_output *output, const tdm_output_mode *mode)
 
        /* create or replace the target_window when the output mode is set */
        if (output_data->hwc_enable) {
-               ret = exynos_hwc_initailize_target_window(output_data->hwc_data, mode->hdisplay, mode->hdisplay);
+               ret = exynos_hwc_initailize_target_window(output_data->hwc_data, mode->hdisplay, mode->vdisplay);
                if (ret != TDM_ERROR_NONE) {
                        TDM_ERR("create target hwc window failed (%d)", ret);
                        return ret;