Hi, All
the following is the patch set that adds the default modes for LVDS in
KMS
mode.
Patch 1/3: Add a private data for LVDS
When the connector type is LVDS, it will add a private data
that
can be used to store the LVDS panel limit. For example: hdisplay, vdisplay.
Patch 2/3: Get the LVDS panel limit and check whether the given modeline
is valid
Traverse the mode list returned by KMS kernel to get the LVDS
panel
limit. And the panel limit is used to check whether the given modeline is valid.
Patch 3/3: Fix the EDID for LVDS output device to add the default modes
This is similar to what we have done in UMS mode
a. When there exists the EDID, either find a DS_RANGES block or
replace a DS_VENDOR block , smashing it into a DS_RANGES block with open
refresh to match all the default modes.
b. When there is no EDID, we will construct a bogus EDID and add
a DS_RANGES block with open refresh to match all the default modes.
welcome the comments.
Best regards
Yakui
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel