diff options
author | Daniel Stone <daniels@collabora.com> | 2018-03-30 10:11:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-04-11 14:07:56 -0400 |
commit | e68d14dd4ebaf596bf0c237ba82f815c2f561dec (patch) | |
tree | dd96c294e3ba73fa919b5d24f1cbd01250938d56 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | 9a0f0c9d0c9de76324807571694f8c89b433e3f1 (diff) |
drm/amdgpu: Move GEM BO to drm_framebuffer
Since drm_framebuffer can now store GEM objects directly, place them
there rather than in our own subclass. As this makes the framebuffer
create_handle and destroy functions the same as the GEM framebuffer
helper, we can reuse those.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: David (ChunMing) Zhou <David1.Zhou@amd.com>
Cc: amd-gfx@lists.freedesktop.org
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index d6416ee52e32..b9e9e8b02fb7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |||
@@ -308,7 +308,6 @@ struct amdgpu_display_funcs { | |||
308 | 308 | ||
309 | struct amdgpu_framebuffer { | 309 | struct amdgpu_framebuffer { |
310 | struct drm_framebuffer base; | 310 | struct drm_framebuffer base; |
311 | struct drm_gem_object *obj; | ||
312 | 311 | ||
313 | /* caching for later use */ | 312 | /* caching for later use */ |
314 | uint64_t address; | 313 | uint64_t address; |