]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid (v4)
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 22 Dec 2009 15:06:49 +0000 (10:06 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2009 01:14:04 +0000 (11:14 +1000)
commitb52c4af14687099c580b5bd1b7101c7fa2ee3f1e
tree6a0462a3634ae7d3324c807a7a59ca449f83d5a6
parentc4e4ccceeed50f9b73c0be4ece0a6d60f6cd43ea
drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid (v4)

This fixes LVDS on some mac laptops without a panel edid.

v2 - Set proper mode type flags
v3 - Note that this is not neceesarily the exact panel mode,
but an approximation based on the cvt formula.  For these
systems we should ideally read the mode info out of the
registers or add a mode table, but this works and is much
simpler.
v4 - Update comments and debug message.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c