drm: Export the command-line mode parser
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 17 Apr 2011 06:43:32 +0000 (07:43 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Apr 2011 04:56:23 +0000 (14:56 +1000)
commit1794d257fa7bab3ea5162f8abdca749996b65343
treeea8d035a218a0cb0ee83443b3c25bd8df25567e2
parentbbb0aef5cfe95fe9b51a7eeba4a440b69037b01f
drm: Export the command-line mode parser

In the absence of configuration data for providing the fixed mode for
a panel, I would like to be able to pass such modes along a separate
module paramenter. To do so, I then need to parse a modeline from a
string, which drm is already capable of. Export that capability to the
drivers.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/drm_modes.c
include/drm/drmP.h
include/drm/drm_fb_helper.h