summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-10-11 16:47:58 -0700
committerEric Anholt <[email protected]>2016-10-21 14:12:22 -0700
commit78087676c98aa8884ba92e75a0a5306a8f78ad43 (patch)
treeccb82acf61036bcc8d72198a247baad2f0c5f9ef /common.py
parent1d7874fa7b4683cba8f8bc78c139402b989dd9df (diff)
vc4: Restructure the simulator mode.
Rather than having simulator mode changes scattered around vc4_bufmgr.c and vc4_screen.c, make vc4_bufmgr.c just call a vc4_simulator_ioctl, which then dispatches to a corresponding implementation. This will give the simulator support a centralized place to do tricks like storing most BOs directly in simulator memory rather than copying in and out. This leaves special casing of mmaping BOs and execution, because of the winsys mapping.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions