drm/kms: add a function that can add the mode for the output device without EDID
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 3 Sep 2009 01:33:48 +0000 (09:33 +0800)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Sep 2009 08:44:40 +0000 (18:44 +1000)
commitf0fda0a47b26aba986fe65897891956c1792b526
treec3f53a5653179b51625f5f7962bae89f30282691
parent559ee21d261a54c42594ef9405d27e9008eedf44
drm/kms: add a function that can add the mode for the output device without EDID

Add a function that can be used to add the default mode for the output device
without EDID.
It will add the default mode that meets with the requirements of given
hdisplay/vdisplay limit.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h