From: Andrey Grodzovsky Date: Mon, 30 Jan 2017 04:16:03 +0000 (-0500) Subject: drm/amdgpu: Add a few members to support DAL atomic refactor. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=dd55d12c2675859fa4d4947dafc44515eedbccc4;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: Add a few members to support DAL atomic refactor. Signed-off-by: Andrey Grodzovsky Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 0d92126b4c4a..813108eab6fc 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 { @@ -430,6 +433,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 {