From 418c01275a652a9db3ce8e9ed0e20fbbbc9a8932 Mon Sep 17 00:00:00 2001 From: ZhuangXiaoLiang Date: Mon, 10 Jul 2017 17:09:56 +0800 Subject: [PATCH] RK3368 GPU: Rogue N Init. 1. Init Rogue_DDK_Android_REL_1.8.RTM@4610191_kbuild_overlay.tgz. 2. Add rockchip support for DDK 1.8.RTM@4610191. Change-Id: If89d9656bf8d57b7a3db88b049461d9ebeb9b11a Signed-off-by: ZhuangXiaoLiang --- drivers/staging/Kconfig | 2 + drivers/staging/Makefile | 1 + drivers/staging/imgtec/Kconfig | 14 + drivers/staging/imgtec/Makefile | 9 + drivers/staging/imgtec/adf/adf_ext.h | 99 + drivers/staging/imgtec/adf_common.c | 592 ++ drivers/staging/imgtec/adf_common.h | 78 + drivers/staging/imgtec/adf_fbdev.c | 937 +++ drivers/staging/imgtec/adf_sunxi.c | 1623 +++++ drivers/staging/imgtec/adf_sunxi.h | 86 + drivers/staging/imgtec/apollo/Kconfig | 10 + drivers/staging/imgtec/apollo/Makefile | 8 + drivers/staging/imgtec/apollo/adf_pdp.c | 1189 ++++ drivers/staging/imgtec/apollo/adf_tc5_pdp.c | 1262 ++++ drivers/staging/imgtec/apollo/apollo_drv.c | 2806 +++++++++ drivers/staging/imgtec/apollo/apollo_drv.h | 164 + drivers/staging/imgtec/apollo/apollo_regs.h | 212 + drivers/staging/imgtec/apollo/ion_lma_heap.c | 277 + drivers/staging/imgtec/apollo/ion_lma_heap.h | 55 + .../imgtec/apollo/ion_support_generic.c | 155 + drivers/staging/imgtec/apollo/pci_support.c | 666 ++ drivers/staging/imgtec/apollo/pci_support.h | 91 + drivers/staging/imgtec/apollo/pdp_regs.h | 75 + .../staging/imgtec/apollo/pdp_tc5_fbdc_regs.h | 50 + drivers/staging/imgtec/apollo/pdp_tc5_regs.h | 1072 ++++ drivers/staging/imgtec/apollo/sysconfig.c | 795 +++ drivers/staging/imgtec/apollo/sysinfo.h | 60 + drivers/staging/imgtec/apollo/tcf_clk_ctrl.h | 808 +++ drivers/staging/imgtec/apollo/tcf_pll.h | 311 + .../staging/imgtec/apollo/tcf_rgbpdp_regs.h | 559 ++ drivers/staging/imgtec/config_kernel.h | 96 + drivers/staging/imgtec/debugfs_dma_buf.c | 173 + drivers/staging/imgtec/debugfs_dma_buf.h | 61 + .../staging/imgtec/powervr/buffer_attribs.h | 84 + drivers/staging/imgtec/powervr/mem_types.h | 62 + .../staging/imgtec/powervr/sync_external.h | 86 + drivers/staging/imgtec/pvr_drm.c | 258 + drivers/staging/imgtec/pvr_drv.h | 69 + drivers/staging/imgtec/pvr_platform_drv.c | 269 + drivers/staging/imgtec/pvr_sync.c | 2275 +++++++ drivers/staging/imgtec/pvr_sync.h | 85 + drivers/staging/imgtec/pvrversion.h | 152 + drivers/staging/imgtec/rogue/Kconfig | 31 + drivers/staging/imgtec/rogue/Makefile | 188 + drivers/staging/imgtec/rogue/allocmem.c | 443 ++ drivers/staging/imgtec/rogue/allocmem.h | 176 + drivers/staging/imgtec/rogue/cache_km.c | 2166 +++++++ drivers/staging/imgtec/rogue/cache_km.h | 146 + drivers/staging/imgtec/rogue/cache_ops.h | 70 + .../staging/imgtec/rogue/connection_server.c | 400 ++ .../staging/imgtec/rogue/connection_server.h | 118 + drivers/staging/imgtec/rogue/dbgdriv.c | 1562 +++++ drivers/staging/imgtec/rogue/dbgdriv.h | 120 + drivers/staging/imgtec/rogue/dbgdriv_handle.c | 141 + drivers/staging/imgtec/rogue/dbgdriv_ioctl.h | 58 + drivers/staging/imgtec/rogue/dbgdrvif_srv5.h | 263 + .../staging/imgtec/rogue/debugmisc_server.c | 259 + .../staging/imgtec/rogue/debugmisc_server.h | 108 + drivers/staging/imgtec/rogue/device.h | 392 ++ .../staging/imgtec/rogue/device_connection.h | 75 + drivers/staging/imgtec/rogue/devicemem.c | 2904 +++++++++ drivers/staging/imgtec/rogue/devicemem.h | 651 ++ .../staging/imgtec/rogue/devicemem_heapcfg.c | 144 + .../staging/imgtec/rogue/devicemem_heapcfg.h | 162 + .../imgtec/rogue/devicemem_history_server.c | 2024 ++++++ .../imgtec/rogue/devicemem_history_server.h | 161 + .../imgtec/rogue/devicemem_history_shared.h | 57 + .../staging/imgtec/rogue/devicemem_pdump.c | 334 + .../staging/imgtec/rogue/devicemem_pdump.h | 346 ++ .../staging/imgtec/rogue/devicemem_server.c | 1549 +++++ .../staging/imgtec/rogue/devicemem_server.h | 505 ++ .../imgtec/rogue/devicemem_server_utils.h | 195 + .../staging/imgtec/rogue/devicemem_typedefs.h | 133 + .../staging/imgtec/rogue/devicemem_utils.c | 1059 ++++ .../staging/imgtec/rogue/devicemem_utils.h | 453 ++ drivers/staging/imgtec/rogue/devicememx.h | 176 + .../staging/imgtec/rogue/devicememx_pdump.c | 79 + .../staging/imgtec/rogue/devicememx_pdump.h | 81 + drivers/staging/imgtec/rogue/dllist.h | 272 + drivers/staging/imgtec/rogue/env_connection.h | 118 + drivers/staging/imgtec/rogue/event.c | 363 ++ drivers/staging/imgtec/rogue/event.h | 48 + .../common_breakpoint_bridge.h | 155 + .../server_breakpoint_bridge.c | 455 ++ .../cache_bridge/client_cache_bridge.h | 86 + .../cache_bridge/client_cache_direct_bridge.c | 153 + .../cache_bridge/common_cache_bridge.h | 164 + .../cache_bridge/server_cache_bridge.c | 541 ++ .../generated/cmm_bridge/common_cmm_bridge.h | 118 + .../generated/cmm_bridge/server_cmm_bridge.c | 478 ++ .../common_debugmisc_bridge.h | 195 + .../server_debugmisc_bridge.c | 372 ++ .../client_devicememhistory_bridge.h | 122 + .../client_devicememhistory_direct_bridge.c | 242 + .../common_devicememhistory_bridge.h | 230 + .../server_devicememhistory_bridge.c | 1002 +++ .../dmabuf_bridge/common_dmabuf_bridge.h | 127 + .../dmabuf_bridge/server_dmabuf_bridge.c | 391 ++ .../htbuffer_bridge/client_htbuffer_bridge.h | 78 + .../client_htbuffer_direct_bridge.c | 115 + .../htbuffer_bridge/common_htbuffer_bridge.h | 125 + .../htbuffer_bridge/server_htbuffer_bridge.c | 420 ++ .../generated/mm_bridge/client_mm_bridge.h | 230 + .../mm_bridge/client_mm_direct_bridge.c | 740 +++ .../generated/mm_bridge/common_mm_bridge.h | 718 +++ .../generated/mm_bridge/server_mm_bridge.c | 3248 ++++++++++ .../pdump_bridge/client_pdump_bridge.h | 78 + .../pdump_bridge/client_pdump_direct_bridge.c | 119 + .../pdump_bridge/common_pdump_bridge.h | 126 + .../pdump_bridge/server_pdump_bridge.c | 380 ++ .../client_pdumpctrl_bridge.h | 74 + .../client_pdumpctrl_direct_bridge.c | 114 + .../common_pdumpctrl_bridge.h | 138 + .../server_pdumpctrl_bridge.c | 242 + .../pdumpmm_bridge/client_pdumpmm_bridge.h | 119 + .../client_pdumpmm_direct_bridge.c | 258 + .../pdumpmm_bridge/common_pdumpmm_bridge.h | 248 + .../pdumpmm_bridge/server_pdumpmm_bridge.c | 958 +++ .../pvrtl_bridge/client_pvrtl_bridge.h | 99 + .../pvrtl_bridge/client_pvrtl_direct_bridge.c | 214 + .../pvrtl_bridge/common_pvrtl_bridge.h | 224 + .../pvrtl_bridge/server_pvrtl_bridge.c | 909 +++ .../common_regconfig_bridge.h | 152 + .../server_regconfig_bridge.c | 279 + .../rgxcmp_bridge/common_rgxcmp_bridge.h | 216 + .../rgxcmp_bridge/server_rgxcmp_bridge.c | 1201 ++++ .../common_rgxhwperf_bridge.h | 140 + .../server_rgxhwperf_bridge.c | 427 ++ .../rgxinit_bridge/client_rgxinit_bridge.h | 122 + .../client_rgxinit_direct_bridge.c | 256 + .../rgxinit_bridge/common_rgxinit_bridge.h | 233 + .../common_rgxkicksync_bridge.h | 133 + .../server_rgxkicksync_bridge.c | 720 +++ .../rgxpdump_bridge/client_rgxpdump_bridge.h | 64 + .../client_rgxpdump_direct_bridge.c | 79 + .../rgxpdump_bridge/common_rgxpdump_bridge.h | 96 + .../rgxpdump_bridge/server_rgxpdump_bridge.c | 164 + .../rgxray_bridge/common_rgxray_bridge.h | 281 + .../rgxray_bridge/server_rgxray_bridge.c | 1875 ++++++ .../common_rgxsignals_bridge.h | 79 + .../server_rgxsignals_bridge.c | 190 + .../rgxta3d_bridge/common_rgxta3d_bridge.h | 495 ++ .../rgxta3d_bridge/server_rgxta3d_bridge.c | 2841 +++++++++ .../rgxtq2_bridge/common_rgxtq2_bridge.h | 181 + .../rgxtq2_bridge/server_rgxtq2_bridge.c | 1113 ++++ .../rgxtq_bridge/common_rgxtq_bridge.h | 163 + .../rgxtq_bridge/server_rgxtq_bridge.c | 1417 +++++ .../generated/ri_bridge/client_ri_bridge.h | 106 + .../ri_bridge/client_ri_direct_bridge.c | 245 + .../generated/ri_bridge/common_ri_bridge.h | 259 + .../generated/ri_bridge/server_ri_bridge.c | 990 +++ .../srvcore_bridge/common_srvcore_bridge.h | 327 + .../srvcore_bridge/server_srvcore_bridge.c | 882 +++ .../sync_bridge/client_sync_bridge.h | 166 + .../sync_bridge/client_sync_direct_bridge.c | 522 ++ .../sync_bridge/common_sync_bridge.h | 479 ++ .../sync_bridge/server_sync_bridge.c | 2194 +++++++ .../client_synctracking_bridge.h | 70 + .../client_synctracking_direct_bridge.c | 97 + .../common_synctracking_bridge.h | 101 + .../server_synctracking_bridge.c | 336 + .../common_timerquery_bridge.h | 135 + .../server_timerquery_bridge.c | 232 + drivers/staging/imgtec/rogue/handle.c | 2322 +++++++ drivers/staging/imgtec/rogue/handle.h | 238 + drivers/staging/imgtec/rogue/handle_idr.c | 439 ++ drivers/staging/imgtec/rogue/handle_impl.h | 89 + drivers/staging/imgtec/rogue/hash.c | 701 +++ drivers/staging/imgtec/rogue/hash.h | 229 + drivers/staging/imgtec/rogue/hostfunc.c | 216 + drivers/staging/imgtec/rogue/hostfunc.h | 102 + drivers/staging/imgtec/rogue/htbserver.c | 701 +++ drivers/staging/imgtec/rogue/htbserver.h | 237 + drivers/staging/imgtec/rogue/htbuffer.c | 226 + drivers/staging/imgtec/rogue/htbuffer.h | 129 + drivers/staging/imgtec/rogue/htbuffer_init.h | 115 + drivers/staging/imgtec/rogue/htbuffer_sf.h | 218 + drivers/staging/imgtec/rogue/htbuffer_types.h | 124 + .../hwdefs/km/configs/rgxconfig_km_1.V.2.0.h | 71 + .../hwdefs/km/configs/rgxconfig_km_1.V.2.20.h | 71 + .../hwdefs/km/configs/rgxconfig_km_1.V.2.30.h | 72 + .../hwdefs/km/configs/rgxconfig_km_1.V.2.5.h | 71 + .../hwdefs/km/configs/rgxconfig_km_1.V.4.12.h | 71 + .../hwdefs/km/configs/rgxconfig_km_1.V.4.15.h | 71 + .../hwdefs/km/configs/rgxconfig_km_1.V.4.19.h | 72 + .../hwdefs/km/configs/rgxconfig_km_1.V.4.5.h | 71 + .../hwdefs/km/configs/rgxconfig_km_1.V.4.6.h | 70 + .../km/configs/rgxconfig_km_10.V.2.26.h | 98 + .../km/configs/rgxconfig_km_10.V.4.25.h | 98 + .../km/configs/rgxconfig_km_12.V.1.20.h | 68 + .../km/configs/rgxconfig_km_12.V.1.48.h | 69 + .../km/configs/rgxconfig_km_15.V.1.64.h | 74 + .../km/configs/rgxconfig_km_22.V.208.312.h | 75 + .../km/configs/rgxconfig_km_22.V.208.316.h | 75 + .../km/configs/rgxconfig_km_22.V.21.11.h | 75 + .../km/configs/rgxconfig_km_22.V.21.16.h | 75 + .../km/configs/rgxconfig_km_22.V.22.22.h | 74 + .../km/configs/rgxconfig_km_22.V.22.23.h | 75 + .../km/configs/rgxconfig_km_22.V.22.25.h | 75 + .../km/configs/rgxconfig_km_22.V.22.27.h | 75 + .../km/configs/rgxconfig_km_22.V.22.29.h | 75 + .../km/configs/rgxconfig_km_22.V.54.24.h | 74 + .../km/configs/rgxconfig_km_22.V.54.25.h | 75 + .../km/configs/rgxconfig_km_22.V.54.30.h | 75 + .../km/configs/rgxconfig_km_22.V.54.328.h | 76 + .../km/configs/rgxconfig_km_22.V.54.330.h | 76 + .../hwdefs/km/configs/rgxconfig_km_4.V.2.51.h | 78 + .../hwdefs/km/configs/rgxconfig_km_4.V.2.57.h | 79 + .../hwdefs/km/configs/rgxconfig_km_4.V.2.58.h | 79 + .../hwdefs/km/configs/rgxconfig_km_4.V.4.53.h | 78 + .../hwdefs/km/configs/rgxconfig_km_4.V.4.55.h | 77 + .../hwdefs/km/configs/rgxconfig_km_4.V.6.62.h | 80 + .../hwdefs/km/configs/rgxconfig_km_5.V.1.46.h | 73 + .../hwdefs/km/configs/rgxconfig_km_6.V.4.35.h | 79 + .../hwdefs/km/configs/rgxconfig_km_8.V.2.39.h | 93 + .../hwdefs/km/cores/rgxcore_km_1.33.2.5.h | 76 + .../hwdefs/km/cores/rgxcore_km_1.39.4.19.h | 76 + .../hwdefs/km/cores/rgxcore_km_1.48.2.0.h | 76 + .../hwdefs/km/cores/rgxcore_km_1.72.4.12.h | 74 + .../hwdefs/km/cores/rgxcore_km_1.75.2.20.h | 75 + .../hwdefs/km/cores/rgxcore_km_1.75.2.30.h | 75 + .../hwdefs/km/cores/rgxcore_km_1.76.4.6.h | 76 + .../hwdefs/km/cores/rgxcore_km_1.81.4.15.h | 76 + .../hwdefs/km/cores/rgxcore_km_1.82.4.5.h | 74 + .../hwdefs/km/cores/rgxcore_km_10.22.4.25.h | 79 + .../hwdefs/km/cores/rgxcore_km_10.30.2.26.h | 79 + .../hwdefs/km/cores/rgxcore_km_10.32.4.25.h | 79 + .../hwdefs/km/cores/rgxcore_km_10.33.4.25.h | 79 + .../hwdefs/km/cores/rgxcore_km_12.4.1.48.h | 75 + .../hwdefs/km/cores/rgxcore_km_12.5.1.20.h | 74 + .../hwdefs/km/cores/rgxcore_km_15.5.1.64.h | 74 + .../hwdefs/km/cores/rgxcore_km_22.18.22.22.h | 79 + .../hwdefs/km/cores/rgxcore_km_22.26.54.24.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.28.22.23.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.29.22.27.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.30.54.25.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.32.54.328.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.33.21.11.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.35.22.27.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.40.54.30.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.41.54.330.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.44.22.25.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.45.22.29.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.46.54.330.h | 80 + .../km/cores/rgxcore_km_22.47.208.312.h | 77 + .../hwdefs/km/cores/rgxcore_km_22.48.54.30.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.49.21.16.h | 78 + .../hwdefs/km/cores/rgxcore_km_22.50.22.29.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.55.54.30.h | 79 + .../hwdefs/km/cores/rgxcore_km_22.57.54.30.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.58.22.25.h | 79 + .../hwdefs/km/cores/rgxcore_km_22.59.54.30.h | 79 + .../hwdefs/km/cores/rgxcore_km_22.62.21.16.h | 77 + .../hwdefs/km/cores/rgxcore_km_22.63.54.330.h | 79 + .../hwdefs/km/cores/rgxcore_km_22.67.54.30.h | 80 + .../hwdefs/km/cores/rgxcore_km_22.68.54.30.h | 79 + .../hwdefs/km/cores/rgxcore_km_22.69.22.25.h | 79 + .../km/cores/rgxcore_km_22.70.208.316.h | 77 + .../hwdefs/km/cores/rgxcore_km_4.29.2.51.h | 78 + .../hwdefs/km/cores/rgxcore_km_4.31.4.55.h | 78 + .../hwdefs/km/cores/rgxcore_km_4.40.2.51.h | 78 + .../hwdefs/km/cores/rgxcore_km_4.41.2.57.h | 78 + .../hwdefs/km/cores/rgxcore_km_4.42.4.53.h | 78 + .../hwdefs/km/cores/rgxcore_km_4.43.6.62.h | 78 + .../hwdefs/km/cores/rgxcore_km_4.45.2.58.h | 77 + .../hwdefs/km/cores/rgxcore_km_4.46.6.62.h | 77 + .../hwdefs/km/cores/rgxcore_km_5.11.1.46.h | 75 + .../hwdefs/km/cores/rgxcore_km_5.9.1.46.h | 75 + .../hwdefs/km/cores/rgxcore_km_6.34.4.35.h | 77 + .../hwdefs/km/cores/rgxcore_km_8.47.2.39.h | 79 + .../hwdefs/km/cores/rgxcore_km_8.48.2.39.h | 79 + .../imgtec/rogue/hwdefs/km/rgx_bvnc_defs_km.h | 320 + .../rogue/hwdefs/km/rgx_bvnc_table_km.h | 207 + .../imgtec/rogue/hwdefs/km/rgx_cr_defs_km.h | 5399 +++++++++++++++++ .../imgtec/rogue/hwdefs/km/rgxdefs_km.h | 303 + .../imgtec/rogue/hwdefs/km/rgxmmudefs_km.h | 395 ++ drivers/staging/imgtec/rogue/img_3dtypes.h | 232 + drivers/staging/imgtec/rogue/img_defs.h | 412 ++ drivers/staging/imgtec/rogue/img_types.h | 304 + .../staging/imgtec/rogue/interrupt_support.c | 151 + .../staging/imgtec/rogue/interrupt_support.h | 104 + drivers/staging/imgtec/rogue/ioctl.c | 311 + drivers/staging/imgtec/rogue/ion_support.h | 46 + drivers/staging/imgtec/rogue/ion_sys.h | 60 + .../imgtec/rogue/kernel_compatibility.h | 179 + drivers/staging/imgtec/rogue/kernel_types.h | 136 + drivers/staging/imgtec/rogue/km_apphint.c | 1422 +++++ drivers/staging/imgtec/rogue/km_apphint.h | 151 + .../staging/imgtec/rogue/km_apphint_defs.h | 304 + drivers/staging/imgtec/rogue/linkage.h | 64 + drivers/staging/imgtec/rogue/linuxsrv.h | 56 + drivers/staging/imgtec/rogue/lists.c | 60 + drivers/staging/imgtec/rogue/lists.h | 355 ++ drivers/staging/imgtec/rogue/lock.h | 334 + drivers/staging/imgtec/rogue/lock_types.h | 93 + drivers/staging/imgtec/rogue/log2.h | 225 + drivers/staging/imgtec/rogue/main.c | 253 + drivers/staging/imgtec/rogue/mem_utils.c | 313 + drivers/staging/imgtec/rogue/mm_common.h | 51 + drivers/staging/imgtec/rogue/mmu_common.c | 4122 +++++++++++++ drivers/staging/imgtec/rogue/mmu_common.h | 730 +++ drivers/staging/imgtec/rogue/module_common.c | 584 ++ drivers/staging/imgtec/rogue/module_common.h | 67 + .../staging/imgtec/rogue/os_srvinit_param.h | 71 + .../imgtec/rogue/osconnection_server.c | 157 + .../imgtec/rogue/osconnection_server.h | 120 + drivers/staging/imgtec/rogue/osfunc.c | 1888 ++++++ drivers/staging/imgtec/rogue/osfunc.h | 1708 ++++++ drivers/staging/imgtec/rogue/osfunc_arm.c | 227 + drivers/staging/imgtec/rogue/osfunc_arm64.c | 170 + drivers/staging/imgtec/rogue/osfunc_x86.c | 155 + drivers/staging/imgtec/rogue/oskm_apphint.h | 213 + drivers/staging/imgtec/rogue/osmmap.h | 123 + drivers/staging/imgtec/rogue/osmmap_stub.c | 132 + drivers/staging/imgtec/rogue/pdump.c | 462 ++ drivers/staging/imgtec/rogue/pdump.h | 80 + drivers/staging/imgtec/rogue/pdump_common.c | 3461 +++++++++++ drivers/staging/imgtec/rogue/pdump_km.h | 793 +++ drivers/staging/imgtec/rogue/pdump_mmu.c | 1323 ++++ drivers/staging/imgtec/rogue/pdump_mmu.h | 189 + drivers/staging/imgtec/rogue/pdump_osfunc.h | 365 ++ drivers/staging/imgtec/rogue/pdump_physmem.c | 487 ++ drivers/staging/imgtec/rogue/pdump_physmem.h | 203 + .../staging/imgtec/rogue/pdump_symbolicaddr.h | 55 + drivers/staging/imgtec/rogue/pdumpdefs.h | 206 + drivers/staging/imgtec/rogue/physheap.c | 328 + drivers/staging/imgtec/rogue/physheap.h | 160 + drivers/staging/imgtec/rogue/physmem.c | 367 ++ drivers/staging/imgtec/rogue/physmem.h | 186 + drivers/staging/imgtec/rogue/physmem_dmabuf.c | 1089 ++++ drivers/staging/imgtec/rogue/physmem_dmabuf.h | 108 + drivers/staging/imgtec/rogue/physmem_lma.c | 1655 +++++ drivers/staging/imgtec/rogue/physmem_lma.h | 85 + drivers/staging/imgtec/rogue/physmem_osmem.h | 125 + .../imgtec/rogue/physmem_osmem_linux.c | 3332 ++++++++++ .../imgtec/rogue/physmem_osmem_linux.h | 49 + .../staging/imgtec/rogue/physmem_tdsecbuf.c | 591 ++ .../staging/imgtec/rogue/physmem_tdsecbuf.h | 84 + drivers/staging/imgtec/rogue/pmr.c | 3235 ++++++++++ drivers/staging/imgtec/rogue/pmr.h | 1056 ++++ drivers/staging/imgtec/rogue/pmr_impl.h | 520 ++ drivers/staging/imgtec/rogue/pmr_os.c | 565 ++ drivers/staging/imgtec/rogue/pmr_os.h | 62 + drivers/staging/imgtec/rogue/power.c | 1065 ++++ drivers/staging/imgtec/rogue/power.h | 154 + drivers/staging/imgtec/rogue/private_data.h | 53 + drivers/staging/imgtec/rogue/process_stats.c | 3339 ++++++++++ drivers/staging/imgtec/rogue/process_stats.h | 189 + drivers/staging/imgtec/rogue/pvr_bridge.h | 452 ++ drivers/staging/imgtec/rogue/pvr_bridge_k.c | 996 +++ drivers/staging/imgtec/rogue/pvr_debug.c | 1313 ++++ drivers/staging/imgtec/rogue/pvr_debug.h | 581 ++ drivers/staging/imgtec/rogue/pvr_debugfs.c | 1038 ++++ drivers/staging/imgtec/rogue/pvr_debugfs.h | 109 + drivers/staging/imgtec/rogue/pvr_drm.h | 102 + drivers/staging/imgtec/rogue/pvr_dvfs.h | 133 + .../staging/imgtec/rogue/pvr_dvfs_device.c | 588 ++ .../staging/imgtec/rogue/pvr_dvfs_device.h | 59 + .../staging/imgtec/rogue/pvr_fd_sync_kernel.h | 79 + drivers/staging/imgtec/rogue/pvr_gputrace.c | 338 ++ drivers/staging/imgtec/rogue/pvr_gputrace.h | 125 + drivers/staging/imgtec/rogue/pvr_hwperf.h | 54 + drivers/staging/imgtec/rogue/pvr_intrinsics.h | 70 + drivers/staging/imgtec/rogue/pvr_notifier.c | 482 ++ drivers/staging/imgtec/rogue/pvr_notifier.h | 242 + drivers/staging/imgtec/rogue/pvr_tlcommon.h | 55 + drivers/staging/imgtec/rogue/pvr_uaccess.h | 91 + drivers/staging/imgtec/rogue/pvrmodule.h | 48 + drivers/staging/imgtec/rogue/pvrsrv.c | 2542 ++++++++ drivers/staging/imgtec/rogue/pvrsrv.h | 376 ++ drivers/staging/imgtec/rogue/pvrsrv_apphint.h | 66 + drivers/staging/imgtec/rogue/pvrsrv_cleanup.h | 77 + drivers/staging/imgtec/rogue/pvrsrv_device.h | 275 + .../imgtec/rogue/pvrsrv_device_types.h | 56 + drivers/staging/imgtec/rogue/pvrsrv_devmem.h | 893 +++ drivers/staging/imgtec/rogue/pvrsrv_error.h | 61 + drivers/staging/imgtec/rogue/pvrsrv_errors.h | 375 ++ .../imgtec/rogue/pvrsrv_memallocflags.h | 607 ++ drivers/staging/imgtec/rogue/pvrsrv_sync_km.h | 56 + .../staging/imgtec/rogue/pvrsrv_tlcommon.h | 195 + .../staging/imgtec/rogue/pvrsrv_tlstreams.h | 63 + drivers/staging/imgtec/rogue/ra.c | 1393 +++++ drivers/staging/imgtec/rogue/ra.h | 206 + drivers/staging/imgtec/rogue/rgx_bridge.h | 273 + drivers/staging/imgtec/rogue/rgx_common.h | 181 + .../staging/imgtec/rogue/rgx_compat_bvnc.c | 218 + .../staging/imgtec/rogue/rgx_compat_bvnc.h | 136 + .../imgtec/rogue/rgx_firmware_processor.h | 92 + drivers/staging/imgtec/rogue/rgx_fwif.h | 529 ++ .../imgtec/rogue/rgx_fwif_alignchecks.h | 184 + .../staging/imgtec/rogue/rgx_fwif_hwperf.h | 242 + drivers/staging/imgtec/rogue/rgx_fwif_km.h | 1034 ++++ .../imgtec/rogue/rgx_fwif_resetframework.h | 74 + drivers/staging/imgtec/rogue/rgx_fwif_sf.h | 615 ++ .../staging/imgtec/rogue/rgx_fwif_shared.h | 633 ++ drivers/staging/imgtec/rogue/rgx_fwif_sig.h | 147 + drivers/staging/imgtec/rogue/rgx_heaps.h | 178 + drivers/staging/imgtec/rogue/rgx_hwperf_km.h | 1001 +++ .../staging/imgtec/rogue/rgx_hwperf_table.c | 672 ++ .../staging/imgtec/rogue/rgx_hwperf_table.h | 112 + .../staging/imgtec/rogue/rgx_memallocflags.h | 49 + drivers/staging/imgtec/rogue/rgx_meta.h | 422 ++ drivers/staging/imgtec/rogue/rgx_mips.h | 398 ++ drivers/staging/imgtec/rogue/rgx_options.h | 191 + .../staging/imgtec/rogue/rgx_pdump_panics.h | 68 + drivers/staging/imgtec/rogue/rgx_tq_shared.h | 63 + drivers/staging/imgtec/rogue/rgxapi_km.h | 272 + drivers/staging/imgtec/rogue/rgxbreakpoint.c | 290 + drivers/staging/imgtec/rogue/rgxbreakpoint.h | 141 + drivers/staging/imgtec/rogue/rgxccb.c | 1958 ++++++ drivers/staging/imgtec/rogue/rgxccb.h | 254 + drivers/staging/imgtec/rogue/rgxcompute.c | 697 +++ drivers/staging/imgtec/rogue/rgxcompute.h | 183 + drivers/staging/imgtec/rogue/rgxdebug.c | 4037 ++++++++++++ drivers/staging/imgtec/rogue/rgxdebug.h | 190 + drivers/staging/imgtec/rogue/rgxdevice.h | 578 ++ .../staging/imgtec/rogue/rgxfw_log_helper.h | 88 + .../staging/imgtec/rogue/rgxfwimageutils.c | 978 +++ .../staging/imgtec/rogue/rgxfwimageutils.h | 120 + drivers/staging/imgtec/rogue/rgxfwload.c | 323 + drivers/staging/imgtec/rogue/rgxfwload.h | 72 + drivers/staging/imgtec/rogue/rgxfwutils.c | 5167 ++++++++++++++++ drivers/staging/imgtec/rogue/rgxfwutils.h | 1064 ++++ drivers/staging/imgtec/rogue/rgxheapconfig.h | 160 + drivers/staging/imgtec/rogue/rgxhwperf.c | 3041 ++++++++++ drivers/staging/imgtec/rogue/rgxhwperf.h | 293 + drivers/staging/imgtec/rogue/rgxinit.c | 5026 +++++++++++++++ drivers/staging/imgtec/rogue/rgxinit.h | 314 + drivers/staging/imgtec/rogue/rgxkicksync.c | 436 ++ drivers/staging/imgtec/rogue/rgxkicksync.h | 111 + drivers/staging/imgtec/rogue/rgxlayer.h | 204 + drivers/staging/imgtec/rogue/rgxlayer_impl.c | 163 + drivers/staging/imgtec/rogue/rgxlayer_impl.h | 56 + drivers/staging/imgtec/rogue/rgxlayer_km.h | 595 ++ .../staging/imgtec/rogue/rgxlayer_km_impl.c | 719 +++ .../staging/imgtec/rogue/rgxlayer_km_impl.h | 66 + drivers/staging/imgtec/rogue/rgxmem.c | 730 +++ drivers/staging/imgtec/rogue/rgxmem.h | 103 + drivers/staging/imgtec/rogue/rgxmipsmmuinit.c | 920 +++ drivers/staging/imgtec/rogue/rgxmipsmmuinit.h | 127 + drivers/staging/imgtec/rogue/rgxmmuinit.c | 1068 ++++ drivers/staging/imgtec/rogue/rgxmmuinit.h | 60 + drivers/staging/imgtec/rogue/rgxpdump.c | 349 ++ drivers/staging/imgtec/rogue/rgxpdump.h | 118 + drivers/staging/imgtec/rogue/rgxpdvfs.c | 233 + drivers/staging/imgtec/rogue/rgxpdvfs.h | 64 + drivers/staging/imgtec/rogue/rgxpower.c | 964 +++ drivers/staging/imgtec/rogue/rgxpower.h | 245 + drivers/staging/imgtec/rogue/rgxray.c | 2940 +++++++++ drivers/staging/imgtec/rogue/rgxray.h | 367 ++ drivers/staging/imgtec/rogue/rgxregconfig.c | 262 + drivers/staging/imgtec/rogue/rgxregconfig.h | 130 + drivers/staging/imgtec/rogue/rgxscript.h | 173 + drivers/staging/imgtec/rogue/rgxsignals.c | 96 + drivers/staging/imgtec/rogue/rgxsignals.h | 72 + drivers/staging/imgtec/rogue/rgxsrvinit.c | 2231 +++++++ .../staging/imgtec/rogue/rgxsrvinit_script.c | 549 ++ .../staging/imgtec/rogue/rgxsrvinit_script.h | 333 + drivers/staging/imgtec/rogue/rgxstartstop.c | 1128 ++++ drivers/staging/imgtec/rogue/rgxstartstop.h | 84 + drivers/staging/imgtec/rogue/rgxta3d.c | 3797 ++++++++++++ drivers/staging/imgtec/rogue/rgxta3d.h | 475 ++ drivers/staging/imgtec/rogue/rgxtdmtransfer.c | 814 +++ drivers/staging/imgtec/rogue/rgxtdmtransfer.h | 123 + drivers/staging/imgtec/rogue/rgxtimecorr.c | 448 ++ drivers/staging/imgtec/rogue/rgxtimecorr.h | 189 + drivers/staging/imgtec/rogue/rgxtimerquery.c | 229 + drivers/staging/imgtec/rogue/rgxtimerquery.h | 135 + drivers/staging/imgtec/rogue/rgxtransfer.c | 1175 ++++ drivers/staging/imgtec/rogue/rgxtransfer.h | 155 + drivers/staging/imgtec/rogue/rgxutils.c | 480 ++ drivers/staging/imgtec/rogue/rgxutils.h | 204 + drivers/staging/imgtec/rogue/rgxworkest.c | 517 ++ drivers/staging/imgtec/rogue/rgxworkest.h | 96 + drivers/staging/imgtec/rogue/ri_server.c | 1699 ++++++ drivers/staging/imgtec/rogue/ri_server.h | 108 + drivers/staging/imgtec/rogue/ri_typedefs.h | 55 + drivers/staging/imgtec/rogue/rk3368/Kbuild.mk | 46 + drivers/staging/imgtec/rogue/rk3368/rk_init.c | 2167 +++++++ drivers/staging/imgtec/rogue/rk3368/rk_init.h | 236 + .../staging/imgtec/rogue/rk3368/rk_init_v2.c | 789 +++ .../staging/imgtec/rogue/rk3368/rk_init_v2.h | 99 + .../staging/imgtec/rogue/rk3368/sysconfig.c | 280 + .../staging/imgtec/rogue/rk3368/sysconfig.h | 74 + drivers/staging/imgtec/rogue/rk3368/sysinfo.h | 58 + .../staging/imgtec/rogue/rogue_trace_events.h | 433 ++ drivers/staging/imgtec/rogue/services_km.h | 141 + drivers/staging/imgtec/rogue/servicesext.h | 171 + drivers/staging/imgtec/rogue/srvcore.c | 1430 +++++ drivers/staging/imgtec/rogue/srvcore.h | 208 + drivers/staging/imgtec/rogue/srvinit.h | 69 + drivers/staging/imgtec/rogue/srvinit_osfunc.h | 90 + drivers/staging/imgtec/rogue/srvinit_pdump.c | 62 + drivers/staging/imgtec/rogue/srvinit_pdump.h | 85 + drivers/staging/imgtec/rogue/srvkm.h | 141 + drivers/staging/imgtec/rogue/sync.c | 2058 +++++++ drivers/staging/imgtec/rogue/sync.h | 400 ++ .../staging/imgtec/rogue/sync_checkpoint.c | 1197 ++++ .../staging/imgtec/rogue/sync_checkpoint.h | 293 + .../imgtec/rogue/sync_checkpoint_external.h | 73 + .../imgtec/rogue/sync_checkpoint_internal.h | 159 + .../rogue/sync_checkpoint_internal_fw.h | 63 + drivers/staging/imgtec/rogue/sync_internal.h | 128 + drivers/staging/imgtec/rogue/sync_server.c | 2133 +++++++ drivers/staging/imgtec/rogue/sync_server.h | 364 ++ .../imgtec/rogue/sync_server_internal.h | 51 + drivers/staging/imgtec/rogue/syscommon.h | 124 + drivers/staging/imgtec/rogue/sysvalidation.h | 63 + drivers/staging/imgtec/rogue/tlclient.c | 471 ++ drivers/staging/imgtec/rogue/tlclient.h | 232 + drivers/staging/imgtec/rogue/tlintern.c | 487 ++ drivers/staging/imgtec/rogue/tlintern.h | 283 + drivers/staging/imgtec/rogue/tlserver.c | 662 ++ drivers/staging/imgtec/rogue/tlserver.h | 100 + drivers/staging/imgtec/rogue/tlstream.c | 1032 ++++ drivers/staging/imgtec/rogue/tlstream.h | 404 ++ drivers/staging/imgtec/rogue/trace_events.c | 197 + drivers/staging/imgtec/rogue/trace_events.h | 154 + .../imgtec/rogue/uniq_key_splay_tree.c | 244 + .../imgtec/rogue/uniq_key_splay_tree.h | 86 + .../staging/imgtec/services_kernel_client.h | 180 + 521 files changed, 224688 insertions(+) create mode 100644 drivers/staging/imgtec/Kconfig create mode 100644 drivers/staging/imgtec/Makefile create mode 100644 drivers/staging/imgtec/adf/adf_ext.h create mode 100644 drivers/staging/imgtec/adf_common.c create mode 100644 drivers/staging/imgtec/adf_common.h create mode 100644 drivers/staging/imgtec/adf_fbdev.c create mode 100644 drivers/staging/imgtec/adf_sunxi.c create mode 100644 drivers/staging/imgtec/adf_sunxi.h create mode 100644 drivers/staging/imgtec/apollo/Kconfig create mode 100644 drivers/staging/imgtec/apollo/Makefile create mode 100644 drivers/staging/imgtec/apollo/adf_pdp.c create mode 100644 drivers/staging/imgtec/apollo/adf_tc5_pdp.c create mode 100644 drivers/staging/imgtec/apollo/apollo_drv.c create mode 100644 drivers/staging/imgtec/apollo/apollo_drv.h create mode 100644 drivers/staging/imgtec/apollo/apollo_regs.h create mode 100644 drivers/staging/imgtec/apollo/ion_lma_heap.c create mode 100644 drivers/staging/imgtec/apollo/ion_lma_heap.h create mode 100644 drivers/staging/imgtec/apollo/ion_support_generic.c create mode 100644 drivers/staging/imgtec/apollo/pci_support.c create mode 100644 drivers/staging/imgtec/apollo/pci_support.h create mode 100644 drivers/staging/imgtec/apollo/pdp_regs.h create mode 100644 drivers/staging/imgtec/apollo/pdp_tc5_fbdc_regs.h create mode 100644 drivers/staging/imgtec/apollo/pdp_tc5_regs.h create mode 100644 drivers/staging/imgtec/apollo/sysconfig.c create mode 100644 drivers/staging/imgtec/apollo/sysinfo.h create mode 100644 drivers/staging/imgtec/apollo/tcf_clk_ctrl.h create mode 100644 drivers/staging/imgtec/apollo/tcf_pll.h create mode 100644 drivers/staging/imgtec/apollo/tcf_rgbpdp_regs.h create mode 100644 drivers/staging/imgtec/config_kernel.h create mode 100644 drivers/staging/imgtec/debugfs_dma_buf.c create mode 100644 drivers/staging/imgtec/debugfs_dma_buf.h create mode 100644 drivers/staging/imgtec/powervr/buffer_attribs.h create mode 100644 drivers/staging/imgtec/powervr/mem_types.h create mode 100644 drivers/staging/imgtec/powervr/sync_external.h create mode 100644 drivers/staging/imgtec/pvr_drm.c create mode 100644 drivers/staging/imgtec/pvr_drv.h create mode 100644 drivers/staging/imgtec/pvr_platform_drv.c create mode 100644 drivers/staging/imgtec/pvr_sync.c create mode 100644 drivers/staging/imgtec/pvr_sync.h create mode 100644 drivers/staging/imgtec/pvrversion.h create mode 100644 drivers/staging/imgtec/rogue/Kconfig create mode 100644 drivers/staging/imgtec/rogue/Makefile create mode 100644 drivers/staging/imgtec/rogue/allocmem.c create mode 100644 drivers/staging/imgtec/rogue/allocmem.h create mode 100644 drivers/staging/imgtec/rogue/cache_km.c create mode 100644 drivers/staging/imgtec/rogue/cache_km.h create mode 100644 drivers/staging/imgtec/rogue/cache_ops.h create mode 100644 drivers/staging/imgtec/rogue/connection_server.c create mode 100644 drivers/staging/imgtec/rogue/connection_server.h create mode 100644 drivers/staging/imgtec/rogue/dbgdriv.c create mode 100644 drivers/staging/imgtec/rogue/dbgdriv.h create mode 100644 drivers/staging/imgtec/rogue/dbgdriv_handle.c create mode 100644 drivers/staging/imgtec/rogue/dbgdriv_ioctl.h create mode 100644 drivers/staging/imgtec/rogue/dbgdrvif_srv5.h create mode 100644 drivers/staging/imgtec/rogue/debugmisc_server.c create mode 100644 drivers/staging/imgtec/rogue/debugmisc_server.h create mode 100644 drivers/staging/imgtec/rogue/device.h create mode 100644 drivers/staging/imgtec/rogue/device_connection.h create mode 100644 drivers/staging/imgtec/rogue/devicemem.c create mode 100644 drivers/staging/imgtec/rogue/devicemem.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_heapcfg.c create mode 100644 drivers/staging/imgtec/rogue/devicemem_heapcfg.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_history_server.c create mode 100644 drivers/staging/imgtec/rogue/devicemem_history_server.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_history_shared.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_pdump.c create mode 100644 drivers/staging/imgtec/rogue/devicemem_pdump.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_server.c create mode 100644 drivers/staging/imgtec/rogue/devicemem_server.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_server_utils.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_typedefs.h create mode 100644 drivers/staging/imgtec/rogue/devicemem_utils.c create mode 100644 drivers/staging/imgtec/rogue/devicemem_utils.h create mode 100644 drivers/staging/imgtec/rogue/devicememx.h create mode 100644 drivers/staging/imgtec/rogue/devicememx_pdump.c create mode 100644 drivers/staging/imgtec/rogue/devicememx_pdump.h create mode 100644 drivers/staging/imgtec/rogue/dllist.h create mode 100644 drivers/staging/imgtec/rogue/env_connection.h create mode 100644 drivers/staging/imgtec/rogue/event.c create mode 100644 drivers/staging/imgtec/rogue/event.h create mode 100644 drivers/staging/imgtec/rogue/generated/breakpoint_bridge/common_breakpoint_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/breakpoint_bridge/server_breakpoint_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/cache_bridge/client_cache_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/cache_bridge/client_cache_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/cache_bridge/common_cache_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/cache_bridge/server_cache_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/cmm_bridge/common_cmm_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/cmm_bridge/server_cmm_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/debugmisc_bridge/common_debugmisc_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/debugmisc_bridge/server_debugmisc_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/devicememhistory_bridge/client_devicememhistory_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/devicememhistory_bridge/client_devicememhistory_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/devicememhistory_bridge/common_devicememhistory_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/devicememhistory_bridge/server_devicememhistory_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/dmabuf_bridge/common_dmabuf_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/dmabuf_bridge/server_dmabuf_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/htbuffer_bridge/client_htbuffer_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/htbuffer_bridge/client_htbuffer_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/htbuffer_bridge/common_htbuffer_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/htbuffer_bridge/server_htbuffer_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/mm_bridge/client_mm_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/mm_bridge/client_mm_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/mm_bridge/common_mm_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/mm_bridge/server_mm_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pdump_bridge/client_pdump_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pdump_bridge/client_pdump_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pdump_bridge/common_pdump_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pdump_bridge/server_pdump_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpctrl_bridge/client_pdumpctrl_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpctrl_bridge/client_pdumpctrl_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpctrl_bridge/common_pdumpctrl_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpctrl_bridge/server_pdumpctrl_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpmm_bridge/client_pdumpmm_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpmm_bridge/client_pdumpmm_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpmm_bridge/common_pdumpmm_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pdumpmm_bridge/server_pdumpmm_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pvrtl_bridge/client_pvrtl_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pvrtl_bridge/client_pvrtl_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/pvrtl_bridge/common_pvrtl_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/pvrtl_bridge/server_pvrtl_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/regconfig_bridge/common_regconfig_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/regconfig_bridge/server_regconfig_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxcmp_bridge/common_rgxcmp_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxcmp_bridge/server_rgxcmp_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxhwperf_bridge/common_rgxhwperf_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxhwperf_bridge/server_rgxhwperf_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxinit_bridge/client_rgxinit_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxinit_bridge/client_rgxinit_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxinit_bridge/common_rgxinit_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxkicksync_bridge/common_rgxkicksync_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxkicksync_bridge/server_rgxkicksync_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxpdump_bridge/client_rgxpdump_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxpdump_bridge/client_rgxpdump_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxpdump_bridge/common_rgxpdump_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxpdump_bridge/server_rgxpdump_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxray_bridge/common_rgxray_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxray_bridge/server_rgxray_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxsignals_bridge/common_rgxsignals_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxsignals_bridge/server_rgxsignals_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxta3d_bridge/common_rgxta3d_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxta3d_bridge/server_rgxta3d_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxtq2_bridge/common_rgxtq2_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxtq2_bridge/server_rgxtq2_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/rgxtq_bridge/common_rgxtq_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/rgxtq_bridge/server_rgxtq_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/ri_bridge/client_ri_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/ri_bridge/client_ri_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/ri_bridge/common_ri_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/ri_bridge/server_ri_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/srvcore_bridge/common_srvcore_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/srvcore_bridge/server_srvcore_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/sync_bridge/client_sync_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/sync_bridge/client_sync_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/sync_bridge/common_sync_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/sync_bridge/server_sync_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/synctracking_bridge/client_synctracking_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/synctracking_bridge/client_synctracking_direct_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/synctracking_bridge/common_synctracking_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/synctracking_bridge/server_synctracking_bridge.c create mode 100644 drivers/staging/imgtec/rogue/generated/timerquery_bridge/common_timerquery_bridge.h create mode 100644 drivers/staging/imgtec/rogue/generated/timerquery_bridge/server_timerquery_bridge.c create mode 100644 drivers/staging/imgtec/rogue/handle.c create mode 100644 drivers/staging/imgtec/rogue/handle.h create mode 100644 drivers/staging/imgtec/rogue/handle_idr.c create mode 100644 drivers/staging/imgtec/rogue/handle_impl.h create mode 100644 drivers/staging/imgtec/rogue/hash.c create mode 100644 drivers/staging/imgtec/rogue/hash.h create mode 100644 drivers/staging/imgtec/rogue/hostfunc.c create mode 100644 drivers/staging/imgtec/rogue/hostfunc.h create mode 100644 drivers/staging/imgtec/rogue/htbserver.c create mode 100644 drivers/staging/imgtec/rogue/htbserver.h create mode 100644 drivers/staging/imgtec/rogue/htbuffer.c create mode 100644 drivers/staging/imgtec/rogue/htbuffer.h create mode 100644 drivers/staging/imgtec/rogue/htbuffer_init.h create mode 100644 drivers/staging/imgtec/rogue/htbuffer_sf.h create mode 100644 drivers/staging/imgtec/rogue/htbuffer_types.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.2.0.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.2.20.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.2.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.2.5.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.4.12.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.4.15.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.4.19.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.4.5.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_1.V.4.6.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_10.V.2.26.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_10.V.4.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_12.V.1.20.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_12.V.1.48.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_15.V.1.64.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.208.312.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.208.316.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.21.11.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.21.16.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.22.22.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.22.23.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.22.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.22.27.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.22.29.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.54.24.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.54.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.54.328.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_22.V.54.330.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_4.V.2.51.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_4.V.2.57.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_4.V.2.58.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_4.V.4.53.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_4.V.4.55.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_4.V.6.62.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_5.V.1.46.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_6.V.4.35.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/configs/rgxconfig_km_8.V.2.39.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.33.2.5.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.39.4.19.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.48.2.0.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.72.4.12.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.75.2.20.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.75.2.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.76.4.6.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.81.4.15.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_1.82.4.5.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_10.22.4.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_10.30.2.26.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_10.32.4.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_10.33.4.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_12.4.1.48.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_12.5.1.20.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_15.5.1.64.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.18.22.22.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.26.54.24.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.28.22.23.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.29.22.27.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.30.54.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.32.54.328.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.33.21.11.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.35.22.27.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.40.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.41.54.330.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.44.22.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.45.22.29.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.46.54.330.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.47.208.312.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.48.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.49.21.16.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.50.22.29.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.55.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.57.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.58.22.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.59.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.62.21.16.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.63.54.330.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.67.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.68.54.30.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.69.22.25.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_22.70.208.316.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.29.2.51.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.31.4.55.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.40.2.51.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.41.2.57.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.42.4.53.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.43.6.62.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.45.2.58.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_4.46.6.62.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_5.11.1.46.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_5.9.1.46.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_6.34.4.35.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_8.47.2.39.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/cores/rgxcore_km_8.48.2.39.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/rgx_bvnc_defs_km.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/rgx_bvnc_table_km.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/rgx_cr_defs_km.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/rgxdefs_km.h create mode 100644 drivers/staging/imgtec/rogue/hwdefs/km/rgxmmudefs_km.h create mode 100644 drivers/staging/imgtec/rogue/img_3dtypes.h create mode 100644 drivers/staging/imgtec/rogue/img_defs.h create mode 100644 drivers/staging/imgtec/rogue/img_types.h create mode 100644 drivers/staging/imgtec/rogue/interrupt_support.c create mode 100644 drivers/staging/imgtec/rogue/interrupt_support.h create mode 100644 drivers/staging/imgtec/rogue/ioctl.c create mode 100644 drivers/staging/imgtec/rogue/ion_support.h create mode 100644 drivers/staging/imgtec/rogue/ion_sys.h create mode 100644 drivers/staging/imgtec/rogue/kernel_compatibility.h create mode 100644 drivers/staging/imgtec/rogue/kernel_types.h create mode 100644 drivers/staging/imgtec/rogue/km_apphint.c create mode 100644 drivers/staging/imgtec/rogue/km_apphint.h create mode 100644 drivers/staging/imgtec/rogue/km_apphint_defs.h create mode 100644 drivers/staging/imgtec/rogue/linkage.h create mode 100644 drivers/staging/imgtec/rogue/linuxsrv.h create mode 100644 drivers/staging/imgtec/rogue/lists.c create mode 100644 drivers/staging/imgtec/rogue/lists.h create mode 100644 drivers/staging/imgtec/rogue/lock.h create mode 100644 drivers/staging/imgtec/rogue/lock_types.h create mode 100644 drivers/staging/imgtec/rogue/log2.h create mode 100644 drivers/staging/imgtec/rogue/main.c create mode 100644 drivers/staging/imgtec/rogue/mem_utils.c create mode 100644 drivers/staging/imgtec/rogue/mm_common.h create mode 100644 drivers/staging/imgtec/rogue/mmu_common.c create mode 100644 drivers/staging/imgtec/rogue/mmu_common.h create mode 100644 drivers/staging/imgtec/rogue/module_common.c create mode 100644 drivers/staging/imgtec/rogue/module_common.h create mode 100644 drivers/staging/imgtec/rogue/os_srvinit_param.h create mode 100644 drivers/staging/imgtec/rogue/osconnection_server.c create mode 100644 drivers/staging/imgtec/rogue/osconnection_server.h create mode 100644 drivers/staging/imgtec/rogue/osfunc.c create mode 100644 drivers/staging/imgtec/rogue/osfunc.h create mode 100644 drivers/staging/imgtec/rogue/osfunc_arm.c create mode 100644 drivers/staging/imgtec/rogue/osfunc_arm64.c create mode 100644 drivers/staging/imgtec/rogue/osfunc_x86.c create mode 100644 drivers/staging/imgtec/rogue/oskm_apphint.h create mode 100644 drivers/staging/imgtec/rogue/osmmap.h create mode 100644 drivers/staging/imgtec/rogue/osmmap_stub.c create mode 100644 drivers/staging/imgtec/rogue/pdump.c create mode 100644 drivers/staging/imgtec/rogue/pdump.h create mode 100644 drivers/staging/imgtec/rogue/pdump_common.c create mode 100644 drivers/staging/imgtec/rogue/pdump_km.h create mode 100644 drivers/staging/imgtec/rogue/pdump_mmu.c create mode 100644 drivers/staging/imgtec/rogue/pdump_mmu.h create mode 100644 drivers/staging/imgtec/rogue/pdump_osfunc.h create mode 100644 drivers/staging/imgtec/rogue/pdump_physmem.c create mode 100644 drivers/staging/imgtec/rogue/pdump_physmem.h create mode 100644 drivers/staging/imgtec/rogue/pdump_symbolicaddr.h create mode 100644 drivers/staging/imgtec/rogue/pdumpdefs.h create mode 100644 drivers/staging/imgtec/rogue/physheap.c create mode 100644 drivers/staging/imgtec/rogue/physheap.h create mode 100644 drivers/staging/imgtec/rogue/physmem.c create mode 100644 drivers/staging/imgtec/rogue/physmem.h create mode 100644 drivers/staging/imgtec/rogue/physmem_dmabuf.c create mode 100644 drivers/staging/imgtec/rogue/physmem_dmabuf.h create mode 100644 drivers/staging/imgtec/rogue/physmem_lma.c create mode 100644 drivers/staging/imgtec/rogue/physmem_lma.h create mode 100644 drivers/staging/imgtec/rogue/physmem_osmem.h create mode 100644 drivers/staging/imgtec/rogue/physmem_osmem_linux.c create mode 100644 drivers/staging/imgtec/rogue/physmem_osmem_linux.h create mode 100644 drivers/staging/imgtec/rogue/physmem_tdsecbuf.c create mode 100644 drivers/staging/imgtec/rogue/physmem_tdsecbuf.h create mode 100644 drivers/staging/imgtec/rogue/pmr.c create mode 100644 drivers/staging/imgtec/rogue/pmr.h create mode 100644 drivers/staging/imgtec/rogue/pmr_impl.h create mode 100644 drivers/staging/imgtec/rogue/pmr_os.c create mode 100644 drivers/staging/imgtec/rogue/pmr_os.h create mode 100644 drivers/staging/imgtec/rogue/power.c create mode 100644 drivers/staging/imgtec/rogue/power.h create mode 100644 drivers/staging/imgtec/rogue/private_data.h create mode 100644 drivers/staging/imgtec/rogue/process_stats.c create mode 100644 drivers/staging/imgtec/rogue/process_stats.h create mode 100644 drivers/staging/imgtec/rogue/pvr_bridge.h create mode 100644 drivers/staging/imgtec/rogue/pvr_bridge_k.c create mode 100644 drivers/staging/imgtec/rogue/pvr_debug.c create mode 100644 drivers/staging/imgtec/rogue/pvr_debug.h create mode 100644 drivers/staging/imgtec/rogue/pvr_debugfs.c create mode 100644 drivers/staging/imgtec/rogue/pvr_debugfs.h create mode 100644 drivers/staging/imgtec/rogue/pvr_drm.h create mode 100644 drivers/staging/imgtec/rogue/pvr_dvfs.h create mode 100644 drivers/staging/imgtec/rogue/pvr_dvfs_device.c create mode 100644 drivers/staging/imgtec/rogue/pvr_dvfs_device.h create mode 100644 drivers/staging/imgtec/rogue/pvr_fd_sync_kernel.h create mode 100644 drivers/staging/imgtec/rogue/pvr_gputrace.c create mode 100644 drivers/staging/imgtec/rogue/pvr_gputrace.h create mode 100644 drivers/staging/imgtec/rogue/pvr_hwperf.h create mode 100644 drivers/staging/imgtec/rogue/pvr_intrinsics.h create mode 100644 drivers/staging/imgtec/rogue/pvr_notifier.c create mode 100644 drivers/staging/imgtec/rogue/pvr_notifier.h create mode 100644 drivers/staging/imgtec/rogue/pvr_tlcommon.h create mode 100644 drivers/staging/imgtec/rogue/pvr_uaccess.h create mode 100644 drivers/staging/imgtec/rogue/pvrmodule.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv.c create mode 100644 drivers/staging/imgtec/rogue/pvrsrv.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_apphint.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_cleanup.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_device.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_device_types.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_devmem.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_error.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_errors.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_memallocflags.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_sync_km.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_tlcommon.h create mode 100644 drivers/staging/imgtec/rogue/pvrsrv_tlstreams.h create mode 100644 drivers/staging/imgtec/rogue/ra.c create mode 100644 drivers/staging/imgtec/rogue/ra.h create mode 100644 drivers/staging/imgtec/rogue/rgx_bridge.h create mode 100644 drivers/staging/imgtec/rogue/rgx_common.h create mode 100644 drivers/staging/imgtec/rogue/rgx_compat_bvnc.c create mode 100644 drivers/staging/imgtec/rogue/rgx_compat_bvnc.h create mode 100644 drivers/staging/imgtec/rogue/rgx_firmware_processor.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_alignchecks.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_hwperf.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_km.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_resetframework.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_sf.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_shared.h create mode 100644 drivers/staging/imgtec/rogue/rgx_fwif_sig.h create mode 100644 drivers/staging/imgtec/rogue/rgx_heaps.h create mode 100644 drivers/staging/imgtec/rogue/rgx_hwperf_km.h create mode 100644 drivers/staging/imgtec/rogue/rgx_hwperf_table.c create mode 100644 drivers/staging/imgtec/rogue/rgx_hwperf_table.h create mode 100644 drivers/staging/imgtec/rogue/rgx_memallocflags.h create mode 100644 drivers/staging/imgtec/rogue/rgx_meta.h create mode 100644 drivers/staging/imgtec/rogue/rgx_mips.h create mode 100644 drivers/staging/imgtec/rogue/rgx_options.h create mode 100644 drivers/staging/imgtec/rogue/rgx_pdump_panics.h create mode 100644 drivers/staging/imgtec/rogue/rgx_tq_shared.h create mode 100644 drivers/staging/imgtec/rogue/rgxapi_km.h create mode 100644 drivers/staging/imgtec/rogue/rgxbreakpoint.c create mode 100644 drivers/staging/imgtec/rogue/rgxbreakpoint.h create mode 100644 drivers/staging/imgtec/rogue/rgxccb.c create mode 100644 drivers/staging/imgtec/rogue/rgxccb.h create mode 100644 drivers/staging/imgtec/rogue/rgxcompute.c create mode 100644 drivers/staging/imgtec/rogue/rgxcompute.h create mode 100644 drivers/staging/imgtec/rogue/rgxdebug.c create mode 100644 drivers/staging/imgtec/rogue/rgxdebug.h create mode 100644 drivers/staging/imgtec/rogue/rgxdevice.h create mode 100644 drivers/staging/imgtec/rogue/rgxfw_log_helper.h create mode 100644 drivers/staging/imgtec/rogue/rgxfwimageutils.c create mode 100644 drivers/staging/imgtec/rogue/rgxfwimageutils.h create mode 100644 drivers/staging/imgtec/rogue/rgxfwload.c create mode 100644 drivers/staging/imgtec/rogue/rgxfwload.h create mode 100644 drivers/staging/imgtec/rogue/rgxfwutils.c create mode 100644 drivers/staging/imgtec/rogue/rgxfwutils.h create mode 100644 drivers/staging/imgtec/rogue/rgxheapconfig.h create mode 100644 drivers/staging/imgtec/rogue/rgxhwperf.c create mode 100644 drivers/staging/imgtec/rogue/rgxhwperf.h create mode 100644 drivers/staging/imgtec/rogue/rgxinit.c create mode 100644 drivers/staging/imgtec/rogue/rgxinit.h create mode 100644 drivers/staging/imgtec/rogue/rgxkicksync.c create mode 100644 drivers/staging/imgtec/rogue/rgxkicksync.h create mode 100644 drivers/staging/imgtec/rogue/rgxlayer.h create mode 100644 drivers/staging/imgtec/rogue/rgxlayer_impl.c create mode 100644 drivers/staging/imgtec/rogue/rgxlayer_impl.h create mode 100644 drivers/staging/imgtec/rogue/rgxlayer_km.h create mode 100644 drivers/staging/imgtec/rogue/rgxlayer_km_impl.c create mode 100644 drivers/staging/imgtec/rogue/rgxlayer_km_impl.h create mode 100644 drivers/staging/imgtec/rogue/rgxmem.c create mode 100644 drivers/staging/imgtec/rogue/rgxmem.h create mode 100644 drivers/staging/imgtec/rogue/rgxmipsmmuinit.c create mode 100644 drivers/staging/imgtec/rogue/rgxmipsmmuinit.h create mode 100644 drivers/staging/imgtec/rogue/rgxmmuinit.c create mode 100644 drivers/staging/imgtec/rogue/rgxmmuinit.h create mode 100644 drivers/staging/imgtec/rogue/rgxpdump.c create mode 100644 drivers/staging/imgtec/rogue/rgxpdump.h create mode 100644 drivers/staging/imgtec/rogue/rgxpdvfs.c create mode 100644 drivers/staging/imgtec/rogue/rgxpdvfs.h create mode 100644 drivers/staging/imgtec/rogue/rgxpower.c create mode 100644 drivers/staging/imgtec/rogue/rgxpower.h create mode 100644 drivers/staging/imgtec/rogue/rgxray.c create mode 100644 drivers/staging/imgtec/rogue/rgxray.h create mode 100644 drivers/staging/imgtec/rogue/rgxregconfig.c create mode 100644 drivers/staging/imgtec/rogue/rgxregconfig.h create mode 100644 drivers/staging/imgtec/rogue/rgxscript.h create mode 100644 drivers/staging/imgtec/rogue/rgxsignals.c create mode 100644 drivers/staging/imgtec/rogue/rgxsignals.h create mode 100644 drivers/staging/imgtec/rogue/rgxsrvinit.c create mode 100644 drivers/staging/imgtec/rogue/rgxsrvinit_script.c create mode 100644 drivers/staging/imgtec/rogue/rgxsrvinit_script.h create mode 100644 drivers/staging/imgtec/rogue/rgxstartstop.c create mode 100644 drivers/staging/imgtec/rogue/rgxstartstop.h create mode 100644 drivers/staging/imgtec/rogue/rgxta3d.c create mode 100644 drivers/staging/imgtec/rogue/rgxta3d.h create mode 100644 drivers/staging/imgtec/rogue/rgxtdmtransfer.c create mode 100644 drivers/staging/imgtec/rogue/rgxtdmtransfer.h create mode 100644 drivers/staging/imgtec/rogue/rgxtimecorr.c create mode 100644 drivers/staging/imgtec/rogue/rgxtimecorr.h create mode 100644 drivers/staging/imgtec/rogue/rgxtimerquery.c create mode 100644 drivers/staging/imgtec/rogue/rgxtimerquery.h create mode 100644 drivers/staging/imgtec/rogue/rgxtransfer.c create mode 100644 drivers/staging/imgtec/rogue/rgxtransfer.h create mode 100644 drivers/staging/imgtec/rogue/rgxutils.c create mode 100644 drivers/staging/imgtec/rogue/rgxutils.h create mode 100644 drivers/staging/imgtec/rogue/rgxworkest.c create mode 100644 drivers/staging/imgtec/rogue/rgxworkest.h create mode 100644 drivers/staging/imgtec/rogue/ri_server.c create mode 100644 drivers/staging/imgtec/rogue/ri_server.h create mode 100644 drivers/staging/imgtec/rogue/ri_typedefs.h create mode 100755 drivers/staging/imgtec/rogue/rk3368/Kbuild.mk create mode 100644 drivers/staging/imgtec/rogue/rk3368/rk_init.c create mode 100644 drivers/staging/imgtec/rogue/rk3368/rk_init.h create mode 100644 drivers/staging/imgtec/rogue/rk3368/rk_init_v2.c create mode 100644 drivers/staging/imgtec/rogue/rk3368/rk_init_v2.h create mode 100644 drivers/staging/imgtec/rogue/rk3368/sysconfig.c create mode 100644 drivers/staging/imgtec/rogue/rk3368/sysconfig.h create mode 100644 drivers/staging/imgtec/rogue/rk3368/sysinfo.h create mode 100644 drivers/staging/imgtec/rogue/rogue_trace_events.h create mode 100644 drivers/staging/imgtec/rogue/services_km.h create mode 100644 drivers/staging/imgtec/rogue/servicesext.h create mode 100644 drivers/staging/imgtec/rogue/srvcore.c create mode 100644 drivers/staging/imgtec/rogue/srvcore.h create mode 100644 drivers/staging/imgtec/rogue/srvinit.h create mode 100644 drivers/staging/imgtec/rogue/srvinit_osfunc.h create mode 100644 drivers/staging/imgtec/rogue/srvinit_pdump.c create mode 100644 drivers/staging/imgtec/rogue/srvinit_pdump.h create mode 100644 drivers/staging/imgtec/rogue/srvkm.h create mode 100644 drivers/staging/imgtec/rogue/sync.c create mode 100644 drivers/staging/imgtec/rogue/sync.h create mode 100644 drivers/staging/imgtec/rogue/sync_checkpoint.c create mode 100644 drivers/staging/imgtec/rogue/sync_checkpoint.h create mode 100644 drivers/staging/imgtec/rogue/sync_checkpoint_external.h create mode 100644 drivers/staging/imgtec/rogue/sync_checkpoint_internal.h create mode 100644 drivers/staging/imgtec/rogue/sync_checkpoint_internal_fw.h create mode 100644 drivers/staging/imgtec/rogue/sync_internal.h create mode 100644 drivers/staging/imgtec/rogue/sync_server.c create mode 100644 drivers/staging/imgtec/rogue/sync_server.h create mode 100644 drivers/staging/imgtec/rogue/sync_server_internal.h create mode 100644 drivers/staging/imgtec/rogue/syscommon.h create mode 100644 drivers/staging/imgtec/rogue/sysvalidation.h create mode 100644 drivers/staging/imgtec/rogue/tlclient.c create mode 100644 drivers/staging/imgtec/rogue/tlclient.h create mode 100644 drivers/staging/imgtec/rogue/tlintern.c create mode 100644 drivers/staging/imgtec/rogue/tlintern.h create mode 100644 drivers/staging/imgtec/rogue/tlserver.c create mode 100644 drivers/staging/imgtec/rogue/tlserver.h create mode 100644 drivers/staging/imgtec/rogue/tlstream.c create mode 100644 drivers/staging/imgtec/rogue/tlstream.h create mode 100644 drivers/staging/imgtec/rogue/trace_events.c create mode 100644 drivers/staging/imgtec/rogue/trace_events.h create mode 100644 drivers/staging/imgtec/rogue/uniq_key_splay_tree.c create mode 100644 drivers/staging/imgtec/rogue/uniq_key_splay_tree.h create mode 100644 drivers/staging/imgtec/services_kernel_client.h diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 5d3b86a33857..5740162793e2 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -110,4 +110,6 @@ source "drivers/staging/wilc1000/Kconfig" source "drivers/staging/most/Kconfig" +source "drivers/staging/imgtec/Kconfig" + endif # STAGING diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index 30918edef5e3..a384ad4d2787 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -47,3 +47,4 @@ obj-$(CONFIG_FB_TFT) += fbtft/ obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/ obj-$(CONFIG_WILC1000) += wilc1000/ obj-$(CONFIG_MOST) += most/ +obj-$(CONFIG_POWERVR_ROGUE_N) += imgtec/ diff --git a/drivers/staging/imgtec/Kconfig b/drivers/staging/imgtec/Kconfig new file mode 100644 index 000000000000..f1295a6edfeb --- /dev/null +++ b/drivers/staging/imgtec/Kconfig @@ -0,0 +1,14 @@ +config POWERVR_ADF_FBDEV + tristate "ADF driver for fbdev-only systems" + depends on ADF + depends on FB + help + Driver for systems with only fbdev video drivers. + + Say Y here if your SoC has a pre-existing fbdev driver, but + no native ADF driver. This driver will wrap the fbdev driver + to provide minimal compatibility with ADF. + +source "drivers/staging/imgtec/rogue/Kconfig" + +source "drivers/staging/imgtec/apollo/Kconfig" diff --git a/drivers/staging/imgtec/Makefile b/drivers/staging/imgtec/Makefile new file mode 100644 index 000000000000..5c44ffb15617 --- /dev/null +++ b/drivers/staging/imgtec/Makefile @@ -0,0 +1,9 @@ +obj-$(CONFIG_POWERVR_ADF_FBDEV) += powervr_adf_fbdev.o +powervr_adf_fbdev-y += adf_common.o adf_fbdev.o +ccflags-y += \ + -include $(srctree)/drivers/staging/imgtec/config_kernel.h \ + -I$(srctree)/$(src) \ + -I$(srctree)/drivers/staging/android + +obj-y += rogue/ +obj-y += apollo/ diff --git a/drivers/staging/imgtec/adf/adf_ext.h b/drivers/staging/imgtec/adf/adf_ext.h new file mode 100644 index 000000000000..49d82d28dfc7 --- /dev/null +++ b/drivers/staging/imgtec/adf/adf_ext.h @@ -0,0 +1,99 @@ +/*************************************************************************/ /*! +@File adf_ext.h +@Title IMG extension ioctls and ioctl packages for ADF +@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved +@License Dual MIT/GPLv2 + +The contents of this file are subject to the MIT license as set out below. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +Alternatively, the contents of this file may be used under the terms of +the GNU General Public License Version 2 ("GPL") in which case the provisions +of GPL are applicable instead of those above. + +If you wish to allow use of your version of this file only under the terms of +GPL, and not to allow others to use your version of this file under the terms +of the MIT license, indicate your decision by deleting the provisions above +and replace them with the notice and other provisions required by GPL as set +out in the file called "GPL-COPYING" included in this distribution. If you do +not delete the provisions above, a recipient may use your version of this file +under the terms of either the MIT license or GPL. + +This License is also included in this distribution in the file called +"MIT-COPYING". + +EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS +PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ /**************************************************************************/ +/* vi: set ts=8: */ + +#ifndef __ADF_EXT_H__ +#define __ADF_EXT_H__ + +#include + +#define ADF_BUFFER_TRANSFORM_NONE_EXT (0 << 0) +#define ADF_BUFFER_TRANSFORM_FLIP_H_EXT (1 << 0) +#define ADF_BUFFER_TRANSFORM_FLIP_V_EXT (1 << 1) +#define ADF_BUFFER_TRANSFORM_ROT_90_EXT (1 << 2) +#define ADF_BUFFER_TRANSFORM_ROT_180_EXT ((1 << 0) + (1 << 1)) +#define ADF_BUFFER_TRANSFORM_ROT_270_EXT ((1 << 0) + (1 << 1) + (1 << 2)) + +#define ADF_BUFFER_BLENDING_NONE_EXT 0 +#define ADF_BUFFER_BLENDING_PREMULT_EXT 1 +#define ADF_BUFFER_BLENDING_COVERAGE_EXT 2 + +struct adf_buffer_config_ext { + /* Crop applied to surface (BEFORE transformation) */ + struct drm_clip_rect crop; + + /* Region of screen to display surface in (AFTER scaling) */ + struct drm_clip_rect display; + + /* Surface rotation / flip / mirror */ + __u32 transform; + + /* Alpha blending mode e.g. none / premult / coverage */ + __u32 blend_type; + + /* Plane alpha */ + __u8 plane_alpha; + __u8 reserved[3]; +} __packed; + +struct adf_post_ext { + __u32 post_id; + struct adf_buffer_config_ext bufs_ext[]; +} __packed; + +struct adf_validate_config_ext { + __u32 n_interfaces; + __u32 __user *interfaces; + + __u32 n_bufs; + + struct adf_buffer_config __user *bufs; + struct adf_post_ext __user *post_ext; +} __packed; + +#define ADF_IOCTL_NR_VALIDATE_IMG (ADF_IOCTL_NR_CUSTOM + 0) + +#define ADF_VALIDATE_CONFIG_EXT \ + _IOW(ADF_IOCTL_TYPE, ADF_IOCTL_NR_VALIDATE_IMG, \ + struct adf_validate_config_ext) + +#endif /* __ADF_EXT_H__ */ diff --git a/drivers/staging/imgtec/adf_common.c b/drivers/staging/imgtec/adf_common.c new file mode 100644 index 000000000000..8d04909ceeca --- /dev/null +++ b/drivers/staging/imgtec/adf_common.c @@ -0,0 +1,592 @@ +/* -*- mode: c; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* vi: set ts=8 sw=8 sts=8: */ +/*************************************************************************/ /*! +@File +@Codingstyle LinuxKernel +@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved +@License Dual MIT/GPLv2 + +The contents of this file are subject to the MIT license as set out below. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +Alternatively, the contents of this file may be used under the terms of +the GNU General Public License Version 2 ("GPL") in which case the provisions +of GPL are applicable instead of those above. + +If you wish to allow use of your version of this file only under the terms of +GPL, and not to allow others to use your version of this file under the terms +of the MIT license, indicate your decision by deleting the provisions above +and replace them with the notice and other provisions required by GPL as set +out in the file called "GPL-COPYING" included in this distribution. If you do +not delete the provisions above, a recipient may use your version of this file +under the terms of either the MIT license or GPL. + +This License is also included in this distribution in the file called +"MIT-COPYING". + +EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS +PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ /**************************************************************************/ + +#include "adf_common.h" + +#include +#include +#include +#include +#include + +#include