svn commit: r198691 - head/sys/dev/drm
Robert Noland
rnoland at FreeBSD.org
Fri Oct 30 16:55:32 UTC 2009
Author: rnoland
Date: Fri Oct 30 16:55:31 2009
New Revision: 198691
URL: http://svn.freebsd.org/changeset/base/198691
Log:
Fix blitter support for RS880 chips
MFC after: 3 days
Modified:
head/sys/dev/drm/r600_blit.c
Modified: head/sys/dev/drm/r600_blit.c
==============================================================================
--- head/sys/dev/drm/r600_blit.c Fri Oct 30 16:49:38 2009 (r198690)
+++ head/sys/dev/drm/r600_blit.c Fri Oct 30 16:55:31 2009 (r198691)
@@ -1367,7 +1367,7 @@ set_vtx_resource(drm_radeon_private_t *d
if (((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RV610) ||
((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RV620) ||
((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RS780) ||
- /*((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RS880) ||*/
+ ((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RS880) ||
((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RV710))
cp_set_surface_sync(dev_priv,
R600_TC_ACTION_ENA, 48, gpu_addr);
@@ -1509,7 +1509,7 @@ set_default_state(drm_radeon_private_t *
case CHIP_RV610:
case CHIP_RV620:
case CHIP_RS780:
- /*case CHIP_RS880:*/
+ case CHIP_RS880:
default:
num_ps_gprs = 84;
num_vs_gprs = 36;
@@ -1591,7 +1591,7 @@ set_default_state(drm_radeon_private_t *
if (((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RV610) ||
((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RV620) ||
((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RS780) ||
- /*((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RS880) ||*/
+ ((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RS880) ||
((dev_priv->flags & RADEON_FAMILY_MASK) == CHIP_RV710))
sq_config = 0;
else
More information about the svn-src-all
mailing list