MGS-4975 [#imx-1542] fix incomplete dump for gpu command buffer
authorXianzhong <xianzhong.li@nxp.com>
Thu, 20 Jun 2019 17:21:05 +0000 (01:21 +0800)
committerXianzhong <xianzhong.li@nxp.com>
Thu, 20 Jun 2019 17:43:14 +0000 (01:43 +0800)
commitb4970ebf56d0ee81c4d930b2ce1178aa5bb329dc
tree26d6fb404588e2ef944f5e986dae209f801483a2
parentc63d4527d3108a68207187e5d023880976254218
MGS-4975 [#imx-1542] fix incomplete dump for gpu command buffer

gpu dump address is aligned with 4096, but dump size is up to 1024,
that causes command dump incomplete around gpu address.

fix gpu dump size with 4096 upper limit.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c