[PATCH 5/8] drm/amdgpu: Add a few members to support DAL atomic refactor.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrey Grodzovsky <Andrey.Grodzovsky@xxxxxxx>

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@xxxxxxx>
---
 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 fda53fa0313f..1e77136d6f0c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -322,6 +322,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 {
@@ -447,6 +450,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.9.3

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux