diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0430-drm-amd-display-Fix-slow-FPS.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0430-drm-amd-display-Fix-slow-FPS.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0430-drm-amd-display-Fix-slow-FPS.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0430-drm-amd-display-Fix-slow-FPS.patch new file mode 100644 index 00000000..5c042a0e --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0430-drm-amd-display-Fix-slow-FPS.patch @@ -0,0 +1,33 @@ +From f3db63ad4ca033344857127e5c41375900a20d67 Mon Sep 17 00:00:00 2001 +From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Date: Fri, 12 May 2017 16:19:15 -0400 +Subject: [PATCH 0430/4131] drm/amd/display: Fix slow FPS. + +Typo in expresion. + +Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++-- + 1 file changed, 2 insertions(+), 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 9c0d853..4e9899c 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +@@ -135,8 +135,8 @@ static int dm_crtc_get_scanoutpos(struct amdgpu_device *adev, int crtc, + &h_position, + &v_position); + +- *position = (v_position) || (h_position << 16); +- *vbl = (v_blank_start) || (v_blank_end << 16); ++ *position = v_position | (h_position << 16); ++ *vbl = v_blank_start | (v_blank_end << 16); + } + + return 0; +-- +2.7.4 + |