summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_cs.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-09-25 01:45:33 +0200
committerAlex Deucher <alexander.deucher@amd.com>2012-09-27 10:22:44 -0400
commit46fc8781bf428ce1094a5980ca2b92a49d33a8ca (patch)
tree6c99203d91e65e61cec6e65a596d88913c740363 /drivers/gpu/drm/radeon/r600_cs.c
parentfa87e62d357ccf73831cd52ed316593d0968020d (diff)
downloadlinux-stable-46fc8781bf428ce1094a5980ca2b92a49d33a8ca.tar.gz
linux-stable-46fc8781bf428ce1094a5980ca2b92a49d33a8ca.tar.bz2
linux-stable-46fc8781bf428ce1094a5980ca2b92a49d33a8ca.zip
drm/radeon/kms: allow STRMOUT_BASE_UPDATE on RS780 and RS880
This is required to make streamout work there. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_cs.c')
-rw-r--r--drivers/gpu/drm/radeon/r600_cs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c
index 32fbdf9ff265..853f05ced1b1 100644
--- a/drivers/gpu/drm/radeon/r600_cs.c
+++ b/drivers/gpu/drm/radeon/r600_cs.c
@@ -2180,7 +2180,8 @@ static int r600_packet3_check(struct radeon_cs_parser *p,
}
break;
case PACKET3_STRMOUT_BASE_UPDATE:
- if (p->family < CHIP_RV770) {
+ /* RS780 and RS880 also need this */
+ if (p->family < CHIP_RS780) {
DRM_ERROR("STRMOUT_BASE_UPDATE only supported on 7xx\n");
return -EINVAL;
}