drm/radeon/kms/evergreen: set the clear state to the blit state
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 21 Oct 2010 17:31:38 +0000 (13:31 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 26 Oct 2010 04:42:39 +0000 (14:42 +1000)
commit2281a378e1830d7ab78d3067f228e4e55d368b0d
tree8fce4594a1d1b8854d219f5297ccb5ecfc263b10
parentc3cceeddf0b5f97b0d2352b98ef0f025e31a9ae3
drm/radeon/kms/evergreen: set the clear state to the blit state

The hw stores a default clear state for registers in the context
range that can be initialized when the CP is set up.  Set the
blit state as the default clear state and use the CLEAR_STATE
packet to load the blit state rather than loading it from an IB.
This reduces overhead when doing bo moves using the 3D engine.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/evergreen_blit_kms.c
drivers/gpu/drm/radeon/evergreen_blit_shaders.c
drivers/gpu/drm/radeon/evergreend.h
This page took 0.024878 seconds and 5 git commands to generate.