Patch "drm/amdgpu: fix IB alignment for UVD" has been added to the 4.4-stable tree
From: <gregkh@linuxfoundation.org>
Date: 2016-10-28 08:46:02
This is a note to let you know that I've just added the patch titled
drm/amdgpu: fix IB alignment for UVD
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-amdgpu-fix-ib-alignment-for-uvd.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let [off-list ref] know about it.
From c4795ca642b8bd76b5b6ffba41ba909543273d43 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com> Date: Mon, 22 Aug 2016 16:31:36 -0400 Subject: drm/amdgpu: fix IB alignment for UVD From: Alex Deucher <alexander.deucher@amd.com> commit c4795ca642b8bd76b5b6ffba41ba909543273d43 upstream. According to the hw team, it should be 16, not 8. Cc: Peter Fang <redacted> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c@@ -227,7 +227,7 @@ static int amdgpu_info_ioctl(struct drm_ type = AMD_IP_BLOCK_TYPE_UVD; ring_mask = adev->uvd.ring.ready ? 1 : 0; ib_start_alignment = AMDGPU_GPU_PAGE_SIZE; - ib_size_alignment = 8; + ib_size_alignment = 16; break; case AMDGPU_HW_IP_VCE: type = AMD_IP_BLOCK_TYPE_VCE;
Patches currently in stable-queue which might be from alexander.deucher@amd.com are queue-4.4/drm-amdgpu-dce11-add-missing-drm_mode_config_cleanup-call.patch queue-4.4/drm-radeon-si-dpm-fix-phase-shedding-setup.patch queue-4.4/drm-amdgpu-dce11-disable-hpd-on-local-panels.patch queue-4.4/drm-amdgpu-dce8-disable-hpd-on-local-panels.patch queue-4.4/drm-amdgpu-dce10-disable-hpd-on-local-panels.patch queue-4.4/drm-amdgpu-fix-ib-alignment-for-uvd.patch queue-4.4/drm-amdgpu-change-vblank_time-s-calculation-method-to-reduce-computational-error.patch queue-4.4/drm-radeon-narrow-asic_init-for-virtualization.patch queue-4.4/drm-radeon-change-vblank_time-s-calculation-method-to-reduce-computational-error.patch