drm: Clean up the 1366x768 fixup codes
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Jan 2017 16:43:29 +0000 (17:43 +0100)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 1 Feb 2017 17:01:47 +0000 (19:01 +0200)
commit969218fee101af5335314e8521fb1a29e49e560b
tree29fe3a2dfae4fe90bd044680d301720b687dc3b7
parent45bf86e7731606a475b7f989486de23b0784bfe7
drm: Clean up the 1366x768 fixup codes

This is just a cleanup, no functional change.

The fixup code for 1366x768 in drm_mode_create_from_cmdline_mode() is
basically a copy of the existing code in drm_edid.c.  Make the latter
code public so that it can be called from the former function.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20170117164329.10551-1-tiwai@suse.de
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[vsyrjala: include drm_crtc_internal.h to make sparse happy]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_modes.c