From 3f02a793514a866401119efc74c20512f4732703 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 10 Oct 2004 05:52:19 +0000 Subject: Vladimir requested support so we can at least load r300 microcode for helping 2D operations. Ups radeon to version 1.12.0, Vladimir, you might want to add any extra pciids... Approved-by: Dave Airlie --- shared-core/radeon_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-core/radeon_state.c') diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c index 325ce070..1b694304 100644 --- a/shared-core/radeon_state.c +++ b/shared-core/radeon_state.c @@ -798,7 +798,7 @@ static void radeon_cp_dispatch_clear(drm_device_t * dev, * rendering a quad into just those buffers. Thus, we have to * make sure the 3D engine is configured correctly. */ - if (dev_priv->is_r200 && (flags & (RADEON_DEPTH | RADEON_STENCIL))) { + if ((dev_priv->microcode_version == UCODE_R200) && (flags & (RADEON_DEPTH | RADEON_STENCIL))) { int tempPP_CNTL; int tempRE_CNTL; -- cgit v1.2.3