Pass mode->vdisplay as third argument, which is supposed to be display
height, instead of mode->hdisplay. With current code display height will
always be same as display width. Width 360x360 resolution this issue
might not be noticed, but for example with 1440x3040 resolution only half
of display content is visible.
Change-Id: Iba0701f8335005995e9fc482b9523c7c4ec01f80
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
/* 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;