MGS-4868 [#ccc] enable userspace register read
authorAdrian Negreanu <adrian.negreanu@nxp.com>
Mon, 15 Jul 2019 13:01:24 +0000 (16:01 +0300)
committerXianzhong <xianzhong.li@nxp.com>
Mon, 22 Jul 2019 15:38:51 +0000 (23:38 +0800)
commit8d888cb0a81b8076501ed37f9f88f1b087a0ad31
tree5eddb65a8157a9d04cf7a4c9474c04beec3e4f31
parent48f4982ccc6cbc9e0ae6e7e236a0a6b852e1b0a5
MGS-4868 [#ccc] enable userspace register read

In v6.2.4, userspace register access was controlled by defining
gcdREGISTER_ACCESS_FROM_USER, enabled by default.

This changed in v6.4.0 where gcdREGISTER_ACCESS_FROM_USER is replaced by
gcdREGISTER_READ_FROM_USER and gcdREGISTER_WRITE_FROM_USER,
both disabled by default.

For the moment, gputop uses userspace register access ioctl to
read the GPU performance counters.

Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx.config