height_src = osd_hw.free_src_data[index].y_end -
osd_hw.free_src_data[index].y_start + 1;
if (height_dst != height_src &&
- osd_hw.free_dst_data[index].y_end < 2159)
+ osd_hw.free_dst_data[index].y_end <
+ osd_hw.vinfo_height[index] - 1)
osd_set_dummy_data(index, 0);
else
osd_set_dummy_data(index, 0xff);
osd_hw.dst_data[index].w = x1 - x0 + 1;
osd_hw.dst_data[index].h = y1 - y0 + 1;
- if (osd_hw.free_dst_data[index].y_end >= 2159)
+ if (osd_hw.free_dst_data[index].y_end >= osd_hw.vinfo_height[index] - 1)
osd_set_dummy_data(index, 0xff);
osd_update_window_axis = true;
if (osd_hw.hwc_enable[output_index] &&
if (((height_dst != height_src) ||
(width_dst != width_src)) &&
- osd_hw.free_dst_data[index].y_end < 2159)
+ osd_hw.free_dst_data[index].y_end <
+ osd_hw.vinfo_height[index] - 1)
osd_set_dummy_data(index, 0);
else
osd_set_dummy_data(index, 0xff);
if ((osd_hw.osd_meson_dev.cpu_id ==
__MESON_CPU_MAJOR_ID_G12A) &&
(height != src_height) &&
- osd_hw.free_dst_data[index].y_end < 2159)
+ osd_hw.free_dst_data[index].y_end <
+ osd_hw.vinfo_height[index] - 1)
osd_set_dummy_data(index, 0);
else
osd_set_dummy_data(index, 0xff);
height_src = osd_hw.free_src_data[index].y_end -
osd_hw.free_src_data[index].y_start + 1;
if (height_dst != height_src &&
- osd_hw.free_dst_data[index].y_end < 2159)
+ osd_hw.free_dst_data[index].y_end <
+ osd_hw.vinfo_height[index] - 1)
osd_set_dummy_data(index, 0);
else
osd_set_dummy_data(index, 0xff);
if (((height_dst != height_src) ||
(width_dst != width_src)) &&
- osd_hw.free_dst_data[index].y_end < 2159)
+ osd_hw.free_dst_data[index].y_end <
+ osd_hw.vinfo_height[index] - 1)
osd_set_dummy_data(index, 0);
else
osd_set_dummy_data(index, 0xff);