Commit 67587e8689ffbb788468c738f07a9678bde51084
Committed by
Dave Airlie
1 parent
ddecb10cf4
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
drm: Remove drm_mode_list_concat()
The last user was removed in commit 575dc34ee0de867ba83abf25998e0963bff451fa Author: Dave Airlie <airlied@redhat.com> Date: Mon Sep 7 18:43:26 2009 +1000 drm/kms: remove old std mode fallback code. The new code adds modes in the helper, which makes more sense I disliked the non-driver code adding modes. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing 2 changed files with 0 additions and 23 deletions Side-by-side Diff
drivers/gpu/drm/drm_modes.c
... | ... | @@ -596,27 +596,6 @@ |
596 | 596 | EXPORT_SYMBOL(drm_mode_set_name); |
597 | 597 | |
598 | 598 | /** |
599 | - * drm_mode_list_concat - move modes from one list to another | |
600 | - * @head: source list | |
601 | - * @new: dst list | |
602 | - * | |
603 | - * LOCKING: | |
604 | - * Caller must ensure both lists are locked. | |
605 | - * | |
606 | - * Move all the modes from @head to @new. | |
607 | - */ | |
608 | -void drm_mode_list_concat(struct list_head *head, struct list_head *new) | |
609 | -{ | |
610 | - | |
611 | - struct list_head *entry, *tmp; | |
612 | - | |
613 | - list_for_each_safe(entry, tmp, head) { | |
614 | - list_move_tail(entry, new); | |
615 | - } | |
616 | -} | |
617 | -EXPORT_SYMBOL(drm_mode_list_concat); | |
618 | - | |
619 | -/** | |
620 | 599 | * drm_mode_width - get the width of a mode |
621 | 600 | * @mode: mode |
622 | 601 | * |
include/drm/drm_crtc.h
... | ... | @@ -927,8 +927,6 @@ |
927 | 927 | /* for us by fb module */ |
928 | 928 | extern struct drm_display_mode *drm_mode_create(struct drm_device *dev); |
929 | 929 | extern void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode); |
930 | -extern void drm_mode_list_concat(struct list_head *head, | |
931 | - struct list_head *new); | |
932 | 930 | extern void drm_mode_validate_size(struct drm_device *dev, |
933 | 931 | struct list_head *mode_list, |
934 | 932 | int maxX, int maxY, int maxPitch); |