All of lore.kernel.org
 help / color / mirror / Atom feed
* Check the connector property to force a full modeset
@ 2016-10-28  1:49 Manasi Navare
  0 siblings, 0 replies; only message in thread
From: Manasi Navare @ 2016-10-28  1:49 UTC (permalink / raw)
  To: ville.syrjala; +Cc: daniel.vetter, intel-gfx

Hi,

On link training failure, I set the connector link_status property
to "Bad" and send a uevent to the userspace. The userspace then detects
this change in property and calls drm_mode_setcrtc that triggers a modeset.
However in the driver atomic check, it calls drm_atomic_helper_check_modeset()
to decide if a complete modeset is required. I need a way to get the link_status
value here and set crtc_state->connectors_changed to true if this link_status
property is set to Bad so that it can do a full modeset an dretrain the link.

I added the following piece of code, but with this the system does not boot
up.

http://paste.ubuntu.com/23357075/

Is there any other better way to get the connector's property value here in 
atomic_helper_check_modeset()?

Regards
Manasi

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-28  1:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28  1:49 Check the connector property to force a full modeset Manasi Navare

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.