Mode validation outside of connector or encoder (i.e. at CRTC or drm_driver level)

Adam Jackson ajax at redhat.com
Thu Feb 16 07:51:46 PST 2012


On Wed, 2012-02-15 at 22:43 -0600, Matt Sealey wrote:
> Quick question; if I want to validate a mode given to me by a
> connector/encoder as workable or not before I am going through the
> code to actually set that mode, how would I do this?

I think this is an API bug.  The crtc really should get a chance to do
this.  If nothing else it would simplify existing drivers, since eg
Intel gen3 wouldn't have to replicate the width>2048 check across every
output type.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120216/c67623ea/attachment.pgp>


More information about the dri-devel mailing list