drm/msm: Remove CRTC .mode_set and .mode_set_base helpers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 25 Jan 2015 20:13:56 +0000 (22:13 +0200)
committerRob Clark <robdclark@gmail.com>
Sun, 1 Feb 2015 20:15:32 +0000 (15:15 -0500)
Only the legacy helpers use these entry points.  Don't populate them
with transitional helpers, since that just makes things more confusing.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[robclark: reword commit msg]
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c

index 20ae50385e5b316e4f34bb424b8adb9fe2c95bbc..67b42a43a1b1415fbbd497aab69cdde66ef90912 100644 (file)
@@ -507,8 +507,6 @@ static const struct drm_crtc_helper_funcs mdp4_crtc_helper_funcs = {
        .dpms = mdp4_crtc_dpms,
        .mode_fixup = mdp4_crtc_mode_fixup,
        .mode_set_nofb = mdp4_crtc_mode_set_nofb,
-       .mode_set = drm_helper_crtc_mode_set,
-       .mode_set_base = drm_helper_crtc_mode_set_base,
        .prepare = mdp4_crtc_prepare,
        .commit = mdp4_crtc_commit,
        .atomic_check = mdp4_crtc_atomic_check,
index 6b25f9f731ed58aa339be462f7a8cd7325643e54..47f101d2f9fab566ad3950755eeac086fe4e94dc 100644 (file)
@@ -394,8 +394,6 @@ static const struct drm_crtc_helper_funcs mdp5_crtc_helper_funcs = {
        .dpms = mdp5_crtc_dpms,
        .mode_fixup = mdp5_crtc_mode_fixup,
        .mode_set_nofb = mdp5_crtc_mode_set_nofb,
-       .mode_set = drm_helper_crtc_mode_set,
-       .mode_set_base = drm_helper_crtc_mode_set_base,
        .prepare = mdp5_crtc_prepare,
        .commit = mdp5_crtc_commit,
        .atomic_check = mdp5_crtc_atomic_check,