All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Enhance EDID quirks to allow forcing a mode
@ 2013-03-22 23:08 Dylan Semler
  2013-03-22 23:08 ` [PATCH v3 1/2] drm: Enhance EDID quirks to explicitly set " Dylan Semler
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dylan Semler @ 2013-03-22 23:08 UTC (permalink / raw)
  To: dri-devel

Changes in this version
 * Uses drm_cvt_mode() instead of drm_gtf_mode() to build modeline
 * Adds bool to specify reduced blanking to edid_quirk_force_mode
 * Removes preferred bit from all other modes

There is at least one monitor that doesn't report its native resolution
in its EDID block.  This enhancement extends the EDID quirk logic to
make monitors like this "just work".

The first patch in this series sets up a new quirk list where monitors'
correct width, height, refresh rate, and reduced blanking parameters are
specified.  When a matching monitor is attached the full mode is
calculated with drm_cvt_mode() and added to the connector.  The
DRM_MODE_TYPE_PREFERRED bit is set on the new mode and unset from all
other modes.

The first patch also defines a new quirk bit: EDID_QUIRK_FORCE_MODE.
This bit needs to be set for the new quirk list discribed above to be
checked.

The second patch adds the offending monitor to the quirk lists.

Dylan Semler (2):
  drm: Enhance EDID quirks to explicitly set a mode
  drm: Add EDID force quirk for MMT Monitor2Go HD+

 drivers/gpu/drm/drm_edid.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)

-- 
1.7.11.7

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-25 17:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 23:08 [PATCH v3 0/2] Enhance EDID quirks to allow forcing a mode Dylan Semler
2013-03-22 23:08 ` [PATCH v3 1/2] drm: Enhance EDID quirks to explicitly set " Dylan Semler
2013-03-25 13:41   ` Jani Nikula
2013-03-25 17:01     ` Dylan Semler
2013-03-25 17:29       ` Jani Nikula
2013-03-22 23:08 ` [PATCH v3 2/2] drm: Add EDID force quirk for MMT Monitor2Go HD+ Dylan Semler
2013-03-23 12:56 ` [PATCH v3 0/2] Enhance EDID quirks to allow forcing a mode Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.