dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/nouveau: Support NVIDIA format modifiers
@ 2019-12-17  0:45 James Jones
  2019-12-17  0:45 ` [PATCH v2 1/3] drm/nouveau: Add format mod prop to base/ovly/nvdisp James Jones
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: James Jones @ 2019-12-17  0:45 UTC (permalink / raw)
  To: Ben Skeggs; +Cc: nouveau, James Jones, dri-devel

This series modifies the NV5x+ nouveau display backends to advertise
appropriate format modifiers on their display planes in atomic mode
setting blobs.

Corresponding modifications to Mesa/userspace are available here:

https://gitlab.freedesktop.org/cubanismo/mesa/tree/nouveau_work

But those need a bit of cleanup before they're ready to submit.

I've tested this on Tesla, Kepler, Pascal, and Turing-class hardware
using various formats and all the exposed format modifiers, plus some
negative testing with invalid ones.

NOTE: this series depends on the "[PATCH v3] drm: Generalized NV Block
Linear DRM format mod" patch submitted to dri-devel.

v2: Used Tesla family instead of NV50 chipset compare to avoid treating
    oddly numbered NV4x-class chipsets as NV50+ GPUs.  Other instances
    of compares with chipset number in the series were audited, deemed
    safe, and left as-is for consistency with existing code.

James Jones (3):
  drm/nouveau: Add format mod prop to base/ovly/nvdisp
  drm/nouveau: Check framebuffer size against bo
  drm/nouveau: Support NVIDIA format modifiers

 drivers/gpu/drm/nouveau/dispnv50/base507c.c |   7 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.c     |  59 ++++++++
 drivers/gpu/drm/nouveau/dispnv50/disp.h     |   4 +
 drivers/gpu/drm/nouveau/dispnv50/wndw.c     |  35 ++++-
 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c |  17 +++
 drivers/gpu/drm/nouveau/nouveau_display.c   | 154 ++++++++++++++++++++
 drivers/gpu/drm/nouveau/nouveau_display.h   |   4 +
 7 files changed, 272 insertions(+), 8 deletions(-)

-- 
2.17.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17  0:45 [PATCH v2 0/3] drm/nouveau: Support NVIDIA format modifiers James Jones
2019-12-17  0:45 ` [PATCH v2 1/3] drm/nouveau: Add format mod prop to base/ovly/nvdisp James Jones
2019-12-17  0:45 ` [PATCH v2 2/3] drm/nouveau: Check framebuffer size against bo James Jones
2020-01-06  1:25   ` [Nouveau] " Ben Skeggs
2020-01-06 19:06     ` James Jones
2019-12-17  0:45 ` [PATCH v2 3/3] drm/nouveau: Support NVIDIA format modifiers James Jones
2020-01-06  1:30 ` [Nouveau] [PATCH v2 0/3] " Ben Skeggs
2020-01-06 19:18   ` James Jones
2020-01-06 23:27     ` Ben Skeggs
2020-02-05 21:08       ` James Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).