Skip to content

Commit 4676be1

Browse files
Carlos Palminhadanvet
authored andcommitted
drm/shmobile: removed optional dummy crtc mode_fixup function.
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha <palminha@synopsys.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent b205b8e commit 4676be1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/gpu/drm/shmobile/shmob_drm_crtc.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,6 @@ static void shmob_drm_crtc_dpms(struct drm_crtc *crtc, int mode)
359359
scrtc->dpms = mode;
360360
}
361361

362-
static bool shmob_drm_crtc_mode_fixup(struct drm_crtc *crtc,
363-
const struct drm_display_mode *mode,
364-
struct drm_display_mode *adjusted_mode)
365-
{
366-
return true;
367-
}
368-
369362
static void shmob_drm_crtc_mode_prepare(struct drm_crtc *crtc)
370363
{
371364
shmob_drm_crtc_dpms(crtc, DRM_MODE_DPMS_OFF);
@@ -431,7 +424,6 @@ static int shmob_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
431424

432425
static const struct drm_crtc_helper_funcs crtc_helper_funcs = {
433426
.dpms = shmob_drm_crtc_dpms,
434-
.mode_fixup = shmob_drm_crtc_mode_fixup,
435427
.prepare = shmob_drm_crtc_mode_prepare,
436428
.commit = shmob_drm_crtc_mode_commit,
437429
.mode_set = shmob_drm_crtc_mode_set,

0 commit comments

Comments
 (0)