ipp_req.src0.CbrMst = yuv_phy[1];
ipp_req.src0.w = var->xres;
ipp_req.src0.h = var->yres;
+
+ ipp_req.src_vir_w= (var->xres + 15) & (~15);
+ ipp_req.dst_vir_w=screen->x_res;
ipp_req.dst0.fmt = 3;
ipp_req.dst0.YrgbMst = inf->fb0->fix.mmio_start + screen->x_res*screen->y_res*2*dstoffset;
// ipp_req.dst0.w = var->yres;
// ipp_req.dst0.h = var->xres;
// }
- ipp_req.src_vir_w = ipp_req.src0.w;
- ipp_req.dst_vir_w = ipp_req.dst0.w;
+ //ipp_req.src_vir_w = ipp_req.src0.w;
+ //ipp_req.dst_vir_w = ipp_req.dst0.w;
ipp_req.timeout = 100;
if(var->rotate == 90)
ipp_req.flag = IPP_ROT_90;
ipp_req.src0.fmt = 3;
ipp_req.src0.YrgbMst = yuv_phy[0];
ipp_req.src0.CbrMst = yuv_phy[1];
- ipp_req.src0.w = var->xres;
- ipp_req.src0.h = var->yres;
+ ipp_req.src0.w = var->xres ;
+ ipp_req.src0.h = var->yres ;
+ ipp_req.src_vir_w= (var->xres + 15) & (~15);
+ ipp_req.dst_vir_w=screen->x_res;
ipp_req.dst0.fmt = 3;
ipp_req.dst0.YrgbMst = inf->fb0->fix.mmio_start + screen->x_res*screen->y_res*2*dstoffset;
// ipp_req.dst0.w = var->yres;
// ipp_req.dst0.h = var->xres;
// }
- ipp_req.src_vir_w = ipp_req.src0.w;
- ipp_req.dst_vir_w = ipp_req.dst0.w;
+ // ipp_req.src_vir_w = ipp_req.src0.w;
+ // ipp_req.dst_vir_w = ipp_req.dst0.w;
ipp_req.timeout = 100;
if(var->rotate == 90)
ipp_req.flag = IPP_ROT_90;