diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-01-29 23:16:03 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:15:43 -0400 |
commit | dd55d12c2675859fa4d4947dafc44515eedbccc4 (patch) | |
tree | a5d2f220fb5376b3ce8c978fb480e3b5d3b0d0d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | b0fb632f9b511145dfe49b783dd99adc6c6f8687 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |