exynos4: hwc: fix stride when using G2D

Change-Id: I52677b41d1753fad405124c90477fa71c9dd255b
This commit is contained in:
Simon Shields 2017-10-13 13:59:18 +11:00 committed by Shilin Victor
parent a2b4252873
commit 188028e3ca

View file

@ -1006,7 +1006,7 @@ static int post_fimd(hwc_context_t *ctx, hwc_display_contents_1_t* contents)
private_handle_t* dst_hnd = private_handle_t::dynamicCast(win.dst_buf[win.current_buf]);
config[window].phys_addr = dst_hnd->paddr;
config[window].offset = 0;
config[window].stride = EXYNOS4_ALIGN(config[window].w,16) * 4;
config[window].stride = win.g2d_dst_img.stride;
}
break;