diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0304-drm-amd-display-use-CRTC_VERTICAL_INTERRUPT0-as-a-tr.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0304-drm-amd-display-use-CRTC_VERTICAL_INTERRUPT0-as-a-tr.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0304-drm-amd-display-use-CRTC_VERTICAL_INTERRUPT0-as-a-tr.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0304-drm-amd-display-use-CRTC_VERTICAL_INTERRUPT0-as-a-tr.patch new file mode 100644 index 00000000..90825346 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0304-drm-amd-display-use-CRTC_VERTICAL_INTERRUPT0-as-a-tr.patch @@ -0,0 +1,34 @@ +From 87218e80a69e9a8664f2739db2b47597507fc3b5 Mon Sep 17 00:00:00 2001 +From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Date: Thu, 23 Mar 2017 15:30:35 -0400 +Subject: [PATCH 0304/4131] drm/amd/display: use CRTC_VERTICAL_INTERRUPT0 as a + trigger for VBLANK. + +Register ISR hnadler on the new interrupt. + +Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +index ba96cf4..bd52a5c 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +@@ -907,9 +907,8 @@ static int dce110_register_irq_handlers(struct amdgpu_device *adev) + * for acknowledging and handling. */ + + /* Use VBLANK interrupt */ +- for (i = 1; i <= adev->mode_info.num_crtc; i++) { ++ for (i = VISLANDS30_IV_SRCID_D1_VERTICAL_INTERRUPT0; i <= VISLANDS30_IV_SRCID_D6_VERTICAL_INTERRUPT0; i++) { + r = amdgpu_irq_add_id(adev, client_id, i, &adev->crtc_irq); +- + if (r) { + DRM_ERROR("Failed to add crtc irq id!\n"); + return r; +-- +2.7.4 + |