From: Lyude Paul <lyude@redhat.com>
To: nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: [PATCH 0/2] drm/probe_helper, drm/nouveau: Validate MST modes against PBN
Date: Fri, 24 Jul 2020 13:04:55 -0400 [thread overview]
Message-ID: <20200724170457.711072-1-lyude@redhat.com> (raw)
Now that we've added the hooks that we've needed for this and used them
in i915, let's add one more hook (which I could use some feedback on,
I'm not sure if it's worth maybe just reworking how we do mode pruning
in nouveau instead...) and start using this in our mst ->mode_valid
callback to filter out impossible to set modes on MST connectors.
Lyude Paul (2):
drm/probe_helper: Add drm_connector_helper_funcs->get_modes_ctx()
drm/nouveau/kms/nv50-: Check MST display modes against available PBN
drivers/gpu/drm/drm_probe_helper.c | 11 +++++-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 41 ++++++++++++++------
drivers/gpu/drm/nouveau/nouveau_connector.c | 24 ++++++++++--
drivers/gpu/drm/nouveau/nouveau_connector.h | 4 +-
include/drm/drm_modeset_helper_vtables.h | 42 +++++++++++++++++++++
5 files changed, 104 insertions(+), 18 deletions(-)
--
2.26.2
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2020-07-24 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-24 17:04 Lyude Paul [this message]
2020-07-24 17:04 ` [PATCH 1/2] drm/probe_helper: Add drm_connector_helper_funcs->get_modes_ctx() Lyude Paul
2020-07-24 17:04 ` [PATCH 2/2] drm/nouveau/kms/nv50-: Check MST display modes against available PBN Lyude Paul
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=20200724170457.711072-1-lyude@redhat.com \
--to=lyude@redhat.com \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=nouveau@lists.freedesktop.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox