diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 510ea371dacc..a8442f7196d6 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c | |||
@@ -121,7 +121,8 @@ static int radeon_cs_parser_relocs(struct radeon_cs_parser *p) | |||
121 | VRAM, also but everything into VRAM on AGP cards and older | 121 | VRAM, also but everything into VRAM on AGP cards and older |
122 | IGP chips to avoid image corruptions */ | 122 | IGP chips to avoid image corruptions */ |
123 | if (p->ring == R600_RING_TYPE_UVD_INDEX && | 123 | if (p->ring == R600_RING_TYPE_UVD_INDEX && |
124 | (i == 0 || drm_pci_device_is_agp(p->rdev->ddev) || | 124 | (i == 0 || pci_find_capability(p->rdev->ddev->pdev, |
125 | PCI_CAP_ID_AGP) || | ||
125 | p->rdev->family == CHIP_RS780 || | 126 | p->rdev->family == CHIP_RS780 || |
126 | p->rdev->family == CHIP_RS880)) { | 127 | p->rdev->family == CHIP_RS880)) { |
127 | 128 | ||