diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-17 21:39:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-17 21:39:30 +0200 |
commit | f8c0a8da991ec2cb63acb3068c0363d07989740c (patch) | |
tree | ca4b7f3af7c906d50162f4586d22d592d88b93eb /rnndb | |
parent | 0fbc321bd617561d46e9785940fd272f43885af0 (diff) |
driver: implement auto disable
These counters disable TS after a certain number of cleared tiles,
for depth and color.
Auto-disable is enabled in the pipe_clear() function and disabled
when a new framebuffer is bound.
Diffstat (limited to 'rnndb')
-rw-r--r-- | rnndb/state_3d.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rnndb/state_3d.xml b/rnndb/state_3d.xml index 154be87..b60911a 100644 --- a/rnndb/state_3d.xml +++ b/rnndb/state_3d.xml @@ -755,8 +755,8 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> <reg32 offset="0x01664" name="DEPTH_STATUS_BASE" brief="Depth tile status base address" value="0x00000000" type="VIVM"/> <reg32 offset="0x01668" name="DEPTH_SURFACE_BASE" brief="Depth surface base address" value="0x00000000" type="VIVM"/> <reg32 offset="0x0166C" name="DEPTH_CLEAR_VALUE" brief="Depth clear value" value="0x00000000"/> - <reg32 offset="0x01670" name="COLOR_AUTO_DISABLE_COUNT" brief="Auto disable depth counter" value="0x00000000"/> - <reg32 offset="0x01674" name="DEPTH_AUTO_DISABLE_COUNT" brief="Auto disable color counter" value="0x00000000"/> + <reg32 offset="0x01670" name="DEPTH_AUTO_DISABLE_COUNT" brief="Auto disable depth counter" value="0x00000000"/> + <reg32 offset="0x01674" name="COLOR_AUTO_DISABLE_COUNT" brief="Auto disable color counter" value="0x00000000"/> <reg32 offset="0x016A4" name="HDEPTH_STATUS_BASE" value="0x00000000" type="VIVM"> <doc>Hierarchical Z allocates multiple depth buffers for one surface, which have their own TS.</doc> </reg32> |