aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0229-drm-amdgpu-Add-a-few-members-to-support-DAL-atomic-r.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0229-drm-amdgpu-Add-a-few-members-to-support-DAL-atomic-r.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0229-drm-amdgpu-Add-a-few-members-to-support-DAL-atomic-r.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0229-drm-amdgpu-Add-a-few-members-to-support-DAL-atomic-r.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0229-drm-amdgpu-Add-a-few-members-to-support-DAL-atomic-r.patch
new file mode 100644
index 00000000..7c93eb32
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0229-drm-amdgpu-Add-a-few-members-to-support-DAL-atomic-r.patch
@@ -0,0 +1,38 @@
+From 2fe10e13c0ba1b7e74d79e42f935be979b1b9c90 Mon Sep 17 00:00:00 2001
+From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
+Date: Sun, 29 Jan 2017 23:16:03 -0500
+Subject: [PATCH 0229/4131] drm/amdgpu: Add a few members to support DAL atomic
+ refactor.
+
+Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
+Reviewed-by: Harry Wentland <harry.wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+index 33be32a..baf78dd 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+@@ -310,6 +310,9 @@ struct amdgpu_display_funcs {
+ struct amdgpu_framebuffer {
+ struct drm_framebuffer base;
+ struct drm_gem_object *obj;
++
++ /* caching for later use */
++ uint64_t address;
+ };
+
+ struct amdgpu_fbdev {
+@@ -434,6 +437,7 @@ struct amdgpu_crtc {
+ uint32_t flip_flags;
+ /* After Set Mode stream will be non-NULL */
+ const struct dc_stream *stream;
++ struct drm_pending_vblank_event *event;
+ };
+
+ struct amdgpu_encoder_atom_dig {
+--
+2.7.4
+