Skip to contentSkip to conversation

Patch "drm/amdgpu: fix IB alignment for UVD" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Oct 28, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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.8-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.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From c4795ca642b8bd76b5b6ffba41ba909543273d43 Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Mon, 22 Aug 2016 16:31:36 -0400
Subject: drm/amdgpu: fix IB alignment for UVD

From: Alex Deucher <[email protected]>

commit c4795ca642b8bd76b5b6ffba41ba909543273d43 upstream.

According to the hw team, it should be 16, not 8.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1 -1
@@ -292,7 +292,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 [email protected] are

queue-4.8/drm-amdgpu-dce11-add-missing-drm_mode_config_cleanup-call.patch queue-4.8/drm-radeon-si-dpm-fix-phase-shedding-setup.patch queue-4.8/drm-amdgpu-dce11-disable-hpd-on-local-panels.patch queue-4.8/drm-amdgpu-dce8-disable-hpd-on-local-panels.patch queue-4.8/drm-amdgpu-initialize-the-context-reset_counter-in-amdgpu_ctx_init.patch queue-4.8/drm-amdgpu-dce10-disable-hpd-on-local-panels.patch queue-4.8/drm-amd-powerplay-fix-mclk-not-switching-back-after-multi-head-was-disabled.patch queue-4.8/drm-amdgpu-fix-ib-alignment-for-uvd.patch queue-4.8/drm-amdgpu-change-vblank_time-s-calculation-method-to-reduce-computational-error.patch queue-4.8/drm-radeon-narrow-asic_init-for-virtualization.patch queue-4.8/drm-radeon-change-vblank_time-s-calculation-method-to-reduce-computational-error.patch