MLK-17311-2 gpu: imx: imx8_dprc: No need to round up height to 64
authorMeng Mingming <mingming.meng@nxp.com>
Wed, 27 Dec 2017 02:11:36 +0000 (10:11 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:35 +0000 (14:52 -0500)
It's necessary to make DPR baddr lie on the alignment block,
but no need to round up height to 64.

Signed-off-by: Meng Mingming <mingming.meng@nxp.com>
drivers/gpu/imx/imx8_dprc.c

index 1aedc8f..6afaf6b 100644 (file)
@@ -353,7 +353,7 @@ void dprc_configure(struct dprc *dprc, unsigned int stream_id,
                        p1_w = round_up(width, info->cpp[0] == 2 ? 32 : 16);
                        break;
                }
-               p1_h = round_up(height, modifier ? 64 : 4);
+               p1_h = round_up(height, 4);
        }
 
        dprc_write(dprc, PITCH(stride), FRAME_CTRL0);