github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/linux/dev_img_rogue.txt (about)

     1  # Copyright 2021 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  # The source file of IMG PowerVR Rogue ioctl can be found in ChromeOS source tree:
     5  # https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-4.19/drivers/gpu/drm/img-rogue/1.13/
     6  
     7  # Not upstream, generated on unknown tree.
     8  meta noextract
     9  
    10  incdir <drivers/gpu/drm/img-rogue/1.13>
    11  incdir <drivers/gpu/drm/img-rogue/1.13/km>
    12  include <linux/fcntl.h>
    13  include <drivers/gpu/drm/img-rogue/1.13/config_kernel.h>
    14  include <drivers/gpu/drm/img-rogue/1.13/pvr_drm.h>
    15  include <drivers/gpu/drm/img-rogue/1.13/pvrsrv_memallocflags.h>
    16  include <drivers/gpu/drm/img-rogue/1.13/rgx_bridge.h>
    17  include <drivers/gpu/drm/img-rogue/1.13/rgx_tq_shared.h>
    18  
    19  resource fd_rogue[fd]
    20  resource IMG_HANDLE[intptr]
    21  resource IMG_DEV_VIRTADDR[int64]
    22  
    23  type PVRSRV_TIMELINE int32
    24  type PVRSRV_FENCE int32
    25  
    26  openat$img_rogue(fd const[AT_FDCWD], file ptr[in, string["/dev/img-rogue"]], flags flags[open_flags], mode const[0]) fd_rogue
    27  
    28  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_CACHE_CACHEOPEXEC(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_CACHE, PVRSRV_BRIDGE_CACHE_CACHEOPEXEC, PVRSRV_BRIDGE_IN_CACHEOPEXEC, PVRSRV_BRIDGE_OUT_CACHEOPEXEC]])
    29  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_CACHE_CACHEOPLOG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_CACHE, PVRSRV_BRIDGE_CACHE_CACHEOPLOG, PVRSRV_BRIDGE_IN_CACHEOPLOG, PVRSRV_BRIDGE_OUT_CACHEOPLOG]])
    30  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_CACHE_CACHEOPQUEUE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_CACHE, PVRSRV_BRIDGE_CACHE_CACHEOPQUEUE, PVRSRV_BRIDGE_IN_CACHEOPQUEUE, PVRSRV_BRIDGE_OUT_CACHEOPQUEUE]])
    31  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_CMM_DEVMEMINTACQUIREREMOTECTX(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_CMM, PVRSRV_BRIDGE_CMM_DEVMEMINTACQUIREREMOTECTX, PVRSRV_BRIDGE_IN_DEVMEMINTACQUIREREMOTECTX, PVRSRV_BRIDGE_OUT_DEVMEMINTACQUIREREMOTECTX]])
    32  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_CMM_DEVMEMINTEXPORTCTX(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_CMM, PVRSRV_BRIDGE_CMM_DEVMEMINTEXPORTCTX, PVRSRV_BRIDGE_IN_DEVMEMINTEXPORTCTX, PVRSRV_BRIDGE_OUT_DEVMEMINTEXPORTCTX]])
    33  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_CMM_DEVMEMINTUNEXPORTCTX(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_CMM, PVRSRV_BRIDGE_CMM_DEVMEMINTUNEXPORTCTX, PVRSRV_BRIDGE_IN_DEVMEMINTUNEXPORTCTX, PVRSRV_BRIDGE_OUT_DEVMEMINTUNEXPORTCTX]])
    34  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYMAP(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DEVICEMEMHISTORY, PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYMAP, PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYMAP, PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYMAP]])
    35  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYMAPVRANGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DEVICEMEMHISTORY, PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYMAPVRANGE, PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYMAPVRANGE, PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYMAPVRANGE]])
    36  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYSPARSECHANGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DEVICEMEMHISTORY, PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYSPARSECHANGE, PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYSPARSECHANGE, PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYSPARSECHANGE]])
    37  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYUNMAP(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DEVICEMEMHISTORY, PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYUNMAP, PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYUNMAP, PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYUNMAP]])
    38  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYUNMAPVRANGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DEVICEMEMHISTORY, PVRSRV_BRIDGE_DEVICEMEMHISTORY_DEVICEMEMHISTORYUNMAPVRANGE, PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYUNMAPVRANGE, PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYUNMAPVRANGE]])
    39  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DMABUF_PHYSMEMEXPORTDMABUF(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DMABUF, PVRSRV_BRIDGE_DMABUF_PHYSMEMEXPORTDMABUF, PVRSRV_BRIDGE_IN_PHYSMEMEXPORTDMABUF, PVRSRV_BRIDGE_OUT_PHYSMEMEXPORTDMABUF]])
    40  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DMABUF_PHYSMEMIMPORTDMABUF(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DMABUF, PVRSRV_BRIDGE_DMABUF_PHYSMEMIMPORTDMABUF, PVRSRV_BRIDGE_IN_PHYSMEMIMPORTDMABUF, PVRSRV_BRIDGE_OUT_PHYSMEMIMPORTDMABUF]])
    41  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_DMABUF_PHYSMEMIMPORTSPARSEDMABUF(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_DMABUF, PVRSRV_BRIDGE_DMABUF_PHYSMEMIMPORTSPARSEDMABUF, PVRSRV_BRIDGE_IN_PHYSMEMIMPORTSPARSEDMABUF, PVRSRV_BRIDGE_OUT_PHYSMEMIMPORTSPARSEDMABUF]])
    42  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_HTBUFFER_HTBCONTROL(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_HTBUFFER, PVRSRV_BRIDGE_HTBUFFER_HTBCONTROL, PVRSRV_BRIDGE_IN_HTBCONTROL, PVRSRV_BRIDGE_OUT_HTBCONTROL]])
    43  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_HTBUFFER_HTBLOG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_HTBUFFER, PVRSRV_BRIDGE_HTBUFFER_HTBLOG, PVRSRV_BRIDGE_IN_HTBLOG, PVRSRV_BRIDGE_OUT_HTBLOG]])
    44  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_CHANGESPARSEMEM(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_CHANGESPARSEMEM, PVRSRV_BRIDGE_IN_CHANGESPARSEMEM, PVRSRV_BRIDGE_OUT_CHANGESPARSEMEM]])
    45  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMFLUSHDEVSLCRANGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMFLUSHDEVSLCRANGE, PVRSRV_BRIDGE_IN_DEVMEMFLUSHDEVSLCRANGE, PVRSRV_BRIDGE_OUT_DEVMEMFLUSHDEVSLCRANGE]])
    46  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMGETFAULTADDRESS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMGETFAULTADDRESS, PVRSRV_BRIDGE_IN_DEVMEMGETFAULTADDRESS, PVRSRV_BRIDGE_OUT_DEVMEMGETFAULTADDRESS]])
    47  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTCTXCREATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTCTXCREATE, PVRSRV_BRIDGE_IN_DEVMEMINTCTXCREATE, PVRSRV_BRIDGE_OUT_DEVMEMINTCTXCREATE]])
    48  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTCTXDESTROY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTCTXDESTROY, PVRSRV_BRIDGE_IN_DEVMEMINTCTXDESTROY, PVRSRV_BRIDGE_OUT_DEVMEMINTCTXDESTROY]])
    49  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTHEAPCREATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTHEAPCREATE, PVRSRV_BRIDGE_IN_DEVMEMINTHEAPCREATE, PVRSRV_BRIDGE_OUT_DEVMEMINTHEAPCREATE]])
    50  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTHEAPDESTROY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTHEAPDESTROY, PVRSRV_BRIDGE_IN_DEVMEMINTHEAPDESTROY, PVRSRV_BRIDGE_OUT_DEVMEMINTHEAPDESTROY]])
    51  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTMAPPAGES(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTMAPPAGES, PVRSRV_BRIDGE_IN_DEVMEMINTMAPPAGES, PVRSRV_BRIDGE_OUT_DEVMEMINTMAPPAGES]])
    52  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTMAPPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTMAPPMR, PVRSRV_BRIDGE_IN_DEVMEMINTMAPPMR, PVRSRV_BRIDGE_OUT_DEVMEMINTMAPPMR]])
    53  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTPIN(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTPIN, PVRSRV_BRIDGE_IN_DEVMEMINTPIN, PVRSRV_BRIDGE_OUT_DEVMEMINTPIN]])
    54  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTPINVALIDATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTPINVALIDATE, PVRSRV_BRIDGE_IN_DEVMEMINTPINVALIDATE, PVRSRV_BRIDGE_OUT_DEVMEMINTPINVALIDATE]])
    55  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTREGISTERPFNOTIFYKM(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTREGISTERPFNOTIFYKM, PVRSRV_BRIDGE_IN_DEVMEMINTREGISTERPFNOTIFYKM, PVRSRV_BRIDGE_OUT_DEVMEMINTREGISTERPFNOTIFYKM]])
    56  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTRESERVERANGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTRESERVERANGE, PVRSRV_BRIDGE_IN_DEVMEMINTRESERVERANGE, PVRSRV_BRIDGE_OUT_DEVMEMINTRESERVERANGE]])
    57  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTUNMAPPAGES(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTUNMAPPAGES, PVRSRV_BRIDGE_IN_DEVMEMINTUNMAPPAGES, PVRSRV_BRIDGE_OUT_DEVMEMINTUNMAPPAGES]])
    58  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTUNMAPPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTUNMAPPMR, PVRSRV_BRIDGE_IN_DEVMEMINTUNMAPPMR, PVRSRV_BRIDGE_OUT_DEVMEMINTUNMAPPMR]])
    59  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTUNPIN(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTUNPIN, PVRSRV_BRIDGE_IN_DEVMEMINTUNPIN, PVRSRV_BRIDGE_OUT_DEVMEMINTUNPIN]])
    60  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTUNPININVALIDATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTUNPININVALIDATE, PVRSRV_BRIDGE_IN_DEVMEMINTUNPININVALIDATE, PVRSRV_BRIDGE_OUT_DEVMEMINTUNPININVALIDATE]])
    61  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINTUNRESERVERANGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINTUNRESERVERANGE, PVRSRV_BRIDGE_IN_DEVMEMINTUNRESERVERANGE, PVRSRV_BRIDGE_OUT_DEVMEMINTUNRESERVERANGE]])
    62  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMINVALIDATEFBSCTABLE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMINVALIDATEFBSCTABLE, PVRSRV_BRIDGE_IN_DEVMEMINVALIDATEFBSCTABLE, PVRSRV_BRIDGE_OUT_DEVMEMINVALIDATEFBSCTABLE]])
    63  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_DEVMEMISVDEVADDRVALID(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_DEVMEMISVDEVADDRVALID, PVRSRV_BRIDGE_IN_DEVMEMISVDEVADDRVALID, PVRSRV_BRIDGE_OUT_DEVMEMISVDEVADDRVALID]])
    64  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_GETMAXDEVMEMSIZE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_GETMAXDEVMEMSIZE, PVRSRV_BRIDGE_IN_GETMAXDEVMEMSIZE, PVRSRV_BRIDGE_OUT_GETMAXDEVMEMSIZE]])
    65  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_HEAPCFGHEAPCONFIGCOUNT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_HEAPCFGHEAPCONFIGCOUNT, PVRSRV_BRIDGE_IN_HEAPCFGHEAPCONFIGCOUNT, PVRSRV_BRIDGE_OUT_HEAPCFGHEAPCONFIGCOUNT]])
    66  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_HEAPCFGHEAPCONFIGNAME(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_HEAPCFGHEAPCONFIGNAME, PVRSRV_BRIDGE_IN_HEAPCFGHEAPCONFIGNAME, PVRSRV_BRIDGE_OUT_HEAPCFGHEAPCONFIGNAME]])
    67  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_HEAPCFGHEAPCOUNT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_HEAPCFGHEAPCOUNT, PVRSRV_BRIDGE_IN_HEAPCFGHEAPCOUNT, PVRSRV_BRIDGE_OUT_HEAPCFGHEAPCOUNT]])
    68  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_HEAPCFGHEAPDETAILS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_HEAPCFGHEAPDETAILS, PVRSRV_BRIDGE_IN_HEAPCFGHEAPDETAILS, PVRSRV_BRIDGE_OUT_HEAPCFGHEAPDETAILS]])
    69  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PHYSMEMNEWRAMBACKEDLOCKEDPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PHYSMEMNEWRAMBACKEDLOCKEDPMR, PVRSRV_BRIDGE_IN_PHYSMEMNEWRAMBACKEDLOCKEDPMR, PVRSRV_BRIDGE_OUT_PHYSMEMNEWRAMBACKEDLOCKEDPMR]])
    70  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PHYSMEMNEWRAMBACKEDPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PHYSMEMNEWRAMBACKEDPMR, PVRSRV_BRIDGE_IN_PHYSMEMNEWRAMBACKEDPMR, PVRSRV_BRIDGE_OUT_PHYSMEMNEWRAMBACKEDPMR]])
    71  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMREXPORTPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMREXPORTPMR, PVRSRV_BRIDGE_IN_PMREXPORTPMR, PVRSRV_BRIDGE_OUT_PMREXPORTPMR]])
    72  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRGETUID(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRGETUID, PVRSRV_BRIDGE_IN_PMRGETUID, PVRSRV_BRIDGE_OUT_PMRGETUID]])
    73  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRIMPORTPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRIMPORTPMR, PVRSRV_BRIDGE_IN_PMRIMPORTPMR, PVRSRV_BRIDGE_OUT_PMRIMPORTPMR]])
    74  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRLOCALIMPORTPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRLOCALIMPORTPMR, PVRSRV_BRIDGE_IN_PMRLOCALIMPORTPMR, PVRSRV_BRIDGE_OUT_PMRLOCALIMPORTPMR]])
    75  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRMAKELOCALIMPORTHANDLE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRMAKELOCALIMPORTHANDLE, PVRSRV_BRIDGE_IN_PMRMAKELOCALIMPORTHANDLE, PVRSRV_BRIDGE_OUT_PMRMAKELOCALIMPORTHANDLE]])
    76  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRUNEXPORTPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRUNEXPORTPMR, PVRSRV_BRIDGE_IN_PMRUNEXPORTPMR, PVRSRV_BRIDGE_OUT_PMRUNEXPORTPMR]])
    77  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRUNMAKELOCALIMPORTHANDLE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRUNMAKELOCALIMPORTHANDLE, PVRSRV_BRIDGE_IN_PMRUNMAKELOCALIMPORTHANDLE, PVRSRV_BRIDGE_OUT_PMRUNMAKELOCALIMPORTHANDLE]])
    78  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRUNREFPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRUNREFPMR, PVRSRV_BRIDGE_IN_PMRUNREFPMR, PVRSRV_BRIDGE_OUT_PMRUNREFPMR]])
    79  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PMRUNREFUNLOCKPMR(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PMRUNREFUNLOCKPMR, PVRSRV_BRIDGE_IN_PMRUNREFUNLOCKPMR, PVRSRV_BRIDGE_OUT_PMRUNREFUNLOCKPMR]])
    80  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_MM_PVRSRVUPDATEOOMSTATS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_MM, PVRSRV_BRIDGE_MM_PVRSRVUPDATEOOMSTATS, PVRSRV_BRIDGE_IN_PVRSRVUPDATEOOMSTATS, PVRSRV_BRIDGE_OUT_PVRSRVUPDATEOOMSTATS]])
    81  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLACQUIREDATA(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLACQUIREDATA, PVRSRV_BRIDGE_IN_TLACQUIREDATA, PVRSRV_BRIDGE_OUT_TLACQUIREDATA]])
    82  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLCLOSESTREAM(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLCLOSESTREAM, PVRSRV_BRIDGE_IN_TLCLOSESTREAM, PVRSRV_BRIDGE_OUT_TLCLOSESTREAM]])
    83  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLCOMMITSTREAM(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLCOMMITSTREAM, PVRSRV_BRIDGE_IN_TLCOMMITSTREAM, PVRSRV_BRIDGE_OUT_TLCOMMITSTREAM]])
    84  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLDISCOVERSTREAMS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLDISCOVERSTREAMS, PVRSRV_BRIDGE_IN_TLDISCOVERSTREAMS, PVRSRV_BRIDGE_OUT_TLDISCOVERSTREAMS]])
    85  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLOPENSTREAM(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLOPENSTREAM, PVRSRV_BRIDGE_IN_TLOPENSTREAM, PVRSRV_BRIDGE_OUT_TLOPENSTREAM]])
    86  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLRELEASEDATA(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLRELEASEDATA, PVRSRV_BRIDGE_IN_TLRELEASEDATA, PVRSRV_BRIDGE_OUT_TLRELEASEDATA]])
    87  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLRESERVESTREAM(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLRESERVESTREAM, PVRSRV_BRIDGE_IN_TLRESERVESTREAM, PVRSRV_BRIDGE_OUT_TLRESERVESTREAM]])
    88  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_PVRTL_TLWRITEDATA(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_PVRTL, PVRSRV_BRIDGE_PVRTL_TLWRITEDATA, PVRSRV_BRIDGE_IN_TLWRITEDATA, PVRSRV_BRIDGE_OUT_TLWRITEDATA]])
    89  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXBREAKPOINT_RGXCLEARBREAKPOINT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXBREAKPOINT, PVRSRV_BRIDGE_RGXBREAKPOINT_RGXCLEARBREAKPOINT, PVRSRV_BRIDGE_IN_RGXCLEARBREAKPOINT, PVRSRV_BRIDGE_OUT_RGXCLEARBREAKPOINT]])
    90  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXBREAKPOINT_RGXDISABLEBREAKPOINT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXBREAKPOINT, PVRSRV_BRIDGE_RGXBREAKPOINT_RGXDISABLEBREAKPOINT, PVRSRV_BRIDGE_IN_RGXDISABLEBREAKPOINT, PVRSRV_BRIDGE_OUT_RGXDISABLEBREAKPOINT]])
    91  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXBREAKPOINT_RGXENABLEBREAKPOINT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXBREAKPOINT, PVRSRV_BRIDGE_RGXBREAKPOINT_RGXENABLEBREAKPOINT, PVRSRV_BRIDGE_IN_RGXENABLEBREAKPOINT, PVRSRV_BRIDGE_OUT_RGXENABLEBREAKPOINT]])
    92  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXBREAKPOINT_RGXOVERALLOCATEBPREGISTERS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXBREAKPOINT, PVRSRV_BRIDGE_RGXBREAKPOINT_RGXOVERALLOCATEBPREGISTERS, PVRSRV_BRIDGE_IN_RGXOVERALLOCATEBPREGISTERS, PVRSRV_BRIDGE_OUT_RGXOVERALLOCATEBPREGISTERS]])
    93  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXBREAKPOINT_RGXSETBREAKPOINT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXBREAKPOINT, PVRSRV_BRIDGE_RGXBREAKPOINT_RGXSETBREAKPOINT, PVRSRV_BRIDGE_IN_RGXSETBREAKPOINT, PVRSRV_BRIDGE_OUT_RGXSETBREAKPOINT]])
    94  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXCREATECOMPUTECONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXCREATECOMPUTECONTEXT, PVRSRV_BRIDGE_IN_RGXCREATECOMPUTECONTEXT, PVRSRV_BRIDGE_OUT_RGXCREATECOMPUTECONTEXT]])
    95  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXDESTROYCOMPUTECONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXDESTROYCOMPUTECONTEXT, PVRSRV_BRIDGE_IN_RGXDESTROYCOMPUTECONTEXT, PVRSRV_BRIDGE_OUT_RGXDESTROYCOMPUTECONTEXT]])
    96  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXFLUSHCOMPUTEDATA(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXFLUSHCOMPUTEDATA, PVRSRV_BRIDGE_IN_RGXFLUSHCOMPUTEDATA, PVRSRV_BRIDGE_OUT_RGXFLUSHCOMPUTEDATA]])
    97  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXGETLASTCOMPUTECONTEXTRESETREASON(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXGETLASTCOMPUTECONTEXTRESETREASON, PVRSRV_BRIDGE_IN_RGXGETLASTCOMPUTECONTEXTRESETREASON, PVRSRV_BRIDGE_OUT_RGXGETLASTCOMPUTECONTEXTRESETREASON]])
    98  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXKICKCDM2(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXKICKCDM2, PVRSRV_BRIDGE_IN_RGXKICKCDM2, PVRSRV_BRIDGE_OUT_RGXKICKCDM2]])
    99  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXNOTIFYCOMPUTEWRITEOFFSETUPDATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXNOTIFYCOMPUTEWRITEOFFSETUPDATE, PVRSRV_BRIDGE_IN_RGXNOTIFYCOMPUTEWRITEOFFSETUPDATE, PVRSRV_BRIDGE_OUT_RGXNOTIFYCOMPUTEWRITEOFFSETUPDATE]])
   100  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXSETCOMPUTECONTEXTPRIORITY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXSETCOMPUTECONTEXTPRIORITY, PVRSRV_BRIDGE_IN_RGXSETCOMPUTECONTEXTPRIORITY, PVRSRV_BRIDGE_OUT_RGXSETCOMPUTECONTEXTPRIORITY]])
   101  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXCMP_RGXSETCOMPUTECONTEXTPROPERTY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXCMP, PVRSRV_BRIDGE_RGXCMP_RGXSETCOMPUTECONTEXTPROPERTY, PVRSRV_BRIDGE_IN_RGXSETCOMPUTECONTEXTPROPERTY, PVRSRV_BRIDGE_OUT_RGXSETCOMPUTECONTEXTPROPERTY]])
   102  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXCURRENTTIME(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXCURRENTTIME, PVRSRV_BRIDGE_IN_RGXCURRENTTIME, PVRSRV_BRIDGE_OUT_RGXCURRENTTIME]])
   103  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGDUMPFREELISTPAGELIST(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGDUMPFREELISTPAGELIST, PVRSRV_BRIDGE_IN_RGXFWDEBUGDUMPFREELISTPAGELIST, PVRSRV_BRIDGE_OUT_RGXFWDEBUGDUMPFREELISTPAGELIST]])
   104  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGPHRCONFIGURE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGPHRCONFIGURE, PVRSRV_BRIDGE_IN_RGXFWDEBUGPHRCONFIGURE, PVRSRV_BRIDGE_OUT_RGXFWDEBUGPHRCONFIGURE]])
   105  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETFWLOG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETFWLOG, PVRSRV_BRIDGE_IN_RGXFWDEBUGSETFWLOG, PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETFWLOG]])
   106  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETHCSDEADLINE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETHCSDEADLINE, PVRSRV_BRIDGE_IN_RGXFWDEBUGSETHCSDEADLINE, PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETHCSDEADLINE]])
   107  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETOSIDPRIORITY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETOSIDPRIORITY, PVRSRV_BRIDGE_IN_RGXFWDEBUGSETOSIDPRIORITY, PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETOSIDPRIORITY]])
   108  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETOSNEWONLINESTATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXFWDBG, PVRSRV_BRIDGE_RGXFWDBG_RGXFWDEBUGSETOSNEWONLINESTATE, PVRSRV_BRIDGE_IN_RGXFWDEBUGSETOSNEWONLINESTATE, PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETOSNEWONLINESTATE]])
   109  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXHWPERF_RGXCONFIGCUSTOMCOUNTERS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXHWPERF, PVRSRV_BRIDGE_RGXHWPERF_RGXCONFIGCUSTOMCOUNTERS, PVRSRV_BRIDGE_IN_RGXCONFIGCUSTOMCOUNTERS, PVRSRV_BRIDGE_OUT_RGXCONFIGCUSTOMCOUNTERS]])
   110  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXHWPERF_RGXCONFIGENABLEHWPERFCOUNTERS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXHWPERF, PVRSRV_BRIDGE_RGXHWPERF_RGXCONFIGENABLEHWPERFCOUNTERS, PVRSRV_BRIDGE_IN_RGXCONFIGENABLEHWPERFCOUNTERS, PVRSRV_BRIDGE_OUT_RGXCONFIGENABLEHWPERFCOUNTERS]])
   111  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXHWPERF_RGXCTRLHWPERF(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXHWPERF, PVRSRV_BRIDGE_RGXHWPERF_RGXCTRLHWPERF, PVRSRV_BRIDGE_IN_RGXCTRLHWPERF, PVRSRV_BRIDGE_OUT_RGXCTRLHWPERF]])
   112  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXHWPERF_RGXCTRLHWPERFCOUNTERS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXHWPERF, PVRSRV_BRIDGE_RGXHWPERF_RGXCTRLHWPERFCOUNTERS, PVRSRV_BRIDGE_IN_RGXCTRLHWPERFCOUNTERS, PVRSRV_BRIDGE_OUT_RGXCTRLHWPERFCOUNTERS]])
   113  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXHWPERF_RGXGETHWPERFBVNCFEATUREFLAGS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXHWPERF, PVRSRV_BRIDGE_RGXHWPERF_RGXGETHWPERFBVNCFEATUREFLAGS, PVRSRV_BRIDGE_IN_RGXGETHWPERFBVNCFEATUREFLAGS, PVRSRV_BRIDGE_OUT_RGXGETHWPERFBVNCFEATUREFLAGS]])
   114  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXKICKSYNC_RGXCREATEKICKSYNCCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXKICKSYNC, PVRSRV_BRIDGE_RGXKICKSYNC_RGXCREATEKICKSYNCCONTEXT, PVRSRV_BRIDGE_IN_RGXCREATEKICKSYNCCONTEXT, PVRSRV_BRIDGE_OUT_RGXCREATEKICKSYNCCONTEXT]])
   115  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXKICKSYNC_RGXDESTROYKICKSYNCCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXKICKSYNC, PVRSRV_BRIDGE_RGXKICKSYNC_RGXDESTROYKICKSYNCCONTEXT, PVRSRV_BRIDGE_IN_RGXDESTROYKICKSYNCCONTEXT, PVRSRV_BRIDGE_OUT_RGXDESTROYKICKSYNCCONTEXT]])
   116  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXKICKSYNC_RGXKICKSYNC2(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXKICKSYNC, PVRSRV_BRIDGE_RGXKICKSYNC_RGXKICKSYNC2, PVRSRV_BRIDGE_IN_RGXKICKSYNC2, PVRSRV_BRIDGE_OUT_RGXKICKSYNC2]])
   117  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXKICKSYNC_RGXSETKICKSYNCCONTEXTPROPERTY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXKICKSYNC, PVRSRV_BRIDGE_RGXKICKSYNC_RGXSETKICKSYNCCONTEXTPROPERTY, PVRSRV_BRIDGE_IN_RGXSETKICKSYNCCONTEXTPROPERTY, PVRSRV_BRIDGE_OUT_RGXSETKICKSYNCCONTEXTPROPERTY]])
   118  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXREGCONFIG_RGXADDREGCONFIG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXREGCONFIG, PVRSRV_BRIDGE_RGXREGCONFIG_RGXADDREGCONFIG, PVRSRV_BRIDGE_IN_RGXADDREGCONFIG, PVRSRV_BRIDGE_OUT_RGXADDREGCONFIG]])
   119  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXREGCONFIG_RGXCLEARREGCONFIG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXREGCONFIG, PVRSRV_BRIDGE_RGXREGCONFIG_RGXCLEARREGCONFIG, PVRSRV_BRIDGE_IN_RGXCLEARREGCONFIG, PVRSRV_BRIDGE_OUT_RGXCLEARREGCONFIG]])
   120  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXREGCONFIG_RGXDISABLEREGCONFIG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXREGCONFIG, PVRSRV_BRIDGE_RGXREGCONFIG_RGXDISABLEREGCONFIG, PVRSRV_BRIDGE_IN_RGXDISABLEREGCONFIG, PVRSRV_BRIDGE_OUT_RGXDISABLEREGCONFIG]])
   121  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXREGCONFIG_RGXENABLEREGCONFIG(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXREGCONFIG, PVRSRV_BRIDGE_RGXREGCONFIG_RGXENABLEREGCONFIG, PVRSRV_BRIDGE_IN_RGXENABLEREGCONFIG, PVRSRV_BRIDGE_OUT_RGXENABLEREGCONFIG]])
   122  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXREGCONFIG_RGXSETREGCONFIGTYPE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXREGCONFIG, PVRSRV_BRIDGE_RGXREGCONFIG_RGXSETREGCONFIGTYPE, PVRSRV_BRIDGE_IN_RGXSETREGCONFIGTYPE, PVRSRV_BRIDGE_OUT_RGXSETREGCONFIGTYPE]])
   123  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXSIGNALS_RGXNOTIFYSIGNALUPDATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXSIGNALS, PVRSRV_BRIDGE_RGXSIGNALS_RGXNOTIFYSIGNALUPDATE, PVRSRV_BRIDGE_IN_RGXNOTIFYSIGNALUPDATE, PVRSRV_BRIDGE_OUT_RGXNOTIFYSIGNALUPDATE]])
   124  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXCREATEFREELIST(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXCREATEFREELIST, PVRSRV_BRIDGE_IN_RGXCREATEFREELIST, PVRSRV_BRIDGE_OUT_RGXCREATEFREELIST]])
   125  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXCREATEHWRTDATASET(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXCREATEHWRTDATASET, PVRSRV_BRIDGE_IN_RGXCREATEHWRTDATASET, PVRSRV_BRIDGE_OUT_RGXCREATEHWRTDATASET]])
   126  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXCREATERENDERCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXCREATERENDERCONTEXT, PVRSRV_BRIDGE_IN_RGXCREATERENDERCONTEXT, PVRSRV_BRIDGE_OUT_RGXCREATERENDERCONTEXT]])
   127  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXCREATEZSBUFFER(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXCREATEZSBUFFER, PVRSRV_BRIDGE_IN_RGXCREATEZSBUFFER, PVRSRV_BRIDGE_OUT_RGXCREATEZSBUFFER]])
   128  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYFREELIST(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYFREELIST, PVRSRV_BRIDGE_IN_RGXDESTROYFREELIST, PVRSRV_BRIDGE_OUT_RGXDESTROYFREELIST]])
   129  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYHWRTDATASET(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYHWRTDATASET, PVRSRV_BRIDGE_IN_RGXDESTROYHWRTDATASET, PVRSRV_BRIDGE_OUT_RGXDESTROYHWRTDATASET]])
   130  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYRENDERCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYRENDERCONTEXT, PVRSRV_BRIDGE_IN_RGXDESTROYRENDERCONTEXT, PVRSRV_BRIDGE_OUT_RGXDESTROYRENDERCONTEXT]])
   131  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYZSBUFFER(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXDESTROYZSBUFFER, PVRSRV_BRIDGE_IN_RGXDESTROYZSBUFFER, PVRSRV_BRIDGE_OUT_RGXDESTROYZSBUFFER]])
   132  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXGETLASTRENDERCONTEXTRESETREASON(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXGETLASTRENDERCONTEXTRESETREASON, PVRSRV_BRIDGE_IN_RGXGETLASTRENDERCONTEXTRESETREASON, PVRSRV_BRIDGE_OUT_RGXGETLASTRENDERCONTEXTRESETREASON]])
   133  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXKICKTA3D2(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXKICKTA3D2, PVRSRV_BRIDGE_IN_RGXKICKTA3D2, PVRSRV_BRIDGE_OUT_RGXKICKTA3D2]])
   134  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXPOPULATEZSBUFFER(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXPOPULATEZSBUFFER, PVRSRV_BRIDGE_IN_RGXPOPULATEZSBUFFER, PVRSRV_BRIDGE_OUT_RGXPOPULATEZSBUFFER]])
   135  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXRENDERCONTEXTSTALLED(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXRENDERCONTEXTSTALLED, PVRSRV_BRIDGE_IN_RGXRENDERCONTEXTSTALLED, PVRSRV_BRIDGE_OUT_RGXRENDERCONTEXTSTALLED]])
   136  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXSETRENDERCONTEXTPRIORITY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXSETRENDERCONTEXTPRIORITY, PVRSRV_BRIDGE_IN_RGXSETRENDERCONTEXTPRIORITY, PVRSRV_BRIDGE_OUT_RGXSETRENDERCONTEXTPRIORITY]])
   137  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXSETRENDERCONTEXTPROPERTY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXSETRENDERCONTEXTPROPERTY, PVRSRV_BRIDGE_IN_RGXSETRENDERCONTEXTPROPERTY, PVRSRV_BRIDGE_OUT_RGXSETRENDERCONTEXTPROPERTY]])
   138  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTA3D_RGXUNPOPULATEZSBUFFER(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTA3D, PVRSRV_BRIDGE_RGXTA3D_RGXUNPOPULATEZSBUFFER, PVRSRV_BRIDGE_IN_RGXUNPOPULATEZSBUFFER, PVRSRV_BRIDGE_OUT_RGXUNPOPULATEZSBUFFER]])
   139  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ_RGXCREATETRANSFERCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ, PVRSRV_BRIDGE_RGXTQ_RGXCREATETRANSFERCONTEXT, PVRSRV_BRIDGE_IN_RGXCREATETRANSFERCONTEXT, PVRSRV_BRIDGE_OUT_RGXCREATETRANSFERCONTEXT]])
   140  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ_RGXDESTROYTRANSFERCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ, PVRSRV_BRIDGE_RGXTQ_RGXDESTROYTRANSFERCONTEXT, PVRSRV_BRIDGE_IN_RGXDESTROYTRANSFERCONTEXT, PVRSRV_BRIDGE_OUT_RGXDESTROYTRANSFERCONTEXT]])
   141  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ_RGXSETTRANSFERCONTEXTPRIORITY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ, PVRSRV_BRIDGE_RGXTQ_RGXSETTRANSFERCONTEXTPRIORITY, PVRSRV_BRIDGE_IN_RGXSETTRANSFERCONTEXTPRIORITY, PVRSRV_BRIDGE_OUT_RGXSETTRANSFERCONTEXTPRIORITY]])
   142  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ_RGXSETTRANSFERCONTEXTPROPERTY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ, PVRSRV_BRIDGE_RGXTQ_RGXSETTRANSFERCONTEXTPROPERTY, PVRSRV_BRIDGE_IN_RGXSETTRANSFERCONTEXTPROPERTY, PVRSRV_BRIDGE_OUT_RGXSETTRANSFERCONTEXTPROPERTY]])
   143  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ_RGXSUBMITTRANSFER2(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ, PVRSRV_BRIDGE_RGXTQ_RGXSUBMITTRANSFER2, PVRSRV_BRIDGE_IN_RGXSUBMITTRANSFER2, PVRSRV_BRIDGE_OUT_RGXSUBMITTRANSFER2]])
   144  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMCREATETRANSFERCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMCREATETRANSFERCONTEXT, PVRSRV_BRIDGE_IN_RGXTDMCREATETRANSFERCONTEXT, PVRSRV_BRIDGE_OUT_RGXTDMCREATETRANSFERCONTEXT]])
   145  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMDESTROYTRANSFERCONTEXT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMDESTROYTRANSFERCONTEXT, PVRSRV_BRIDGE_IN_RGXTDMDESTROYTRANSFERCONTEXT, PVRSRV_BRIDGE_OUT_RGXTDMDESTROYTRANSFERCONTEXT]])
   146  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMGETSHAREDMEMORY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMGETSHAREDMEMORY, PVRSRV_BRIDGE_IN_RGXTDMGETSHAREDMEMORY, PVRSRV_BRIDGE_OUT_RGXTDMGETSHAREDMEMORY]])
   147  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMNOTIFYWRITEOFFSETUPDATE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMNOTIFYWRITEOFFSETUPDATE, PVRSRV_BRIDGE_IN_RGXTDMNOTIFYWRITEOFFSETUPDATE, PVRSRV_BRIDGE_OUT_RGXTDMNOTIFYWRITEOFFSETUPDATE]])
   148  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMRELEASESHAREDMEMORY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMRELEASESHAREDMEMORY, PVRSRV_BRIDGE_IN_RGXTDMRELEASESHAREDMEMORY, PVRSRV_BRIDGE_OUT_RGXTDMRELEASESHAREDMEMORY]])
   149  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMSETTRANSFERCONTEXTPRIORITY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMSETTRANSFERCONTEXTPRIORITY, PVRSRV_BRIDGE_IN_RGXTDMSETTRANSFERCONTEXTPRIORITY, PVRSRV_BRIDGE_OUT_RGXTDMSETTRANSFERCONTEXTPRIORITY]])
   150  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMSETTRANSFERCONTEXTPROPERTY(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMSETTRANSFERCONTEXTPROPERTY, PVRSRV_BRIDGE_IN_RGXTDMSETTRANSFERCONTEXTPROPERTY, PVRSRV_BRIDGE_OUT_RGXTDMSETTRANSFERCONTEXTPROPERTY]])
   151  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_RGXTQ2_RGXTDMSUBMITTRANSFER2(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_RGXTQ2, PVRSRV_BRIDGE_RGXTQ2_RGXTDMSUBMITTRANSFER2, PVRSRV_BRIDGE_IN_RGXTDMSUBMITTRANSFER2, PVRSRV_BRIDGE_OUT_RGXTDMSUBMITTRANSFER2]])
   152  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_ACQUIREGLOBALEVENTOBJECT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_ACQUIREGLOBALEVENTOBJECT, PVRSRV_BRIDGE_IN_ACQUIREGLOBALEVENTOBJECT, PVRSRV_BRIDGE_OUT_ACQUIREGLOBALEVENTOBJECT]])
   153  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_ACQUIREINFOPAGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_ACQUIREINFOPAGE, PVRSRV_BRIDGE_IN_ACQUIREINFOPAGE, PVRSRV_BRIDGE_OUT_ACQUIREINFOPAGE]])
   154  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_ALIGNMENTCHECK(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_ALIGNMENTCHECK, PVRSRV_BRIDGE_IN_ALIGNMENTCHECK, PVRSRV_BRIDGE_OUT_ALIGNMENTCHECK]])
   155  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_CONNECT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_CONNECT, PVRSRV_BRIDGE_IN_CONNECT, PVRSRV_BRIDGE_OUT_CONNECT]])
   156  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_DISCONNECT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_DISCONNECT, PVRSRV_BRIDGE_IN_DISCONNECT, PVRSRV_BRIDGE_OUT_DISCONNECT]])
   157  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_DUMPDEBUGINFO(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_DUMPDEBUGINFO, PVRSRV_BRIDGE_IN_DUMPDEBUGINFO, PVRSRV_BRIDGE_OUT_DUMPDEBUGINFO]])
   158  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTCLOSE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTCLOSE, PVRSRV_BRIDGE_IN_EVENTOBJECTCLOSE, PVRSRV_BRIDGE_OUT_EVENTOBJECTCLOSE]])
   159  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTOPEN(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTOPEN, PVRSRV_BRIDGE_IN_EVENTOBJECTOPEN, PVRSRV_BRIDGE_OUT_EVENTOBJECTOPEN]])
   160  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTWAIT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTWAIT, PVRSRV_BRIDGE_IN_EVENTOBJECTWAIT, PVRSRV_BRIDGE_OUT_EVENTOBJECTWAIT]])
   161  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTWAITTIMEOUT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_EVENTOBJECTWAITTIMEOUT, PVRSRV_BRIDGE_IN_EVENTOBJECTWAITTIMEOUT, PVRSRV_BRIDGE_OUT_EVENTOBJECTWAITTIMEOUT]])
   162  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_FINDPROCESSMEMSTATS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_FINDPROCESSMEMSTATS, PVRSRV_BRIDGE_IN_FINDPROCESSMEMSTATS, PVRSRV_BRIDGE_OUT_FINDPROCESSMEMSTATS]])
   163  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_GETDEVCLOCKSPEED(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_GETDEVCLOCKSPEED, PVRSRV_BRIDGE_IN_GETDEVCLOCKSPEED, PVRSRV_BRIDGE_OUT_GETDEVCLOCKSPEED]])
   164  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_GETDEVICESTATUS(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_GETDEVICESTATUS, PVRSRV_BRIDGE_IN_GETDEVICESTATUS, PVRSRV_BRIDGE_OUT_GETDEVICESTATUS]])
   165  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_GETMULTICOREINFO(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_GETMULTICOREINFO, PVRSRV_BRIDGE_IN_GETMULTICOREINFO, PVRSRV_BRIDGE_OUT_GETMULTICOREINFO]])
   166  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_HWOPTIMEOUT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_HWOPTIMEOUT, PVRSRV_BRIDGE_IN_HWOPTIMEOUT, PVRSRV_BRIDGE_OUT_HWOPTIMEOUT]])
   167  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_RELEASEGLOBALEVENTOBJECT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_RELEASEGLOBALEVENTOBJECT, PVRSRV_BRIDGE_IN_RELEASEGLOBALEVENTOBJECT, PVRSRV_BRIDGE_OUT_RELEASEGLOBALEVENTOBJECT]])
   168  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SRVCORE_RELEASEINFOPAGE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SRVCORE, PVRSRV_BRIDGE_SRVCORE_RELEASEINFOPAGE, PVRSRV_BRIDGE_IN_RELEASEINFOPAGE, PVRSRV_BRIDGE_OUT_RELEASEINFOPAGE]])
   169  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_ALLOCSYNCPRIMITIVEBLOCK(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_ALLOCSYNCPRIMITIVEBLOCK, PVRSRV_BRIDGE_IN_ALLOCSYNCPRIMITIVEBLOCK, PVRSRV_BRIDGE_OUT_ALLOCSYNCPRIMITIVEBLOCK]])
   170  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_FREESYNCPRIMITIVEBLOCK(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_FREESYNCPRIMITIVEBLOCK, PVRSRV_BRIDGE_IN_FREESYNCPRIMITIVEBLOCK, PVRSRV_BRIDGE_OUT_FREESYNCPRIMITIVEBLOCK]])
   171  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCALLOCEVENT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCALLOCEVENT, PVRSRV_BRIDGE_IN_SYNCALLOCEVENT, PVRSRV_BRIDGE_OUT_SYNCALLOCEVENT]])
   172  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCCHECKPOINTSIGNALLEDPDUMPPOL(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCCHECKPOINTSIGNALLEDPDUMPPOL, PVRSRV_BRIDGE_IN_SYNCCHECKPOINTSIGNALLEDPDUMPPOL, PVRSRV_BRIDGE_OUT_SYNCCHECKPOINTSIGNALLEDPDUMPPOL]])
   173  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCFREEEVENT(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCFREEEVENT, PVRSRV_BRIDGE_IN_SYNCFREEEVENT, PVRSRV_BRIDGE_OUT_SYNCFREEEVENT]])
   174  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMP(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMP, PVRSRV_BRIDGE_IN_SYNCPRIMPDUMP, PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMP]])
   175  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMPCBP(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMPCBP, PVRSRV_BRIDGE_IN_SYNCPRIMPDUMPCBP, PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMPCBP]])
   176  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMPPOL(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMPPOL, PVRSRV_BRIDGE_IN_SYNCPRIMPDUMPPOL, PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMPPOL]])
   177  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMPVALUE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCPRIMPDUMPVALUE, PVRSRV_BRIDGE_IN_SYNCPRIMPDUMPVALUE, PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMPVALUE]])
   178  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNC_SYNCPRIMSET(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNC, PVRSRV_BRIDGE_SYNC_SYNCPRIMSET, PVRSRV_BRIDGE_IN_SYNCPRIMSET, PVRSRV_BRIDGE_OUT_SYNCPRIMSET]])
   179  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNCTRACKING_SYNCRECORDADD(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNCTRACKING, PVRSRV_BRIDGE_SYNCTRACKING_SYNCRECORDADD, PVRSRV_BRIDGE_IN_SYNCRECORDADD, PVRSRV_BRIDGE_OUT_SYNCRECORDADD]])
   180  ioctl$DRM_IOCTL_PVR_SRVKM_CMD_PVRSRV_BRIDGE_SYNCTRACKING_SYNCRECORDREMOVEBYHANDLE(fd fd_rogue, cmd const[DRM_IOCTL_PVR_SRVKM_CMD], arg ptr[inout, drm_pvr_srvkm_cmd[PVRSRV_BRIDGE_SYNCTRACKING, PVRSRV_BRIDGE_SYNCTRACKING_SYNCRECORDREMOVEBYHANDLE, PVRSRV_BRIDGE_IN_SYNCRECORDREMOVEBYHANDLE, PVRSRV_BRIDGE_OUT_SYNCRECORDREMOVEBYHANDLE]])
   181  
   182  type drm_pvr_srvkm_cmd[BRIDGE_ID, BRIDGE_FUNC_ID, IN_DATA, OUT_DATA] {
   183  	bridge_id	const[BRIDGE_ID, int32]
   184  	bridge_func_id	const[BRIDGE_FUNC_ID, int32]
   185  	in_data_ptr	ptr64[in, IN_DATA]
   186  	out_data_ptr	ptr64[out, OUT_DATA]
   187  	in_data_size	len[in_data_ptr, int32]
   188  	out_data_size	len[out_data_ptr, int32]
   189  }
   190  
   191  PVRSRV_BRIDGE_IN_CACHEOPEXEC {
   192  	hPMR		IMG_HANDLE
   193  	ui64Address	int64
   194  	uiOffset	int64
   195  	uiSize		int64
   196  	iuCacheOp	flags[PVRSRV_CACHE_OP, int32]
   197  } [packed]
   198  
   199  PVRSRV_BRIDGE_OUT_CACHEOPEXEC {
   200  	eError	int32
   201  } [packed]
   202  
   203  PVRSRV_BRIDGE_IN_CACHEOPLOG {
   204  	hPMR			IMG_HANDLE
   205  	ui64Address		int64
   206  	uiOffset		int64
   207  	uiSize			int64
   208  	i64QueuedTimeUs		int64
   209  	i64ExecuteTimeUs	int64
   210  	i32NumRBF		int32
   211  	iuCacheOp		flags[PVRSRV_CACHE_OP, int32]
   212  } [packed]
   213  
   214  PVRSRV_BRIDGE_OUT_CACHEOPLOG {
   215  	eError	int32
   216  } [packed]
   217  
   218  PVRSRV_BRIDGE_IN_CACHEOPQUEUE {
   219  	ui32NumCacheOps		len[phPMR, int32]
   220  	phPMR			ptr[in, array[IMG_HANDLE]]
   221  	pui64Address		ptr[in, array[int64]]
   222  	puiOffset		ptr[in, array[int64]]
   223  	puiSize			ptr[in, array[int64]]
   224  	piuCacheOp		ptr[in, array[flags[PVRSRV_CACHE_OP, int32]]]
   225  	ui32OpTimeline		int32
   226  	ui32CurrentFenceSeqNum	int32
   227  } [packed]
   228  
   229  PVRSRV_BRIDGE_OUT_CACHEOPQUEUE {
   230  	ui32NextFenceSeqNum	int32
   231  	eError			int32
   232  } [packed]
   233  
   234  PVRSRV_BRIDGE_IN_DEVMEMINTACQUIREREMOTECTX {
   235  	hPMR	IMG_HANDLE
   236  } [packed]
   237  
   238  PVRSRV_BRIDGE_OUT_DEVMEMINTACQUIREREMOTECTX {
   239  	hContext	IMG_HANDLE
   240  	hPrivData	IMG_HANDLE
   241  	eError		int32
   242  } [packed]
   243  
   244  PVRSRV_BRIDGE_IN_DEVMEMINTEXPORTCTX {
   245  	hContext	IMG_HANDLE
   246  	hPMR		IMG_HANDLE
   247  } [packed]
   248  
   249  PVRSRV_BRIDGE_OUT_DEVMEMINTEXPORTCTX {
   250  	hContextExport	IMG_HANDLE
   251  	eError		int32
   252  } [packed]
   253  
   254  PVRSRV_BRIDGE_IN_DEVMEMINTUNEXPORTCTX {
   255  	hContextExport	IMG_HANDLE
   256  } [packed]
   257  
   258  PVRSRV_BRIDGE_OUT_DEVMEMINTUNEXPORTCTX {
   259  	eError	int32
   260  } [packed]
   261  
   262  PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYMAP {
   263  	hPMR			IMG_HANDLE
   264  	uiOffset		int64
   265  	sDevVAddr		IMG_DEV_VIRTADDR
   266  	uiSize			int64
   267  	puiText			ptr[in, array[int8]]
   268  	ui32Log2PageSize	int32
   269  	ui32AllocationIndex	int32
   270  } [packed]
   271  
   272  PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYMAP {
   273  	ui32AllocationIndexOut	int32
   274  	eError			int32
   275  } [packed]
   276  
   277  PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYMAPVRANGE {
   278  	sBaseDevVAddr		IMG_DEV_VIRTADDR
   279  	ui32ui32StartPage	int32
   280  	ui32NumPages		int32
   281  	uiAllocSize		int64
   282  	puiText			ptr[in, array[int8]]
   283  	ui32Log2PageSize	int32
   284  	ui32AllocationIndex	int32
   285  } [packed]
   286  
   287  PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYMAPVRANGE {
   288  	ui32AllocationIndexOut	int32
   289  	eError			int32
   290  } [packed]
   291  
   292  PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYSPARSECHANGE {
   293  	hPMR			IMG_HANDLE
   294  	uiOffset		int64
   295  	sDevVAddr		IMG_DEV_VIRTADDR
   296  	uiSize			int64
   297  	puiText			ptr[in, array[int8]]
   298  	ui32Log2PageSize	int32
   299  	ui32AllocPageCount	len[pui32AllocPageIndices, int32]
   300  	pui32AllocPageIndices	ptr[in, array[int32]]
   301  	ui32FreePageCount	len[pui32FreePageIndices, int32]
   302  	pui32FreePageIndices	ptr[in, array[int32]]
   303  	ui32AllocationIndex	int32
   304  } [packed]
   305  
   306  PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYSPARSECHANGE {
   307  	ui32AllocationIndexOut	int32
   308  	eError			int32
   309  } [packed]
   310  
   311  PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYUNMAP {
   312  	hPMR			IMG_HANDLE
   313  	uiOffset		int64
   314  	sDevVAddr		IMG_DEV_VIRTADDR
   315  	uiSize			int64
   316  	puiText			ptr[in, array[int8]]
   317  	ui32Log2PageSize	int32
   318  	ui32AllocationIndex	int32
   319  } [packed]
   320  
   321  PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYUNMAP {
   322  	ui32AllocationIndexOut	int32
   323  	eError			int32
   324  } [packed]
   325  
   326  PVRSRV_BRIDGE_IN_DEVICEMEMHISTORYUNMAPVRANGE {
   327  	sBaseDevVAddr		IMG_DEV_VIRTADDR
   328  	ui32ui32StartPage	int32
   329  	ui32NumPages		int32
   330  	uiAllocSize		int64
   331  	puiText			ptr[in, array[int8]]
   332  	ui32Log2PageSize	int32
   333  	ui32AllocationIndex	int32
   334  } [packed]
   335  
   336  PVRSRV_BRIDGE_OUT_DEVICEMEMHISTORYUNMAPVRANGE {
   337  	ui32AllocationIndexOut	int32
   338  	eError			int32
   339  } [packed]
   340  
   341  PVRSRV_BRIDGE_IN_PHYSMEMEXPORTDMABUF {
   342  	hPMR	IMG_HANDLE
   343  } [packed]
   344  
   345  PVRSRV_BRIDGE_OUT_PHYSMEMEXPORTDMABUF {
   346  	iFd	int32
   347  	eError	int32
   348  } [packed]
   349  
   350  PVRSRV_BRIDGE_IN_PHYSMEMIMPORTDMABUF {
   351  	ifd		int32
   352  	uiFlags		flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   353  	ui32NameSize	len[puiName, int32]
   354  	puiName		ptr[in, array[int8]]
   355  } [packed]
   356  
   357  PVRSRV_BRIDGE_OUT_PHYSMEMIMPORTDMABUF {
   358  	hPMRPtr	IMG_HANDLE
   359  	uiSize	int64
   360  	sAlign	int64
   361  	eError	int32
   362  } [packed]
   363  
   364  PVRSRV_BRIDGE_IN_PHYSMEMIMPORTSPARSEDMABUF {
   365  	ifd			int32
   366  	uiFlags			flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   367  	uiChunkSize		int64
   368  	ui32NumPhysChunks	len[pui32MappingTable, int32]
   369  	ui32NumVirtChunks	int32
   370  	pui32MappingTable	ptr[in, array[int32]]
   371  	ui32NameSize		len[puiName, int32]
   372  	puiName			ptr[in, array[int8]]
   373  } [packed]
   374  
   375  PVRSRV_BRIDGE_OUT_PHYSMEMIMPORTSPARSEDMABUF {
   376  	hPMRPtr	IMG_HANDLE
   377  	uiSize	int64
   378  	sAlign	int64
   379  	eError	int32
   380  } [packed]
   381  
   382  PVRSRV_BRIDGE_IN_HTBCONTROL {
   383  	ui32NumGroups		len[pui32GroupEnable, int32]
   384  	pui32GroupEnable	ptr[in, array[int32]]
   385  	ui32LogLevel		int32
   386  	ui32EnablePID		int32
   387  	ui32LogMode		int32
   388  	ui32OpMode		int32
   389  } [packed]
   390  
   391  PVRSRV_BRIDGE_OUT_HTBCONTROL {
   392  	eError	int32
   393  } [packed]
   394  
   395  PVRSRV_BRIDGE_IN_HTBLOG {
   396  	ui32PID		int32
   397  	ui64TimeStamp	int64
   398  	ui32SF		int32
   399  	ui32NumArgs	len[pui32Args, int32]
   400  	pui32Args	ptr[in, array[int32]]
   401  } [packed]
   402  
   403  PVRSRV_BRIDGE_OUT_HTBLOG {
   404  	eError	int32
   405  } [packed]
   406  
   407  PVRSRV_BRIDGE_IN_CHANGESPARSEMEM {
   408  	hSrvDevMemHeap		IMG_HANDLE
   409  	hPMR			IMG_HANDLE
   410  	ui32AllocPageCount	len[pui32AllocPageIndices, int32]
   411  	pui32AllocPageIndices	ptr[in, array[int32]]
   412  	ui32FreePageCount	len[pui32FreePageIndices, int32]
   413  	pui32FreePageIndices	ptr[in, array[int32]]
   414  	ui32SparseFlags		int32
   415  	uiFlags			flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   416  	sDevVAddr		IMG_DEV_VIRTADDR
   417  	ui64CPUVAddr		int64
   418  } [packed]
   419  
   420  PVRSRV_BRIDGE_OUT_CHANGESPARSEMEM {
   421  	eError	int32
   422  } [packed]
   423  
   424  PVRSRV_BRIDGE_IN_DEVMEMFLUSHDEVSLCRANGE {
   425  	hDevmemCtx	IMG_HANDLE
   426  	sAddress	IMG_DEV_VIRTADDR
   427  	uiSize		int64
   428  	bInvalidate	bool32
   429  } [packed]
   430  
   431  PVRSRV_BRIDGE_OUT_DEVMEMFLUSHDEVSLCRANGE {
   432  	eError	int32
   433  } [packed]
   434  
   435  PVRSRV_BRIDGE_IN_DEVMEMGETFAULTADDRESS {
   436  	hDevmemCtx	IMG_HANDLE
   437  } [packed]
   438  
   439  PVRSRV_BRIDGE_OUT_DEVMEMGETFAULTADDRESS {
   440  	sFaultAddress	IMG_DEV_VIRTADDR
   441  	eError		int32
   442  } [packed]
   443  
   444  PVRSRV_BRIDGE_IN_DEVMEMINTCTXCREATE {
   445  	bbKernelMemoryCtx	bool32
   446  } [packed]
   447  
   448  PVRSRV_BRIDGE_OUT_DEVMEMINTCTXCREATE {
   449  	hDevMemServerContext	IMG_HANDLE
   450  	hPrivData		IMG_HANDLE
   451  	ui32CPUCacheLineSize	int32
   452  	eError			int32
   453  } [packed]
   454  
   455  PVRSRV_BRIDGE_IN_DEVMEMINTCTXDESTROY {
   456  	hDevmemServerContext	IMG_HANDLE
   457  } [packed]
   458  
   459  PVRSRV_BRIDGE_OUT_DEVMEMINTCTXDESTROY {
   460  	eError	int32
   461  } [packed]
   462  
   463  PVRSRV_BRIDGE_IN_DEVMEMINTHEAPCREATE {
   464  	hDevmemCtx		IMG_HANDLE
   465  	sHeapBaseAddr		IMG_DEV_VIRTADDR
   466  	uiHeapLength		int64
   467  	ui32Log2DataPageSize	int32
   468  } [packed]
   469  
   470  PVRSRV_BRIDGE_OUT_DEVMEMINTHEAPCREATE {
   471  	hDevmemHeapPtr	IMG_HANDLE
   472  	eError		int32
   473  } [packed]
   474  
   475  PVRSRV_BRIDGE_IN_DEVMEMINTHEAPDESTROY {
   476  	hDevmemHeap	IMG_HANDLE
   477  } [packed]
   478  
   479  PVRSRV_BRIDGE_OUT_DEVMEMINTHEAPDESTROY {
   480  	eError	int32
   481  } [packed]
   482  
   483  PVRSRV_BRIDGE_IN_DEVMEMINTMAPPAGES {
   484  	hReservation		IMG_HANDLE
   485  	hPMR			IMG_HANDLE
   486  	ui32PageCount		int32
   487  	ui32PhysicalPgOffset	int32
   488  	uiFlags			flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   489  	sDevVAddr		IMG_DEV_VIRTADDR
   490  } [packed]
   491  
   492  PVRSRV_BRIDGE_OUT_DEVMEMINTMAPPAGES {
   493  	eError	int32
   494  } [packed]
   495  
   496  PVRSRV_BRIDGE_IN_DEVMEMINTMAPPMR {
   497  	hDevmemServerHeap	IMG_HANDLE
   498  	hReservation		IMG_HANDLE
   499  	hPMR			IMG_HANDLE
   500  	uiMapFlags		flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   501  } [packed]
   502  
   503  PVRSRV_BRIDGE_OUT_DEVMEMINTMAPPMR {
   504  	hMapping	IMG_HANDLE
   505  	eError		int32
   506  } [packed]
   507  
   508  PVRSRV_BRIDGE_IN_DEVMEMINTPIN {
   509  	hPMR	IMG_HANDLE
   510  } [packed]
   511  
   512  PVRSRV_BRIDGE_OUT_DEVMEMINTPIN {
   513  	eError	int32
   514  } [packed]
   515  
   516  PVRSRV_BRIDGE_IN_DEVMEMINTPINVALIDATE {
   517  	hMapping	IMG_HANDLE
   518  	hPMR		IMG_HANDLE
   519  } [packed]
   520  
   521  PVRSRV_BRIDGE_OUT_DEVMEMINTPINVALIDATE {
   522  	eError	int32
   523  } [packed]
   524  
   525  PVRSRV_BRIDGE_IN_DEVMEMINTREGISTERPFNOTIFYKM {
   526  	hDevmemCtx	IMG_HANDLE
   527  	ui32PID		int32
   528  	bRegister	bool32
   529  } [packed]
   530  
   531  PVRSRV_BRIDGE_OUT_DEVMEMINTREGISTERPFNOTIFYKM {
   532  	eError	int32
   533  } [packed]
   534  
   535  PVRSRV_BRIDGE_IN_DEVMEMINTRESERVERANGE {
   536  	hDevmemServerHeap	IMG_HANDLE
   537  	sAddress		IMG_DEV_VIRTADDR
   538  	uiLength		int64
   539  } [packed]
   540  
   541  PVRSRV_BRIDGE_OUT_DEVMEMINTRESERVERANGE {
   542  	hReservation	IMG_HANDLE
   543  	eError		int32
   544  } [packed]
   545  
   546  PVRSRV_BRIDGE_IN_DEVMEMINTUNMAPPAGES {
   547  	hReservation	IMG_HANDLE
   548  	sDevVAddr	IMG_DEV_VIRTADDR
   549  	ui32PageCount	int32
   550  } [packed]
   551  
   552  PVRSRV_BRIDGE_OUT_DEVMEMINTUNMAPPAGES {
   553  	eError	int32
   554  } [packed]
   555  
   556  PVRSRV_BRIDGE_IN_DEVMEMINTUNMAPPMR {
   557  	hMapping	IMG_HANDLE
   558  } [packed]
   559  
   560  PVRSRV_BRIDGE_OUT_DEVMEMINTUNMAPPMR {
   561  	eError	int32
   562  } [packed]
   563  
   564  PVRSRV_BRIDGE_IN_DEVMEMINTUNPIN {
   565  	hPMR	IMG_HANDLE
   566  } [packed]
   567  
   568  PVRSRV_BRIDGE_OUT_DEVMEMINTUNPIN {
   569  	eError	int32
   570  } [packed]
   571  
   572  PVRSRV_BRIDGE_IN_DEVMEMINTUNPININVALIDATE {
   573  	hMapping	IMG_HANDLE
   574  	hPMR		IMG_HANDLE
   575  } [packed]
   576  
   577  PVRSRV_BRIDGE_OUT_DEVMEMINTUNPININVALIDATE {
   578  	eError	int32
   579  } [packed]
   580  
   581  PVRSRV_BRIDGE_IN_DEVMEMINTUNRESERVERANGE {
   582  	hReservation	IMG_HANDLE
   583  } [packed]
   584  
   585  PVRSRV_BRIDGE_OUT_DEVMEMINTUNRESERVERANGE {
   586  	eError	int32
   587  } [packed]
   588  
   589  PVRSRV_BRIDGE_IN_DEVMEMINVALIDATEFBSCTABLE {
   590  	hDevmemCtx	IMG_HANDLE
   591  	ui64FBSCEntries	int64
   592  } [packed]
   593  
   594  PVRSRV_BRIDGE_OUT_DEVMEMINVALIDATEFBSCTABLE {
   595  	eError	int32
   596  } [packed]
   597  
   598  PVRSRV_BRIDGE_IN_DEVMEMISVDEVADDRVALID {
   599  	hDevmemCtx	IMG_HANDLE
   600  	sAddress	IMG_DEV_VIRTADDR
   601  } [packed]
   602  
   603  PVRSRV_BRIDGE_OUT_DEVMEMISVDEVADDRVALID {
   604  	eError	int32
   605  } [packed]
   606  
   607  PVRSRV_BRIDGE_IN_GETMAXDEVMEMSIZE {
   608  	ui32EmptyStructPlaceholder	const[0, int32]
   609  } [packed]
   610  
   611  PVRSRV_BRIDGE_OUT_GETMAXDEVMEMSIZE {
   612  	uiLMASize	int64
   613  	uiUMASize	int64
   614  	eError		int32
   615  } [packed]
   616  
   617  PVRSRV_BRIDGE_IN_HEAPCFGHEAPCONFIGCOUNT {
   618  	ui32EmptyStructPlaceholder	const[0, int32]
   619  } [packed]
   620  
   621  PVRSRV_BRIDGE_OUT_HEAPCFGHEAPCONFIGCOUNT {
   622  	ui32NumHeapConfigs	int32
   623  	eError			int32
   624  } [packed]
   625  
   626  PVRSRV_BRIDGE_IN_HEAPCFGHEAPCONFIGNAME {
   627  	ui32HeapConfigIndex	int32
   628  	ui32HeapConfigNameBufSz	len[puiHeapConfigName, int32]
   629  	puiHeapConfigName	ptr[in, array[int8]]
   630  } [packed]
   631  
   632  PVRSRV_BRIDGE_OUT_HEAPCFGHEAPCONFIGNAME {
   633  	puiHeapConfigName	ptr[out, array[int8]]
   634  	eError			int32
   635  } [packed]
   636  
   637  PVRSRV_BRIDGE_IN_HEAPCFGHEAPCOUNT {
   638  	ui32HeapConfigIndex	int32
   639  } [packed]
   640  
   641  PVRSRV_BRIDGE_OUT_HEAPCFGHEAPCOUNT {
   642  	ui32NumHeaps	int32
   643  	eError		int32
   644  } [packed]
   645  
   646  PVRSRV_BRIDGE_IN_HEAPCFGHEAPDETAILS {
   647  	ui32HeapConfigIndex	int32
   648  	ui32HeapIndex		int32
   649  	ui32HeapNameBufSz	len[puiHeapNameOut, int32]
   650  	puiHeapNameOut		ptr[in, array[int8]]
   651  } [packed]
   652  
   653  PVRSRV_BRIDGE_OUT_HEAPCFGHEAPDETAILS {
   654  	puiHeapNameOut			ptr[out, array[int8]]
   655  	sDevVAddrBase			IMG_DEV_VIRTADDR
   656  	uiHeapLength			int64
   657  	uiReservedRegionLength		int64
   658  	ui32Log2DataPageSizeOut		int32
   659  	ui32Log2ImportAlignmentOut	int32
   660  	eError				int32
   661  } [packed]
   662  
   663  PVRSRV_BRIDGE_IN_PHYSMEMNEWRAMBACKEDLOCKEDPMR {
   664  	uiSize			int64
   665  	uiChunkSize		int64
   666  	ui32NumPhysChunks	int32
   667  	ui32NumVirtChunks	len[pui32MappingTable, int32]
   668  	pui32MappingTable	ptr[in, array[int32]]
   669  	ui32Log2PageSize	int32
   670  	uiFlags			flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   671  	ui32AnnotationLength	len[puiAnnotation, int32]
   672  	puiAnnotation		ptr[in, array[int8]]
   673  	ui32PID			int32
   674  	ui32PDumpFlags		flags[PDUMP_FLAGS, int32]
   675  } [packed]
   676  
   677  PVRSRV_BRIDGE_OUT_PHYSMEMNEWRAMBACKEDLOCKEDPMR {
   678  	hPMRPtr	IMG_HANDLE
   679  	eError	int32
   680  } [packed]
   681  
   682  PVRSRV_BRIDGE_IN_PHYSMEMNEWRAMBACKEDPMR {
   683  	uiSize			int64
   684  	uiChunkSize		int64
   685  	ui32NumPhysChunks	len[pui32MappingTable, int32]
   686  	ui32NumVirtChunks	int32
   687  	pui32MappingTable	ptr[in, array[int32]]
   688  	ui32Log2PageSize	int32
   689  	uiFlags			flags[PVRSRV_MEMALLOCFLAGS_T, int32]
   690  	ui32AnnotationLength	len[puiAnnotation, int32]
   691  	puiAnnotation		ptr[in, array[int8]]
   692  	ui32PID			int32
   693  	ui32PDumpFlags		flags[PDUMP_FLAGS, int32]
   694  } [packed]
   695  
   696  PVRSRV_BRIDGE_OUT_PHYSMEMNEWRAMBACKEDPMR {
   697  	hPMRPtr	IMG_HANDLE
   698  	eError	int32
   699  } [packed]
   700  
   701  PVRSRV_BRIDGE_IN_PMREXPORTPMR {
   702  	hPMR	IMG_HANDLE
   703  } [packed]
   704  
   705  PVRSRV_BRIDGE_OUT_PMREXPORTPMR {
   706  	hPMRExport	IMG_HANDLE
   707  	ui64Size	int64
   708  	ui32Log2Contig	int32
   709  	ui64Password	int64
   710  	eError		int32
   711  } [packed]
   712  
   713  PVRSRV_BRIDGE_IN_PMRGETUID {
   714  	hPMR	IMG_HANDLE
   715  } [packed]
   716  
   717  PVRSRV_BRIDGE_OUT_PMRGETUID {
   718  	ui64UID	int64
   719  	eError	int32
   720  } [packed]
   721  
   722  PVRSRV_BRIDGE_IN_PMRIMPORTPMR {
   723  	hPMRExport		IMG_HANDLE
   724  	ui64uiPassword		int64
   725  	ui64uiSize		int64
   726  	ui32uiLog2Contig	int32
   727  } [packed]
   728  
   729  PVRSRV_BRIDGE_OUT_PMRIMPORTPMR {
   730  	hPMR	IMG_HANDLE
   731  	eError	int32
   732  } [packed]
   733  
   734  PVRSRV_BRIDGE_IN_PMRLOCALIMPORTPMR {
   735  	hExtHandle	IMG_HANDLE
   736  } [packed]
   737  
   738  PVRSRV_BRIDGE_OUT_PMRLOCALIMPORTPMR {
   739  	hPMR	IMG_HANDLE
   740  	uiSize	int64
   741  	sAlign	int64
   742  	eError	int32
   743  } [packed]
   744  
   745  PVRSRV_BRIDGE_IN_PMRMAKELOCALIMPORTHANDLE {
   746  	hBuffer	IMG_HANDLE
   747  } [packed]
   748  
   749  PVRSRV_BRIDGE_OUT_PMRMAKELOCALIMPORTHANDLE {
   750  	hExtMem	IMG_HANDLE
   751  	eError	int32
   752  } [packed]
   753  
   754  PVRSRV_BRIDGE_IN_PMRUNEXPORTPMR {
   755  	hPMRExport	IMG_HANDLE
   756  } [packed]
   757  
   758  PVRSRV_BRIDGE_OUT_PMRUNEXPORTPMR {
   759  	eError	int32
   760  } [packed]
   761  
   762  PVRSRV_BRIDGE_IN_PMRUNMAKELOCALIMPORTHANDLE {
   763  	hExtMem	IMG_HANDLE
   764  } [packed]
   765  
   766  PVRSRV_BRIDGE_OUT_PMRUNMAKELOCALIMPORTHANDLE {
   767  	eError	int32
   768  } [packed]
   769  
   770  PVRSRV_BRIDGE_IN_PMRUNREFPMR {
   771  	hPMR	IMG_HANDLE
   772  } [packed]
   773  
   774  PVRSRV_BRIDGE_OUT_PMRUNREFPMR {
   775  	eError	int32
   776  } [packed]
   777  
   778  PVRSRV_BRIDGE_IN_PMRUNREFUNLOCKPMR {
   779  	hPMR	IMG_HANDLE
   780  } [packed]
   781  
   782  PVRSRV_BRIDGE_OUT_PMRUNREFUNLOCKPMR {
   783  	eError	int32
   784  } [packed]
   785  
   786  PVRSRV_BRIDGE_IN_PVRSRVUPDATEOOMSTATS {
   787  	ui32ui32StatType	int32
   788  	ui32pid			int32
   789  } [packed]
   790  
   791  PVRSRV_BRIDGE_OUT_PVRSRVUPDATEOOMSTATS {
   792  	eError	int32
   793  } [packed]
   794  
   795  PVRSRV_BRIDGE_IN_TLACQUIREDATA {
   796  	hSD	IMG_HANDLE
   797  } [packed]
   798  
   799  PVRSRV_BRIDGE_OUT_TLACQUIREDATA {
   800  	ui32ReadOffset	int32
   801  	ui32ReadLen	int32
   802  	eError		int32
   803  } [packed]
   804  
   805  PVRSRV_BRIDGE_IN_TLCLOSESTREAM {
   806  	hSD	IMG_HANDLE
   807  } [packed]
   808  
   809  PVRSRV_BRIDGE_OUT_TLCLOSESTREAM {
   810  	eError	int32
   811  } [packed]
   812  
   813  PVRSRV_BRIDGE_IN_TLCOMMITSTREAM {
   814  	hSD		IMG_HANDLE
   815  	ui32ReqSize	int32
   816  } [packed]
   817  
   818  PVRSRV_BRIDGE_OUT_TLCOMMITSTREAM {
   819  	eError	int32
   820  } [packed]
   821  
   822  PVRSRV_BRIDGE_IN_TLDISCOVERSTREAMS {
   823  	puiNamePattern	ptr[in, array[int8]]
   824  	ui32Size	len[puiStreams, int32]
   825  	puiStreams	ptr[in, array[int8]]
   826  } [packed]
   827  
   828  PVRSRV_BRIDGE_OUT_TLDISCOVERSTREAMS {
   829  	puiStreams	ptr[out, array[int8]]
   830  	ui32NumFound	int32
   831  	eError		int32
   832  } [packed]
   833  
   834  PVRSRV_BRIDGE_IN_TLOPENSTREAM {
   835  	puiName		ptr[in, array[int8]]
   836  	ui32Mode	int32
   837  } [packed]
   838  
   839  PVRSRV_BRIDGE_OUT_TLOPENSTREAM {
   840  	hSD	IMG_HANDLE
   841  	hTLPMR	IMG_HANDLE
   842  	eError	int32
   843  } [packed]
   844  
   845  PVRSRV_BRIDGE_IN_TLRELEASEDATA {
   846  	hSD		IMG_HANDLE
   847  	ui32ReadOffset	int32
   848  	ui32ReadLen	int32
   849  } [packed]
   850  
   851  PVRSRV_BRIDGE_OUT_TLRELEASEDATA {
   852  	eError	int32
   853  } [packed]
   854  
   855  PVRSRV_BRIDGE_IN_TLRESERVESTREAM {
   856  	hSD		IMG_HANDLE
   857  	ui32Size	int32
   858  	ui32SizeMin	int32
   859  } [packed]
   860  
   861  PVRSRV_BRIDGE_OUT_TLRESERVESTREAM {
   862  	ui32BufferOffset	int32
   863  	ui32Available		int32
   864  	eError			int32
   865  } [packed]
   866  
   867  PVRSRV_BRIDGE_IN_TLWRITEDATA {
   868  	hSD		IMG_HANDLE
   869  	ui32Size	len[psData, int32]
   870  	psData		ptr[in, array[int8]]
   871  } [packed]
   872  
   873  PVRSRV_BRIDGE_OUT_TLWRITEDATA {
   874  	eError	int32
   875  } [packed]
   876  
   877  PVRSRV_BRIDGE_IN_RGXCLEARBREAKPOINT {
   878  	hPrivData	IMG_HANDLE
   879  } [packed]
   880  
   881  PVRSRV_BRIDGE_OUT_RGXCLEARBREAKPOINT {
   882  	eError	int32
   883  } [packed]
   884  
   885  PVRSRV_BRIDGE_IN_RGXDISABLEBREAKPOINT {
   886  	hPrivData	IMG_HANDLE
   887  } [packed]
   888  
   889  PVRSRV_BRIDGE_OUT_RGXDISABLEBREAKPOINT {
   890  	eError	int32
   891  } [packed]
   892  
   893  PVRSRV_BRIDGE_IN_RGXENABLEBREAKPOINT {
   894  	hPrivData	IMG_HANDLE
   895  } [packed]
   896  
   897  PVRSRV_BRIDGE_OUT_RGXENABLEBREAKPOINT {
   898  	eError	int32
   899  } [packed]
   900  
   901  PVRSRV_BRIDGE_IN_RGXOVERALLOCATEBPREGISTERS {
   902  	ui32TempRegs	int32
   903  	ui32SharedRegs	int32
   904  } [packed]
   905  
   906  PVRSRV_BRIDGE_OUT_RGXOVERALLOCATEBPREGISTERS {
   907  	eError	int32
   908  } [packed]
   909  
   910  PVRSRV_BRIDGE_IN_RGXSETBREAKPOINT {
   911  	hPrivData		IMG_HANDLE
   912  	eFWDataMaster		int32
   913  	ui32BreakpointAddr	int32
   914  	ui32HandlerAddr		int32
   915  	ui32DM			int32
   916  } [packed]
   917  
   918  PVRSRV_BRIDGE_OUT_RGXSETBREAKPOINT {
   919  	eError	int32
   920  } [packed]
   921  
   922  PVRSRV_BRIDGE_IN_RGXCREATECOMPUTECONTEXT {
   923  	ui32Priority				int32
   924  	ui32FrameworkCmdize			len[psFrameworkCmd, int32]
   925  	psFrameworkCmd				ptr[in, array[int8]]
   926  	hPrivData				IMG_HANDLE
   927  	ui32StaticComputeContextStateSize	len[psStaticComputeContextState, int32]
   928  	psStaticComputeContextState		ptr[in, array[int8]]
   929  	ui32PackedCCBSizeU88			int32
   930  	ui32ContextFlags			flags[RGX_CONTEXT_FLAGS, int32]
   931  	ui64RobustnessAddress			int64
   932  	ui32MaxDeadlineMS			int32
   933  } [packed]
   934  
   935  PVRSRV_BRIDGE_OUT_RGXCREATECOMPUTECONTEXT {
   936  	hComputeContext	IMG_HANDLE
   937  	eError		int32
   938  } [packed]
   939  
   940  PVRSRV_BRIDGE_IN_RGXDESTROYCOMPUTECONTEXT {
   941  	hComputeContext	IMG_HANDLE
   942  } [packed]
   943  
   944  PVRSRV_BRIDGE_OUT_RGXDESTROYCOMPUTECONTEXT {
   945  	eError	int32
   946  } [packed]
   947  
   948  PVRSRV_BRIDGE_IN_RGXFLUSHCOMPUTEDATA {
   949  	hComputeContext	IMG_HANDLE
   950  } [packed]
   951  
   952  PVRSRV_BRIDGE_OUT_RGXFLUSHCOMPUTEDATA {
   953  	eError	int32
   954  } [packed]
   955  
   956  PVRSRV_BRIDGE_IN_RGXGETLASTCOMPUTECONTEXTRESETREASON {
   957  	hComputeContext	IMG_HANDLE
   958  } [packed]
   959  
   960  PVRSRV_BRIDGE_OUT_RGXGETLASTCOMPUTECONTEXTRESETREASON {
   961  	ui32LastResetReason	int32
   962  	ui32LastResetJobRef	int32
   963  	eError			int32
   964  } [packed]
   965  
   966  PVRSRV_BRIDGE_IN_RGXKICKCDM2 {
   967  	hComputeContext			IMG_HANDLE
   968  	ui32ClientCacheOpSeqNum		int32
   969  	ui32ClientUpdateCount		len[phClientUpdateUFOSyncPrimBlock, int32]
   970  	phClientUpdateUFOSyncPrimBlock	ptr[in, array[IMG_HANDLE]]
   971  	pui32ClientUpdateOffset		ptr[in, array[int32]]
   972  	pui32ClientUpdateValue		ptr[in, array[int32]]
   973  	hCheckFenceFd			PVRSRV_FENCE
   974  	hUpdateTimeline			PVRSRV_TIMELINE
   975  	puiUpdateFenceName		ptr[in, array[int8]]
   976  	ui32CmdSize			len[psDMCmd, int32]
   977  	psDMCmd				ptr[in, array[int8]]
   978  	ui32PDumpFlags			flags[PDUMP_FLAGS, int32]
   979  	ui32ExtJobRef			int32
   980  	ui32NumOfWorkgroups		int32
   981  	ui32NumOfWorkitems		int32
   982  	ui64DeadlineInus		int64
   983  } [packed]
   984  
   985  PVRSRV_BRIDGE_OUT_RGXKICKCDM2 {
   986  	hUpdateFence	PVRSRV_FENCE
   987  	eError		int32
   988  } [packed]
   989  
   990  PVRSRV_BRIDGE_IN_RGXNOTIFYCOMPUTEWRITEOFFSETUPDATE {
   991  	hComputeContext	IMG_HANDLE
   992  } [packed]
   993  
   994  PVRSRV_BRIDGE_OUT_RGXNOTIFYCOMPUTEWRITEOFFSETUPDATE {
   995  	eError	int32
   996  } [packed]
   997  
   998  PVRSRV_BRIDGE_IN_RGXSETCOMPUTECONTEXTPRIORITY {
   999  	hComputeContext	IMG_HANDLE
  1000  	ui32Priority	int32
  1001  } [packed]
  1002  
  1003  PVRSRV_BRIDGE_OUT_RGXSETCOMPUTECONTEXTPRIORITY {
  1004  	eError	int32
  1005  } [packed]
  1006  
  1007  PVRSRV_BRIDGE_IN_RGXSETCOMPUTECONTEXTPROPERTY {
  1008  	hComputeContext	IMG_HANDLE
  1009  	ui32Property	int32
  1010  	ui64Input	int64
  1011  } [packed]
  1012  
  1013  PVRSRV_BRIDGE_OUT_RGXSETCOMPUTECONTEXTPROPERTY {
  1014  	ui64Output	int64
  1015  	eError		int32
  1016  } [packed]
  1017  
  1018  PVRSRV_BRIDGE_IN_RGXCURRENTTIME {
  1019  	ui32EmptyStructPlaceholder	const[0, int32]
  1020  } [packed]
  1021  
  1022  PVRSRV_BRIDGE_OUT_RGXCURRENTTIME {
  1023  	ui64Time	int64
  1024  	eError		int32
  1025  } [packed]
  1026  
  1027  PVRSRV_BRIDGE_IN_RGXFWDEBUGDUMPFREELISTPAGELIST {
  1028  	ui32EmptyStructPlaceholder	const[0, int32]
  1029  } [packed]
  1030  
  1031  PVRSRV_BRIDGE_OUT_RGXFWDEBUGDUMPFREELISTPAGELIST {
  1032  	eError	int32
  1033  } [packed]
  1034  
  1035  PVRSRV_BRIDGE_IN_RGXFWDEBUGPHRCONFIGURE {
  1036  	ui32ui32PHRMode	int32
  1037  } [packed]
  1038  
  1039  PVRSRV_BRIDGE_OUT_RGXFWDEBUGPHRCONFIGURE {
  1040  	eError	int32
  1041  } [packed]
  1042  
  1043  PVRSRV_BRIDGE_IN_RGXFWDEBUGSETFWLOG {
  1044  	ui32RGXFWLogType	int32
  1045  } [packed]
  1046  
  1047  PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETFWLOG {
  1048  	eError	int32
  1049  } [packed]
  1050  
  1051  PVRSRV_BRIDGE_IN_RGXFWDEBUGSETHCSDEADLINE {
  1052  	ui32RGXHCSDeadline	int32
  1053  } [packed]
  1054  
  1055  PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETHCSDEADLINE {
  1056  	eError	int32
  1057  } [packed]
  1058  
  1059  PVRSRV_BRIDGE_IN_RGXFWDEBUGSETOSIDPRIORITY {
  1060  	ui32OSid	int32
  1061  	ui32Priority	int32
  1062  } [packed]
  1063  
  1064  PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETOSIDPRIORITY {
  1065  	eError	int32
  1066  } [packed]
  1067  
  1068  PVRSRV_BRIDGE_IN_RGXFWDEBUGSETOSNEWONLINESTATE {
  1069  	ui32OSid	int32
  1070  	ui32OSNewState	int32
  1071  } [packed]
  1072  
  1073  PVRSRV_BRIDGE_OUT_RGXFWDEBUGSETOSNEWONLINESTATE {
  1074  	eError	int32
  1075  } [packed]
  1076  
  1077  PVRSRV_BRIDGE_IN_RGXCONFIGCUSTOMCOUNTERS {
  1078  	ui16CustomBlockID	int16
  1079  	ui16NumCustomCounters	len[pui32CustomCounterIDs, int16]
  1080  	pui32CustomCounterIDs	ptr[in, array[int32]]
  1081  } [packed]
  1082  
  1083  PVRSRV_BRIDGE_OUT_RGXCONFIGCUSTOMCOUNTERS {
  1084  	eError	int32
  1085  } [packed]
  1086  
  1087  PVRSRV_BRIDGE_IN_RGXCONFIGENABLEHWPERFCOUNTERS {
  1088  	ui32ArrayLen	len[psBlockConfigs, int32]
  1089  	psBlockConfigs	ptr[in, array[RGX_HWPERF_CONFIG_CNTBLK]]
  1090  } [packed]
  1091  
  1092  PVRSRV_BRIDGE_OUT_RGXCONFIGENABLEHWPERFCOUNTERS {
  1093  	eError	int32
  1094  } [packed]
  1095  
  1096  PVRSRV_BRIDGE_IN_RGXCTRLHWPERF {
  1097  	ui32StreamId	int32
  1098  	bToggle		bool32
  1099  	ui64Mask	int64
  1100  } [packed]
  1101  
  1102  PVRSRV_BRIDGE_OUT_RGXCTRLHWPERF {
  1103  	eError	int32
  1104  } [packed]
  1105  
  1106  PVRSRV_BRIDGE_IN_RGXCTRLHWPERFCOUNTERS {
  1107  	bEnable		bool32
  1108  	ui32ArrayLen	len[pui16BlockIDs, int32]
  1109  	pui16BlockIDs	ptr[in, array[int16]]
  1110  } [packed]
  1111  
  1112  PVRSRV_BRIDGE_OUT_RGXCTRLHWPERFCOUNTERS {
  1113  	eError	int32
  1114  } [packed]
  1115  
  1116  PVRSRV_BRIDGE_IN_RGXGETHWPERFBVNCFEATUREFLAGS {
  1117  	ui32EmptyStructPlaceholder	const[0, int32]
  1118  } [packed]
  1119  
  1120  PVRSRV_BRIDGE_OUT_RGXGETHWPERFBVNCFEATUREFLAGS {
  1121  	sBVNC	RGX_HWPERF_BVNC
  1122  	eError	int32
  1123  } [packed]
  1124  
  1125  PVRSRV_BRIDGE_IN_RGXCREATEKICKSYNCCONTEXT {
  1126  	hPrivData		IMG_HANDLE
  1127  	ui32PackedCCBSizeU88	int32
  1128  	ui32ContextFlags	flags[RGX_CONTEXT_FLAGS, int32]
  1129  } [packed]
  1130  
  1131  PVRSRV_BRIDGE_OUT_RGXCREATEKICKSYNCCONTEXT {
  1132  	hKickSyncContext	IMG_HANDLE
  1133  	eError			int32
  1134  } [packed]
  1135  
  1136  PVRSRV_BRIDGE_IN_RGXDESTROYKICKSYNCCONTEXT {
  1137  	hKickSyncContext	IMG_HANDLE
  1138  } [packed]
  1139  
  1140  PVRSRV_BRIDGE_OUT_RGXDESTROYKICKSYNCCONTEXT {
  1141  	eError	int32
  1142  } [packed]
  1143  
  1144  PVRSRV_BRIDGE_IN_RGXKICKSYNC2 {
  1145  	hKickSyncContext	IMG_HANDLE
  1146  	ui32ClientCacheOpSeqNum	int32
  1147  	ui32ClientUpdateCount	len[phUpdateUFODevVarBlock, int32]
  1148  	phUpdateUFODevVarBlock	ptr[in, array[IMG_HANDLE]]
  1149  	pui32UpdateDevVarOffset	ptr[in, array[int32]]
  1150  	pui32UpdateValue	ptr[in, array[int32]]
  1151  	hCheckFenceFD		PVRSRV_FENCE
  1152  	hTimelineFenceFD	PVRSRV_TIMELINE
  1153  	puiUpdateFenceName	ptr[in, array[int8]]
  1154  	ui32ExtJobRef		int32
  1155  } [packed]
  1156  
  1157  PVRSRV_BRIDGE_OUT_RGXKICKSYNC2 {
  1158  	hUpdateFenceFD	PVRSRV_FENCE
  1159  	eError		int32
  1160  } [packed]
  1161  
  1162  PVRSRV_BRIDGE_IN_RGXSETKICKSYNCCONTEXTPROPERTY {
  1163  	hKickSyncContext	IMG_HANDLE
  1164  	ui32Property		int32
  1165  	ui64Input		int64
  1166  } [packed]
  1167  
  1168  PVRSRV_BRIDGE_OUT_RGXSETKICKSYNCCONTEXTPROPERTY {
  1169  	ui64Output	int64
  1170  	eError		int32
  1171  } [packed]
  1172  
  1173  PVRSRV_BRIDGE_IN_RGXADDREGCONFIG {
  1174  	ui32RegAddr	int32
  1175  	ui64RegValue	int64
  1176  	ui64RegMask	int64
  1177  } [packed]
  1178  
  1179  PVRSRV_BRIDGE_OUT_RGXADDREGCONFIG {
  1180  	eError	int32
  1181  } [packed]
  1182  
  1183  PVRSRV_BRIDGE_IN_RGXCLEARREGCONFIG {
  1184  	ui32EmptyStructPlaceholder	const[0, int32]
  1185  } [packed]
  1186  
  1187  PVRSRV_BRIDGE_OUT_RGXCLEARREGCONFIG {
  1188  	eError	int32
  1189  } [packed]
  1190  
  1191  PVRSRV_BRIDGE_IN_RGXDISABLEREGCONFIG {
  1192  	ui32EmptyStructPlaceholder	const[0, int32]
  1193  } [packed]
  1194  
  1195  PVRSRV_BRIDGE_OUT_RGXDISABLEREGCONFIG {
  1196  	eError	int32
  1197  } [packed]
  1198  
  1199  PVRSRV_BRIDGE_IN_RGXENABLEREGCONFIG {
  1200  	ui32EmptyStructPlaceholder	const[0, int32]
  1201  } [packed]
  1202  
  1203  PVRSRV_BRIDGE_OUT_RGXENABLEREGCONFIG {
  1204  	eError	int32
  1205  } [packed]
  1206  
  1207  PVRSRV_BRIDGE_IN_RGXSETREGCONFIGTYPE {
  1208  	ui8RegPowerIsland	int8
  1209  } [packed]
  1210  
  1211  PVRSRV_BRIDGE_OUT_RGXSETREGCONFIGTYPE {
  1212  	eError	int32
  1213  } [packed]
  1214  
  1215  PVRSRV_BRIDGE_IN_RGXNOTIFYSIGNALUPDATE {
  1216  	hPrivData		IMG_HANDLE
  1217  	sDevSignalAddress	IMG_DEV_VIRTADDR
  1218  } [packed]
  1219  
  1220  PVRSRV_BRIDGE_OUT_RGXNOTIFYSIGNALUPDATE {
  1221  	eError	int32
  1222  } [packed]
  1223  
  1224  PVRSRV_BRIDGE_IN_RGXCREATEFREELIST {
  1225  	hMemCtxPrivData		IMG_HANDLE
  1226  	ui32MaxFLPages		int32
  1227  	ui32InitFLPages		int32
  1228  	ui32GrowFLPages		int32
  1229  	ui32GrowParamThreshold	int32
  1230  	hsGlobalFreeList	IMG_HANDLE
  1231  	bbFreeListCheck		bool32
  1232  	spsFreeListDevVAddr	IMG_DEV_VIRTADDR
  1233  	hsFreeListPMR		IMG_HANDLE
  1234  	uiPMROffset		int64
  1235  } [packed]
  1236  
  1237  PVRSRV_BRIDGE_OUT_RGXCREATEFREELIST {
  1238  	hCleanupCookie	IMG_HANDLE
  1239  	eError		int32
  1240  } [packed]
  1241  
  1242  PVRSRV_BRIDGE_IN_RGXCREATEHWRTDATASET {
  1243  	ssVHeapTableDevVAddr		IMG_DEV_VIRTADDR
  1244  	sPMMlistDevVAddr0		IMG_DEV_VIRTADDR
  1245  	sPMMlistDevVAddr1		IMG_DEV_VIRTADDR
  1246  	phapsFreeLists			ptr[in, array[IMG_HANDLE]]
  1247  	ui32PPPScreen			int32
  1248  	ui64MultiSampleCtl		int64
  1249  	ui64FlippedMultiSampleCtl	int64
  1250  	ui32TPCStride			int32
  1251  	sTailPtrsDevVAddr		IMG_DEV_VIRTADDR
  1252  	ui32TPCSize			int32
  1253  	ui32TEScreen			int32
  1254  	ui32TEAA			int32
  1255  	ui32TEMTILE1			int32
  1256  	ui32TEMTILE2			int32
  1257  	ui32MTileStride			int32
  1258  	ui32ui32ISPMergeLowerX		int32
  1259  	ui32ui32ISPMergeLowerY		int32
  1260  	ui32ui32ISPMergeUpperX		int32
  1261  	ui32ui32ISPMergeUpperY		int32
  1262  	ui32ui32ISPMergeScaleX		int32
  1263  	ui32ui32ISPMergeScaleY		int32
  1264  	ssMacrotileArrayDevVAddr0	IMG_DEV_VIRTADDR
  1265  	ssMacrotileArrayDevVAddr1	IMG_DEV_VIRTADDR
  1266  	ssRgnHeaderDevVAddr0		IMG_DEV_VIRTADDR
  1267  	ssRgnHeaderDevVAddr1		IMG_DEV_VIRTADDR
  1268  	ssRTCDevVAddr			IMG_DEV_VIRTADDR
  1269  	ui64uiRgnHeaderSize		int64
  1270  	ui32ui32ISPMtileSize		int32
  1271  	ui16MaxRTs			int16
  1272  } [packed]
  1273  
  1274  PVRSRV_BRIDGE_OUT_RGXCREATEHWRTDATASET {
  1275  	hKmHwRTDataSet0	IMG_HANDLE
  1276  	hKmHwRTDataSet1	IMG_HANDLE
  1277  	eError		int32
  1278  } [packed]
  1279  
  1280  PVRSRV_BRIDGE_IN_RGXCREATERENDERCONTEXT {
  1281  	ui32Priority				int32
  1282  	sVDMCallStackAddr			IMG_DEV_VIRTADDR
  1283  	ui32FrameworkCmdSize			len[psFrameworkCmd, int32]
  1284  	psFrameworkCmd				ptr[in, array[int8]]
  1285  	hPrivData				IMG_HANDLE
  1286  	ui32StaticRenderContextStateSize	len[psStaticRenderContextState, int32]
  1287  	psStaticRenderContextState		ptr[in, array[int8]]
  1288  	ui32PackedCCBSizeU8888			int32
  1289  	ui32ContextFlags			flags[RGX_CONTEXT_FLAGS, int32]
  1290  	ui64RobustnessAddress			int64
  1291  	ui32MaxTADeadlineMS			int32
  1292  	ui32Max3DDeadlineMS			int32
  1293  } [packed]
  1294  
  1295  PVRSRV_BRIDGE_OUT_RGXCREATERENDERCONTEXT {
  1296  	hRenderContext	IMG_HANDLE
  1297  	eError		int32
  1298  } [packed]
  1299  
  1300  PVRSRV_BRIDGE_IN_RGXCREATEZSBUFFER {
  1301  	hReservation	IMG_HANDLE
  1302  	hPMR		IMG_HANDLE
  1303  	uiMapFlags	flags[PVRSRV_MEMALLOCFLAGS_T, int32]
  1304  } [packed]
  1305  
  1306  PVRSRV_BRIDGE_OUT_RGXCREATEZSBUFFER {
  1307  	hsZSBufferKM	IMG_HANDLE
  1308  	eError		int32
  1309  } [packed]
  1310  
  1311  PVRSRV_BRIDGE_IN_RGXDESTROYFREELIST {
  1312  	hCleanupCookie	IMG_HANDLE
  1313  } [packed]
  1314  
  1315  PVRSRV_BRIDGE_OUT_RGXDESTROYFREELIST {
  1316  	eError	int32
  1317  } [packed]
  1318  
  1319  PVRSRV_BRIDGE_IN_RGXDESTROYHWRTDATASET {
  1320  	hKmHwRTDataSet	IMG_HANDLE
  1321  } [packed]
  1322  
  1323  PVRSRV_BRIDGE_OUT_RGXDESTROYHWRTDATASET {
  1324  	eError	int32
  1325  } [packed]
  1326  
  1327  PVRSRV_BRIDGE_IN_RGXDESTROYRENDERCONTEXT {
  1328  	hCleanupCookie	IMG_HANDLE
  1329  } [packed]
  1330  
  1331  PVRSRV_BRIDGE_OUT_RGXDESTROYRENDERCONTEXT {
  1332  	eError	int32
  1333  } [packed]
  1334  
  1335  PVRSRV_BRIDGE_IN_RGXDESTROYZSBUFFER {
  1336  	hsZSBufferMemDesc	IMG_HANDLE
  1337  } [packed]
  1338  
  1339  PVRSRV_BRIDGE_OUT_RGXDESTROYZSBUFFER {
  1340  	eError	int32
  1341  } [packed]
  1342  
  1343  PVRSRV_BRIDGE_IN_RGXGETLASTRENDERCONTEXTRESETREASON {
  1344  	hRenderContext	IMG_HANDLE
  1345  } [packed]
  1346  
  1347  PVRSRV_BRIDGE_OUT_RGXGETLASTRENDERCONTEXTRESETREASON {
  1348  	ui32LastResetReason	int32
  1349  	ui32LastResetJobRef	int32
  1350  	eError			int32
  1351  } [packed]
  1352  
  1353  PVRSRV_BRIDGE_IN_RGXKICKTA3D2 {
  1354  	hRenderContext			IMG_HANDLE
  1355  	ui32ClientCacheOpSeqNum		int32
  1356  	ui32ClientTAFenceCount		len[phClientTAFenceSyncPrimBlock, int32]
  1357  	phClientTAFenceSyncPrimBlock	ptr[in, array[IMG_HANDLE]]
  1358  	pui32ClientTAFenceSyncOffset	ptr[in, array[int32]]
  1359  	pui32ClientTAFenceValue		ptr[in, array[int32]]
  1360  	ui32ClientTAUpdateCount		len[phClientTAUpdateSyncPrimBlock, int32]
  1361  	phClientTAUpdateSyncPrimBlock	ptr[in, array[IMG_HANDLE]]
  1362  	pui32ClientTAUpdateSyncOffset	ptr[in, array[int32]]
  1363  	pui32ClientTAUpdateValue	ptr[in, array[int32]]
  1364  	ui32Client3DUpdateCount		len[phClient3DUpdateSyncPrimBlock, int32]
  1365  	phClient3DUpdateSyncPrimBlock	ptr[in, array[IMG_HANDLE]]
  1366  	pui32Client3DUpdateSyncOffset	ptr[in, array[int32]]
  1367  	pui32Client3DUpdateValue	ptr[in, array[int32]]
  1368  	hPRFenceUFOSyncPrimBlock	IMG_HANDLE
  1369  	ui32FRFenceUFOSyncOffset	int32
  1370  	ui32FRFenceValue		int32
  1371  	hCheckFence			PVRSRV_FENCE
  1372  	hUpdateTimeline			PVRSRV_TIMELINE
  1373  	puiUpdateFenceName		ptr[in, array[int8]]
  1374  	hCheckFence3D			PVRSRV_FENCE
  1375  	hUpdateTimeline3D		PVRSRV_TIMELINE
  1376  	puiUpdateFenceName3D		ptr[in, array[int8]]
  1377  	ui32TACmdSize			len[psTACmd, int32]
  1378  	psTACmd				ptr[in, array[int8]]
  1379  	ui323DPRCmdSize			len[ps3DPRCmd, int32]
  1380  	ps3DPRCmd			ptr[in, array[int8]]
  1381  	ui323DCmdSize			len[ps3DCmd, int32]
  1382  	ps3DCmd				ptr[in, array[int8]]
  1383  	ui32ExtJobRef			int32
  1384  	bbKickTA			bool32
  1385  	bbKickPR			bool32
  1386  	bbKick3D			bool32
  1387  	bbAbort				bool32
  1388  	ui32PDumpFlags			flags[PDUMP_FLAGS, int32]
  1389  	hKMHWRTDataSet			IMG_HANDLE
  1390  	hZSBuffer			IMG_HANDLE
  1391  	hMSAAScratchBuffer		IMG_HANDLE
  1392  	ui32SyncPMRCount		len[pui32SyncPMRFlags, int32]
  1393  	pui32SyncPMRFlags		ptr[in, array[int32]]
  1394  	phSyncPMRs			ptr[in, array[IMG_HANDLE]]
  1395  	ui32RenderTargetSize		int32
  1396  	ui32NumberOfDrawCalls		int32
  1397  	ui32NumberOfIndices		int32
  1398  	ui32NumberOfMRTs		int32
  1399  	ui64Deadline			int64
  1400  } [packed]
  1401  
  1402  PVRSRV_BRIDGE_OUT_RGXKICKTA3D2 {
  1403  	hUpdateFence	PVRSRV_FENCE
  1404  	hUpdateFence3D	PVRSRV_FENCE
  1405  	eError		int32
  1406  } [packed]
  1407  
  1408  PVRSRV_BRIDGE_IN_RGXPOPULATEZSBUFFER {
  1409  	hsZSBufferKM	IMG_HANDLE
  1410  } [packed]
  1411  
  1412  PVRSRV_BRIDGE_OUT_RGXPOPULATEZSBUFFER {
  1413  	hsPopulation	IMG_HANDLE
  1414  	eError		int32
  1415  } [packed]
  1416  
  1417  PVRSRV_BRIDGE_IN_RGXRENDERCONTEXTSTALLED {
  1418  	hRenderContext	IMG_HANDLE
  1419  } [packed]
  1420  
  1421  PVRSRV_BRIDGE_OUT_RGXRENDERCONTEXTSTALLED {
  1422  	eError	int32
  1423  } [packed]
  1424  
  1425  PVRSRV_BRIDGE_IN_RGXSETRENDERCONTEXTPRIORITY {
  1426  	hRenderContext	IMG_HANDLE
  1427  	ui32Priority	int32
  1428  } [packed]
  1429  
  1430  PVRSRV_BRIDGE_OUT_RGXSETRENDERCONTEXTPRIORITY {
  1431  	eError	int32
  1432  } [packed]
  1433  
  1434  PVRSRV_BRIDGE_IN_RGXSETRENDERCONTEXTPROPERTY {
  1435  	hRenderContext	IMG_HANDLE
  1436  	ui32Property	int32
  1437  	ui64Input	int64
  1438  } [packed]
  1439  
  1440  PVRSRV_BRIDGE_OUT_RGXSETRENDERCONTEXTPROPERTY {
  1441  	ui64Output	int64
  1442  	eError		int32
  1443  } [packed]
  1444  
  1445  PVRSRV_BRIDGE_IN_RGXUNPOPULATEZSBUFFER {
  1446  	hsPopulation	IMG_HANDLE
  1447  } [packed]
  1448  
  1449  PVRSRV_BRIDGE_OUT_RGXUNPOPULATEZSBUFFER {
  1450  	eError	int32
  1451  } [packed]
  1452  
  1453  PVRSRV_BRIDGE_IN_RGXCREATETRANSFERCONTEXT {
  1454  	ui32Priority		int32
  1455  	ui32FrameworkCmdize	len[psFrameworkCmd, int32]
  1456  	psFrameworkCmd		ptr[in, array[int8]]
  1457  	hPrivData		IMG_HANDLE
  1458  	ui32PackedCCBSizeU8888	int32
  1459  	ui32ContextFlags	flags[RGX_CONTEXT_FLAGS, int32]
  1460  } [packed]
  1461  
  1462  PVRSRV_BRIDGE_OUT_RGXCREATETRANSFERCONTEXT {
  1463  	hTransferContext	IMG_HANDLE
  1464  	hCLIPMRMem		IMG_HANDLE
  1465  	hUSCPMRMem		IMG_HANDLE
  1466  	eError			int32
  1467  } [packed]
  1468  
  1469  PVRSRV_BRIDGE_IN_RGXDESTROYTRANSFERCONTEXT {
  1470  	hTransferContext	IMG_HANDLE
  1471  } [packed]
  1472  
  1473  PVRSRV_BRIDGE_OUT_RGXDESTROYTRANSFERCONTEXT {
  1474  	eError	int32
  1475  } [packed]
  1476  
  1477  PVRSRV_BRIDGE_IN_RGXSETTRANSFERCONTEXTPRIORITY {
  1478  	hTransferContext	IMG_HANDLE
  1479  	ui32Priority		int32
  1480  } [packed]
  1481  
  1482  PVRSRV_BRIDGE_OUT_RGXSETTRANSFERCONTEXTPRIORITY {
  1483  	eError	int32
  1484  } [packed]
  1485  
  1486  PVRSRV_BRIDGE_IN_RGXSETTRANSFERCONTEXTPROPERTY {
  1487  	hTransferContext	IMG_HANDLE
  1488  	ui32Property		int32
  1489  	ui64Input		int64
  1490  } [packed]
  1491  
  1492  PVRSRV_BRIDGE_OUT_RGXSETTRANSFERCONTEXTPROPERTY {
  1493  	ui64Output	int64
  1494  	eError		int32
  1495  } [packed]
  1496  
  1497  PVRSRV_BRIDGE_IN_RGXSUBMITTRANSFER2 {
  1498  	hTransferContext		IMG_HANDLE
  1499  	ui32ClientCacheOpSeqNum		int32
  1500  	ui32PrepareCount		len[pui32ClientUpdateCount, int32]
  1501  	pui32ClientUpdateCount		ptr[in, array[int32]]
  1502  	phUpdateUFOSyncPrimBlock	ptr[in, array[ptr[in, array[IMG_HANDLE]]]]
  1503  	pui32UpdateSyncOffset		ptr[in, array[ptr[in, array[int32]]]]
  1504  	pui32UpdateValue		ptr[in, array[ptr[in, array[int32]]]]
  1505  	hCheckFenceFD			PVRSRV_FENCE
  1506  	h2DUpdateTimeline		PVRSRV_TIMELINE
  1507  	h3DUpdateTimeline		PVRSRV_TIMELINE
  1508  	puiUpdateFenceName		ptr[in, array[int8]]
  1509  	pui32CommandSize		ptr[in, array[int32]]
  1510  	pui8FWCommand			ptr[in, array[ptr[in, array[int8]]]]
  1511  	pui32TQPrepareFlags		ptr[in, array[flags[TQ_PREP_FLAGS, int32]]]
  1512  	ui32ExtJobRef			int32
  1513  	ui32SyncPMRCount		len[pui32SyncPMRFlags, int32]
  1514  	pui32SyncPMRFlags		ptr[in, array[int32]]
  1515  	phSyncPMRs			ptr[in, array[IMG_HANDLE]]
  1516  } [packed]
  1517  
  1518  PVRSRV_BRIDGE_OUT_RGXSUBMITTRANSFER2 {
  1519  	h2DUpdateFence	PVRSRV_FENCE
  1520  	h3DUpdateFence	PVRSRV_FENCE
  1521  	eError		int32
  1522  } [packed]
  1523  
  1524  PVRSRV_BRIDGE_IN_RGXTDMCREATETRANSFERCONTEXT {
  1525  	ui32Priority		int32
  1526  	ui32FrameworkCmdize	len[psFrameworkCmd, int32]
  1527  	psFrameworkCmd		ptr[in, array[int8]]
  1528  	hPrivData		IMG_HANDLE
  1529  	ui32PackedCCBSizeU88	int32
  1530  	ui32ContextFlags	flags[RGX_CONTEXT_FLAGS, int32]
  1531  } [packed]
  1532  
  1533  PVRSRV_BRIDGE_OUT_RGXTDMCREATETRANSFERCONTEXT {
  1534  	hTransferContext	IMG_HANDLE
  1535  	eError			int32
  1536  } [packed]
  1537  
  1538  PVRSRV_BRIDGE_IN_RGXTDMDESTROYTRANSFERCONTEXT {
  1539  	hTransferContext	IMG_HANDLE
  1540  } [packed]
  1541  
  1542  PVRSRV_BRIDGE_OUT_RGXTDMDESTROYTRANSFERCONTEXT {
  1543  	eError	int32
  1544  } [packed]
  1545  
  1546  PVRSRV_BRIDGE_IN_RGXTDMGETSHAREDMEMORY {
  1547  	ui32EmptyStructPlaceholder	const[0, int32]
  1548  } [packed]
  1549  
  1550  PVRSRV_BRIDGE_OUT_RGXTDMGETSHAREDMEMORY {
  1551  	hCLIPMRMem	IMG_HANDLE
  1552  	hUSCPMRMem	IMG_HANDLE
  1553  	eError		int32
  1554  } [packed]
  1555  
  1556  PVRSRV_BRIDGE_IN_RGXTDMNOTIFYWRITEOFFSETUPDATE {
  1557  	hTransferContext	IMG_HANDLE
  1558  	ui32PDumpFlags		flags[PDUMP_FLAGS, int32]
  1559  } [packed]
  1560  
  1561  PVRSRV_BRIDGE_OUT_RGXTDMNOTIFYWRITEOFFSETUPDATE {
  1562  	eError	int32
  1563  } [packed]
  1564  
  1565  PVRSRV_BRIDGE_IN_RGXTDMRELEASESHAREDMEMORY {
  1566  	hPMRMem	IMG_HANDLE
  1567  } [packed]
  1568  
  1569  PVRSRV_BRIDGE_OUT_RGXTDMRELEASESHAREDMEMORY {
  1570  	eError	int32
  1571  } [packed]
  1572  
  1573  PVRSRV_BRIDGE_IN_RGXTDMSETTRANSFERCONTEXTPRIORITY {
  1574  	hTransferContext	IMG_HANDLE
  1575  	ui32Priority		int32
  1576  } [packed]
  1577  
  1578  PVRSRV_BRIDGE_OUT_RGXTDMSETTRANSFERCONTEXTPRIORITY {
  1579  	eError	int32
  1580  } [packed]
  1581  
  1582  PVRSRV_BRIDGE_IN_RGXTDMSETTRANSFERCONTEXTPROPERTY {
  1583  	hTransferContext	IMG_HANDLE
  1584  	ui32Property		int32
  1585  	ui64Input		int64
  1586  } [packed]
  1587  
  1588  PVRSRV_BRIDGE_OUT_RGXTDMSETTRANSFERCONTEXTPROPERTY {
  1589  	ui64Output	int64
  1590  	eError		int32
  1591  } [packed]
  1592  
  1593  PVRSRV_BRIDGE_IN_RGXTDMSUBMITTRANSFER2 {
  1594  	hTransferContext		IMG_HANDLE
  1595  	ui32PDumpFlags			flags[PDUMP_FLAGS, int32]
  1596  	ui32ClientCacheOpSeqNum		int32
  1597  	ui32ClientUpdateCount		len[phUpdateUFOSyncPrimBlock, int32]
  1598  	phUpdateUFOSyncPrimBlock	ptr[in, array[IMG_HANDLE]]
  1599  	pui32UpdateSyncOffset		ptr[in, array[int32]]
  1600  	pui32UpdateValue		ptr[in, array[int32]]
  1601  	hCheckFenceFD			PVRSRV_FENCE
  1602  	hUpdateTimeline			PVRSRV_TIMELINE
  1603  	puiUpdateFenceName		ptr[in, array[int8]]
  1604  	ui32CommandSize			len[pui8FWCommand, int32]
  1605  	pui8FWCommand			ptr[in, array[int8]]
  1606  	ui32ExternalJobReference	int32
  1607  	ui32SyncPMRCount		len[pui32SyncPMRFlags, int32]
  1608  	pui32SyncPMRFlags		ptr[in, array[int32]]
  1609  	phSyncPMRs			ptr[in, array[IMG_HANDLE]]
  1610  	ui32Characteristic1		int32
  1611  	ui32Characteristic2		int32
  1612  	ui64DeadlineInus		int64
  1613  } [packed]
  1614  
  1615  PVRSRV_BRIDGE_OUT_RGXTDMSUBMITTRANSFER2 {
  1616  	hUpdateFence	PVRSRV_FENCE
  1617  	eError		int32
  1618  } [packed]
  1619  
  1620  PVRSRV_BRIDGE_IN_ACQUIREGLOBALEVENTOBJECT {
  1621  	ui32EmptyStructPlaceholder	const[0, int32]
  1622  } [packed]
  1623  
  1624  PVRSRV_BRIDGE_OUT_ACQUIREGLOBALEVENTOBJECT {
  1625  	hGlobalEventObject	IMG_HANDLE
  1626  	eError			int32
  1627  } [packed]
  1628  
  1629  PVRSRV_BRIDGE_IN_ACQUIREINFOPAGE {
  1630  	ui32EmptyStructPlaceholder	const[0, int32]
  1631  } [packed]
  1632  
  1633  PVRSRV_BRIDGE_OUT_ACQUIREINFOPAGE {
  1634  	hPMR	IMG_HANDLE
  1635  	eError	int32
  1636  } [packed]
  1637  
  1638  PVRSRV_BRIDGE_IN_ALIGNMENTCHECK {
  1639  	ui32AlignChecksSize	len[pui32AlignChecks, int32]
  1640  	pui32AlignChecks	ptr[in, array[int32]]
  1641  } [packed]
  1642  
  1643  PVRSRV_BRIDGE_OUT_ALIGNMENTCHECK {
  1644  	eError	int32
  1645  } [packed]
  1646  
  1647  PVRSRV_BRIDGE_IN_CONNECT {
  1648  	ui32Flags		int32
  1649  	ui32ClientBuildOptions	int32
  1650  	ui32ClientDDKVersion	int32
  1651  	ui32ClientDDKBuild	int32
  1652  } [packed]
  1653  
  1654  PVRSRV_BRIDGE_OUT_CONNECT {
  1655  	ui8KernelArch		int8
  1656  	ui32CapabilityFlags	int32
  1657  	ui64PackedBvnc		int64
  1658  	eError			int32
  1659  } [packed]
  1660  
  1661  PVRSRV_BRIDGE_IN_DISCONNECT {
  1662  	ui32EmptyStructPlaceholder	const[0, int32]
  1663  } [packed]
  1664  
  1665  PVRSRV_BRIDGE_OUT_DISCONNECT {
  1666  	eError	int32
  1667  } [packed]
  1668  
  1669  PVRSRV_BRIDGE_IN_DUMPDEBUGINFO {
  1670  	ui32VerbLevel	int32
  1671  } [packed]
  1672  
  1673  PVRSRV_BRIDGE_OUT_DUMPDEBUGINFO {
  1674  	eError	int32
  1675  } [packed]
  1676  
  1677  PVRSRV_BRIDGE_IN_EVENTOBJECTCLOSE {
  1678  	hOSEventKM	IMG_HANDLE
  1679  } [packed]
  1680  
  1681  PVRSRV_BRIDGE_OUT_EVENTOBJECTCLOSE {
  1682  	eError	int32
  1683  } [packed]
  1684  
  1685  PVRSRV_BRIDGE_IN_EVENTOBJECTOPEN {
  1686  	hEventObject	IMG_HANDLE
  1687  } [packed]
  1688  
  1689  PVRSRV_BRIDGE_OUT_EVENTOBJECTOPEN {
  1690  	hOSEvent	IMG_HANDLE
  1691  	eError		int32
  1692  } [packed]
  1693  
  1694  PVRSRV_BRIDGE_IN_EVENTOBJECTWAIT {
  1695  	hOSEventKM	IMG_HANDLE
  1696  } [packed]
  1697  
  1698  PVRSRV_BRIDGE_OUT_EVENTOBJECTWAIT {
  1699  	eError	int32
  1700  } [packed]
  1701  
  1702  PVRSRV_BRIDGE_IN_EVENTOBJECTWAITTIMEOUT {
  1703  	hOSEventKM	IMG_HANDLE
  1704  	ui64uiTimeoutus	int64
  1705  } [packed]
  1706  
  1707  PVRSRV_BRIDGE_OUT_EVENTOBJECTWAITTIMEOUT {
  1708  	eError	int32
  1709  } [packed]
  1710  
  1711  PVRSRV_BRIDGE_IN_FINDPROCESSMEMSTATS {
  1712  	ui32PID			int32
  1713  	ui32ArrSize		len[pui32MemStatsArray, int32]
  1714  	bbAllProcessStats	bool32
  1715  	pui32MemStatsArray	ptr[in, array[int32]]
  1716  } [packed]
  1717  
  1718  PVRSRV_BRIDGE_OUT_FINDPROCESSMEMSTATS {
  1719  	pui32MemStatsArray	ptr[out, array[int32]]
  1720  	eError			int32
  1721  } [packed]
  1722  
  1723  PVRSRV_BRIDGE_IN_GETDEVCLOCKSPEED {
  1724  	ui32EmptyStructPlaceholder	const[0, int32]
  1725  } [packed]
  1726  
  1727  PVRSRV_BRIDGE_OUT_GETDEVCLOCKSPEED {
  1728  	ui32ClockSpeed	int32
  1729  	eError		int32
  1730  } [packed]
  1731  
  1732  PVRSRV_BRIDGE_IN_GETDEVICESTATUS {
  1733  	ui32EmptyStructPlaceholder	const[0, int32]
  1734  } [packed]
  1735  
  1736  PVRSRV_BRIDGE_OUT_GETDEVICESTATUS {
  1737  	ui32DeviceSatus	int32
  1738  	eError		int32
  1739  } [packed]
  1740  
  1741  PVRSRV_BRIDGE_IN_GETMULTICOREINFO {
  1742  	ui32CapsSize	len[pui64Caps, int32]
  1743  	pui64Caps	ptr[in, array[int64]]
  1744  } [packed]
  1745  
  1746  PVRSRV_BRIDGE_OUT_GETMULTICOREINFO {
  1747  	ui32NumCores	int32
  1748  	pui64Caps	ptr[out, array[int64]]
  1749  	eError		int32
  1750  } [packed]
  1751  
  1752  PVRSRV_BRIDGE_IN_HWOPTIMEOUT {
  1753  	ui32EmptyStructPlaceholder	const[0, int32]
  1754  } [packed]
  1755  
  1756  PVRSRV_BRIDGE_OUT_HWOPTIMEOUT {
  1757  	eError	int32
  1758  } [packed]
  1759  
  1760  PVRSRV_BRIDGE_IN_RELEASEGLOBALEVENTOBJECT {
  1761  	hGlobalEventObject	IMG_HANDLE
  1762  } [packed]
  1763  
  1764  PVRSRV_BRIDGE_OUT_RELEASEGLOBALEVENTOBJECT {
  1765  	eError	int32
  1766  } [packed]
  1767  
  1768  PVRSRV_BRIDGE_IN_RELEASEINFOPAGE {
  1769  	hPMR	IMG_HANDLE
  1770  } [packed]
  1771  
  1772  PVRSRV_BRIDGE_OUT_RELEASEINFOPAGE {
  1773  	eError	int32
  1774  } [packed]
  1775  
  1776  PVRSRV_BRIDGE_IN_ALLOCSYNCPRIMITIVEBLOCK {
  1777  	ui32EmptyStructPlaceholder	const[0, int32]
  1778  } [packed]
  1779  
  1780  PVRSRV_BRIDGE_OUT_ALLOCSYNCPRIMITIVEBLOCK {
  1781  	hSyncHandle		IMG_HANDLE
  1782  	ui32SyncPrimVAddr	int32
  1783  	ui32SyncPrimBlockSize	int32
  1784  	hhSyncPMR		IMG_HANDLE
  1785  	eError			int32
  1786  } [packed]
  1787  
  1788  PVRSRV_BRIDGE_IN_FREESYNCPRIMITIVEBLOCK {
  1789  	hSyncHandle	IMG_HANDLE
  1790  } [packed]
  1791  
  1792  PVRSRV_BRIDGE_OUT_FREESYNCPRIMITIVEBLOCK {
  1793  	eError	int32
  1794  } [packed]
  1795  
  1796  PVRSRV_BRIDGE_IN_SYNCALLOCEVENT {
  1797  	bServerSync		bool32
  1798  	ui32FWAddr		int32
  1799  	ui32ClassNameSize	len[puiClassName, int32]
  1800  	puiClassName		ptr[in, array[int8]]
  1801  } [packed]
  1802  
  1803  PVRSRV_BRIDGE_OUT_SYNCALLOCEVENT {
  1804  	eError	int32
  1805  } [packed]
  1806  
  1807  PVRSRV_BRIDGE_IN_SYNCCHECKPOINTSIGNALLEDPDUMPPOL {
  1808  	hFence	PVRSRV_FENCE
  1809  } [packed]
  1810  
  1811  PVRSRV_BRIDGE_OUT_SYNCCHECKPOINTSIGNALLEDPDUMPPOL {
  1812  	eError	int32
  1813  } [packed]
  1814  
  1815  PVRSRV_BRIDGE_IN_SYNCFREEEVENT {
  1816  	ui32FWAddr	int32
  1817  } [packed]
  1818  
  1819  PVRSRV_BRIDGE_OUT_SYNCFREEEVENT {
  1820  	eError	int32
  1821  } [packed]
  1822  
  1823  PVRSRV_BRIDGE_IN_SYNCPRIMPDUMP {
  1824  	hSyncHandle	IMG_HANDLE
  1825  	ui32Offset	int32
  1826  } [packed]
  1827  
  1828  PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMP {
  1829  	eError	int32
  1830  } [packed]
  1831  
  1832  PVRSRV_BRIDGE_IN_SYNCPRIMPDUMPCBP {
  1833  	hSyncHandle	IMG_HANDLE
  1834  	ui32Offset	int32
  1835  	uiWriteOffset	int64
  1836  	uiPacketSize	int64
  1837  	uiBufferSize	int64
  1838  } [packed]
  1839  
  1840  PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMPCBP {
  1841  	eError	int32
  1842  } [packed]
  1843  
  1844  PVRSRV_BRIDGE_IN_SYNCPRIMPDUMPPOL {
  1845  	hSyncHandle	IMG_HANDLE
  1846  	ui32Offset	int32
  1847  	ui32Value	int32
  1848  	ui32Mask	int32
  1849  	eOperator	flags[PDUMP_POLL_OPERATOR, int32]
  1850  	uiPDumpFlags	flags[PDUMP_FLAGS, int32]
  1851  } [packed]
  1852  
  1853  PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMPPOL {
  1854  	eError	int32
  1855  } [packed]
  1856  
  1857  PVRSRV_BRIDGE_IN_SYNCPRIMPDUMPVALUE {
  1858  	hSyncHandle	IMG_HANDLE
  1859  	ui32Offset	int32
  1860  	ui32Value	int32
  1861  } [packed]
  1862  
  1863  PVRSRV_BRIDGE_OUT_SYNCPRIMPDUMPVALUE {
  1864  	eError	int32
  1865  } [packed]
  1866  
  1867  PVRSRV_BRIDGE_IN_SYNCPRIMSET {
  1868  	hSyncHandle	IMG_HANDLE
  1869  	ui32Index	int32
  1870  	ui32Value	int32
  1871  } [packed]
  1872  
  1873  PVRSRV_BRIDGE_OUT_SYNCPRIMSET {
  1874  	eError	int32
  1875  } [packed]
  1876  
  1877  PVRSRV_BRIDGE_IN_SYNCRECORDADD {
  1878  	hhServerSyncPrimBlock	IMG_HANDLE
  1879  	ui32ui32FwBlockAddr	int32
  1880  	ui32ui32SyncOffset	int32
  1881  	bbServerSync		bool32
  1882  	ui32ClassNameSize	len[puiClassName, int32]
  1883  	puiClassName		ptr[in, array[int8]]
  1884  } [packed]
  1885  
  1886  PVRSRV_BRIDGE_OUT_SYNCRECORDADD {
  1887  	hhRecord	IMG_HANDLE
  1888  	eError		int32
  1889  } [packed]
  1890  
  1891  PVRSRV_BRIDGE_IN_SYNCRECORDREMOVEBYHANDLE {
  1892  	hhRecord	IMG_HANDLE
  1893  } [packed]
  1894  
  1895  PVRSRV_BRIDGE_OUT_SYNCRECORDREMOVEBYHANDLE {
  1896  	eError	int32
  1897  } [packed]
  1898  
  1899  RGX_HWPERF_CONFIG_CNTBLK {
  1900  	ui16BlockID		int16
  1901  	ui8CounterSelect	int8
  1902  	ui8Mode			int8
  1903  	aui8GroupSelect		array[int8, RGX_CNTBLK_COUNTERS_MAX]
  1904  	aui16BitSelect		array[int16, RGX_CNTBLK_COUNTERS_MAX]
  1905  	aui32BatchMax		array[int32, RGX_CNTBLK_COUNTERS_MAX]
  1906  	aui32BatchMin		array[int32, RGX_CNTBLK_COUNTERS_MAX]
  1907  } [align[8]]
  1908  
  1909  RGX_HWPERF_BVNC {
  1910  	aszBvncString		array[int8, RGX_HWPERF_MAX_BVNC_LEN]
  1911  	ui32BvncKmFeatureFlags	int32
  1912  	ui16BvncBlocks		int16
  1913  	ui16Reserved1		int16
  1914  	aBvncBlocks		array[RGX_HWPERF_BVNC_BLOCK, RGX_HWPERF_MAX_BVNC_BLOCK_LEN]
  1915  }
  1916  
  1917  RGX_HWPERF_BVNC_BLOCK {
  1918  	ui16BlockID	int16
  1919  	ui16NumCounters	int16
  1920  	ui16NumBlocks	int16
  1921  	ui16Reserved	int16
  1922  }
  1923  
  1924  # 0x200000-0x400000 is bits for PVRSRV_MEMALLOCFLAG_FW_ALLOC_TYPE_MASK
  1925  # 0x800000-0x2000000 is bits for PVRSRV_MEMALLOCFLAG_FW_ALLOC_OSID_MASK
  1926  # 0x4000000-0x8000000 is bits for PVRSRV_MEMALLOCFLAG_DEVICE_FLAGS_MASK
  1927  PVRSRV_MEMALLOCFLAGS_T = PVRSRV_MEMALLOCFLAG_GPU_READABLE, PVRSRV_MEMALLOCFLAG_GPU_WRITEABLE, PVRSRV_MEMALLOCFLAG_GPU_READ_PERMITTED, PVRSRV_MEMALLOCFLAG_GPU_WRITE_PERMITTED, PVRSRV_MEMALLOCFLAG_CPU_READABLE, PVRSRV_MEMALLOCFLAG_CPU_WRITEABLE, PVRSRV_MEMALLOCFLAG_CPU_READ_PERMITTED, PVRSRV_MEMALLOCFLAG_CPU_WRITE_PERMITTED, PVRSRV_MEMALLOCFLAG_GPU_UNCACHED, PVRSRV_MEMALLOCFLAG_GPU_WRITE_COMBINE, PVRSRV_MEMALLOCFLAG_GPU_CACHE_COHERENT, PVRSRV_MEMALLOCFLAG_GPU_CACHE_INCOHERENT, PVRSRV_MEMALLOCFLAG_GPU_CACHED, PVRSRV_MEMALLOCFLAG_CPU_UNCACHED, PVRSRV_MEMALLOCFLAG_CPU_WRITE_COMBINE, PVRSRV_MEMALLOCFLAG_CPU_CACHE_COHERENT, PVRSRV_MEMALLOCFLAG_CPU_CACHE_INCOHERENT, PVRSRV_MEMALLOCFLAG_CPU_CACHED, PVRSRV_MEMALLOCFLAG_KERNEL_CPU_MAPPABLE, PVRSRV_MEMALLOCFLAG_NO_OSPAGES_ON_ALLOC, PVRSRV_MEMALLOCFLAG_CPU_LOCAL, PVRSRV_MEMALLOCFLAG_SVM_ALLOC, PVRSRV_MEMALLOCFLAG_SPARSE_NO_DUMMY_BACKING, PVRSRV_MEMALLOCFLAG_CPU_CACHE_CLEAN, PVRSRV_MEMALLOCFLAG_SPARSE_ZERO_BACKING, 0x200000, 0x400000, 0x800000, 0x1000000, 0x2000000, 0x4000000, 0x8000000, PVRSRV_MEMALLOCFLAG_ZERO_ON_ALLOC, PVRSRV_MEMALLOCFLAG_POISON_ON_ALLOC, PVRSRV_MEMALLOCFLAG_POISON_ON_FREE, PVRSRV_MEMALLOCFLAG_NO_CACHE_LINE_ALIGN
  1928  PVRSRV_CACHE_OP = PVRSRV_CACHE_OP_NONE, PVRSRV_CACHE_OP_CLEAN, PVRSRV_CACHE_OP_INVALIDATE, PVRSRV_CACHE_OP_FLUSH
  1929  PDUMP_POLL_OPERATOR = PDUMP_POLL_OPERATOR_EQUAL, PDUMP_POLL_OPERATOR_LESS, PDUMP_POLL_OPERATOR_LESSEQUAL, PDUMP_POLL_OPERATOR_GREATER, PDUMP_POLL_OPERATOR_GREATEREQUAL, PDUMP_POLL_OPERATOR_NOTEQUAL
  1930  PDUMP_FLAGS = PDUMP_FLAGS_NONE, PDUMP_FLAGS_BLKDATA, PDUMP_FLAGS_DEINIT, PDUMP_FLAGS_POWER, PDUMP_FLAGS_CONTINUOUS, PDUMP_FLAGS_PERSISTENT, PDUMP_FLAGS_DEBUG, PDUMP_FLAGS_NOHW, PDUMP_FLAGS_FORCESPLIT, PDUMP_FLAGS_PDUMP_LOCK_HELD
  1931  RGX_CONTEXT_FLAGS = RGX_CONTEXT_FLAG_DISABLESLR
  1932  TQ_PREP_FLAGS = TQ_PREP_FLAGS_COMMAND_3D, TQ_PREP_FLAGS_COMMAND_2D, TQ_PREP_FLAGS_PDUMPCONTINUOUS, TQ_PREP_FLAGS_START, TQ_PREP_FLAGS_END