AnsweredAssumed Answered

imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000

Question asked by shalan yang on Apr 18, 2018
Latest reply on Apr 18, 2018 by shalan yang

HI ,

    we are use imx8qxp ,when I use lvds show logo,the picture can show ,but have some error msg,follow:

    
[ 9.715977] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000
[ 9.785750] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000
[ 9.851739] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000
[ 9.917742] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000
[ 9.983571] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000
[ 10.049798] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000
[ 10.116146] imx8-prg 56070000.prg: unsupported crop line 720 for modifier 0x0000000000000000

 

 

I found it print in drivers/gpu/imx/imx8_dprc.c 

void prg_configure(struct prg *prg, unsigned int width, unsigned int height,
unsigned int x_offset, unsigned int y_offset,
unsigned int stride, unsigned int bits_per_pixel,
unsigned long baddr, u32 format, u64 modifier,
bool start)

{

...............

if (y_offset >
((format == DRM_FORMAT_NV21 || format == DRM_FORMAT_NV12) ?
(PRG_HANDSHAKE_8LINES - 1) : (PRG_HANDSHAKE_4LINES - 1))) {
dev_err(prg->dev,
"unsupported crop line %d for modifier 0x%016llx\n",
y_offset, modifier);
return;
}

.......

 

}

 

BSP Version: body#

imx_4.9.51_8qxp_beta

why have this errr msg?

TKS

Outcomes