aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_modes.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-09-03 09:33:46 +0800
committerDave Airlie <airlied@redhat.com>2009-09-07 16:03:35 +1000
commitaa9eaa1f0962152d0bde821149d82fe7b70a6f92 (patch)
tree4adc0e0ff7f62bbc179d60eec813ae793a1c55d8 /drivers/gpu/drm/drm_modes.c
parent13a8195b148615b15a4f4385f695f2a232095414 (diff)
drm/kms: Add the default mode table
When we add a standard timing mode in UMS, we will first check whether it can be found in default mode table. If it can't be found, then we will use cvt/gtf to add the standard timing mode. Add the default mode table so that we can check whether the given mode can be found in the default mode table as what we have done in UMS mode. If the status of one output device is connected but there is no EDID, it will have no correct mode. In such case we can add some default modes for it. Of course we only add the modes in the default modes list that visible part is not greater than 1024x768. The default mode is autogenerated from the DMT spec. And it is copied from xserver/hw/xfree86/modes/xf86EdidModes.c. But the mode with reduced blank feature is removed. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
0 files changed, 0 insertions, 0 deletions