Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0f83da9 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/radeon: fix "force the UVD DPB into VRAM as well"



The DPB must be in VRAM, but not in the first segment.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Tested-by: default avatarArthur Marsh <arthur.marsh@internode.on.net>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6e88007e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);