diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 138beb550a58..38d47559f098 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/pm_runtime.h> | 34 | #include <linux/pm_runtime.h> |
35 | #include <drm/drm_crtc_helper.h> | 35 | #include <drm/drm_crtc_helper.h> |
36 | #include <drm/drm_edid.h> | 36 | #include <drm/drm_edid.h> |
37 | #include <drm/drm_fb_helper.h> | ||
37 | 38 | ||
38 | static void amdgpu_flip_callback(struct dma_fence *f, struct dma_fence_cb *cb) | 39 | static void amdgpu_flip_callback(struct dma_fence *f, struct dma_fence_cb *cb) |
39 | { | 40 | { |
@@ -556,15 +557,9 @@ amdgpu_user_framebuffer_create(struct drm_device *dev, | |||
556 | return &amdgpu_fb->base; | 557 | return &amdgpu_fb->base; |
557 | } | 558 | } |
558 | 559 | ||
559 | void amdgpu_output_poll_changed(struct drm_device *dev) | ||
560 | { | ||
561 | struct amdgpu_device *adev = dev->dev_private; | ||
562 | amdgpu_fb_output_poll_changed(adev); | ||
563 | } | ||
564 | |||
565 | const struct drm_mode_config_funcs amdgpu_mode_funcs = { | 560 | const struct drm_mode_config_funcs amdgpu_mode_funcs = { |
566 | .fb_create = amdgpu_user_framebuffer_create, | 561 | .fb_create = amdgpu_user_framebuffer_create, |
567 | .output_poll_changed = amdgpu_output_poll_changed | 562 | .output_poll_changed = drm_fb_helper_output_poll_changed, |
568 | }; | 563 | }; |
569 | 564 | ||
570 | static const struct drm_prop_enum_list amdgpu_underscan_enum_list[] = | 565 | static const struct drm_prop_enum_list amdgpu_underscan_enum_list[] = |