From: Andrey Grodzovsky <Andrey.Grodzovsky@xxxxxxx> Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky at amd.com> Reviewed-by: Harry Wentland <harry.wentland at 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 074067367288..31484125e875 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -321,6 +321,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 { @@ -446,6 +449,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