|
@@ -85,7 +85,7 @@ static int radeon_cs_parser_relocs(struct radeon_cs_parser *p)
|
|
VRAM, also but everything into VRAM on AGP cards to avoid
|
|
VRAM, also but everything into VRAM on AGP cards to avoid
|
|
image corruptions */
|
|
image corruptions */
|
|
if (p->ring == R600_RING_TYPE_UVD_INDEX &&
|
|
if (p->ring == R600_RING_TYPE_UVD_INDEX &&
|
|
- (i == 0 || p->rdev->flags & RADEON_IS_AGP)) {
|
|
|
|
|
|
+ (i == 0 || drm_pci_device_is_agp(p->rdev->ddev))) {
|
|
/* TODO: is this still needed for NI+ ? */
|
|
/* TODO: is this still needed for NI+ ? */
|
|
p->relocs[i].lobj.domain =
|
|
p->relocs[i].lobj.domain =
|
|
RADEON_GEM_DOMAIN_VRAM;
|
|
RADEON_GEM_DOMAIN_VRAM;
|