drm/radeon: fix "force the UVD DPB into VRAM as well"
Subsystems (2)
PATCH 1/1 drm/radeon: fix "force the UVD DPB into VRAM as well"
From: Christian König <[email protected]>
The DPB must be in VRAM, but not in the first segment.
Signed-off-by Christian König <[email protected]>
Tested-by Arthur Marsh <[email protected]>
--- drivers/gpu/drm/radeon/radeon_uvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_uvd.c +1 -1
@@ -621,7 +621,7 @@ static int radeon_uvd_cs_reloc(struct radeon_cs_parser *p, }/* TODO: is this still necessary on NI+ ? */ -if ((cmd ==0 || cmd ==1 || cmd ==0x3 ) && +if ((cmd ==0 || cmd ==0x3 ) && (start >>28 ) != (p->rdev->uvd.gpu_addr >>28 )) {DRM_ERROR ("msg/fb buffer %LX-%LX out of 256MB segment!\n" , start, end);
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1495110241-3016-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org
Alex Deucher
Reviewed-byQuoted 6 lines · Christian König
From: Christian König <[email protected]>
The DPB must be in VRAM, but not in the first segment.
Signed-off-by Christian König <[email protected]>Tested-by Arthur Marsh <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/radeon/radeon_uvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_uvd.c +1
-2@@ -621,7 +621,7 @@ static int radeon_uvd_cs_reloc(struct radeon_cs_parser *p, }/* TODO: is this still necessary on NI+ ? */ -if ((cmd ==0 || cmd ==1 || cmd ==0x3 ) && +if ((cmd ==0 || cmd ==0x3 ) && (start >>28 ) != (p->rdev->uvd.gpu_addr >>28 )) {DRM_ERROR ("msg/fb buffer %LX-%LX out of 256MB segment!\n" , start, end); --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx