Thread (8 messages) 8 messages, 3 authors, 2016-02-15
STALE3774d REVIEWED: 1 (1M)

[PATCH 04/17] drm/amdgpu: removed optional dummy encoder mode_fixup function.

From: Alex Deucher <hidden>
Date: 2016-02-12 16:31:04
Also in: dri-devel, linux-rockchip, linux-samsung-soc

Possibly related (same subject, not in this thread)

On Fri, Feb 12, 2016 at 8:50 AM, Carlos Palminha
[off-list ref] wrote:
---
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 8 --------
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 8 --------
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c  | 8 --------
 3 files changed, 24 deletions(-)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
quoted hunk ↗ jump to hunk
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
index 093599a..3483018 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
@@ -3624,16 +3624,8 @@ dce_v10_0_ext_dpms(struct drm_encoder *encoder, int mode)

 }

-static bool dce_v10_0_ext_mode_fixup(struct drm_encoder *encoder,
-                                   const struct drm_display_mode *mode,
-                                   struct drm_display_mode *adjusted_mode)
-{
-       return true;
-}
-
 static const struct drm_encoder_helper_funcs dce_v10_0_ext_helper_funcs = {
        .dpms = dce_v10_0_ext_dpms,
-       .mode_fixup = dce_v10_0_ext_mode_fixup,
        .prepare = dce_v10_0_ext_prepare,
        .mode_set = dce_v10_0_ext_mode_set,
        .commit = dce_v10_0_ext_commit,
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 8e67249..36deea1 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -3619,16 +3619,8 @@ dce_v11_0_ext_dpms(struct drm_encoder *encoder, int mode)

 }

-static bool dce_v11_0_ext_mode_fixup(struct drm_encoder *encoder,
-                                   const struct drm_display_mode *mode,
-                                   struct drm_display_mode *adjusted_mode)
-{
-       return true;
-}
-
 static const struct drm_encoder_helper_funcs dce_v11_0_ext_helper_funcs = {
        .dpms = dce_v11_0_ext_dpms,
-       .mode_fixup = dce_v11_0_ext_mode_fixup,
        .prepare = dce_v11_0_ext_prepare,
        .mode_set = dce_v11_0_ext_mode_set,
        .commit = dce_v11_0_ext_commit,
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
index d0e128c..25dd8b6 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
@@ -3554,16 +3554,8 @@ dce_v8_0_ext_dpms(struct drm_encoder *encoder, int mode)

 }

-static bool dce_v8_0_ext_mode_fixup(struct drm_encoder *encoder,
-                                   const struct drm_display_mode *mode,
-                                   struct drm_display_mode *adjusted_mode)
-{
-       return true;
-}
-
 static const struct drm_encoder_helper_funcs dce_v8_0_ext_helper_funcs = {
        .dpms = dce_v8_0_ext_dpms,
-       .mode_fixup = dce_v8_0_ext_mode_fixup,
        .prepare = dce_v8_0_ext_prepare,
        .mode_set = dce_v8_0_ext_mode_set,
        .commit = dce_v8_0_ext_commit,
--
2.5.0

_______________________________________________
dri-devel mailing list
dri-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help