[PATCH 0/1] Add configuration option to disable default modes on an output

Simon Farnsworth simon.farnsworth at onelan.com
Wed May 19 10:19:05 PDT 2010


This patch is part of our attempt to move EDID handling out of our
embedded product's code and into the stack we depend on anyway.

Our goal is to divide modes into two classes; modes supplied by us,
and modes we've learnt about from EDID. We supply a set of "default"
modes in the configuration file, whose names can be used to
distinguish them from output modes, and we've confirmed by code
inspection that if EDID is present, the Intel KMS driver will only add
EDID modes to the output.

The remaining bit of the puzzle is getting X to omit the default modes
from outputs, so that we can rely on the output only having modes
supplied by the driver (which we ignore if there's no EDID property
present, as that implies that the kernel is guessing at likely modes
for our refresh rate, rather than decoding valid EDID from the
monitor), or modes supplied by us in the configuration file.

So long as we are careful to use a sensible naming convention for our
modes, we can then distinguish EDID modes from our modes, and just use
XRandR to determine what modes to present to the user.


More information about the xorg-devel mailing list