dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/probe_helper, drm/nouveau: Validate MST modes against PBN
@ 2020-07-24 17:04 Lyude Paul
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Lyude Paul @ 2020-07-24 17:04 UTC (permalink / raw)
  To: nouveau, dri-devel; +Cc: Daniel Vetter

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

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

end of thread, other threads:[~2020-07-24 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-24 17:04 [PATCH 0/2] drm/probe_helper, drm/nouveau: Validate MST modes against PBN Lyude Paul
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox