From: Manasi Navare <manasi.d.navare@intel.com>
To: ville.syrjala@linux.intel.com
Cc: daniel.vetter@intel.com, intel-gfx@lists.freedesktop.org
Subject: Check the connector property to force a full modeset
Date: Thu, 27 Oct 2016 18:49:10 -0700 [thread overview]
Message-ID: <20161028014910.GA20862@intel.com> (raw)
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
reply other threads:[~2016-10-28 1:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161028014910.GA20862@intel.com \
--to=manasi.d.navare@intel.com \
--cc=daniel.vetter@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.