All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] drm/nouveau/dispnv04 overlay and primary fb format fixes
@ 2017-05-20  2:56 Ilia Mirkin
       [not found] ` <20170520025658.9236-1-imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ilia Mirkin @ 2017-05-20  2:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lOJGICtartY2D2FQJk+8+b

This came out of some debugging I was doing to figure out how BE mode works
on this hardware. Among other things, it came out that we're not exposing
16-bpp mode support and that the ARGB8888 mode that we do expose is broken.
Also the overlay logic was pretty broken, I must have only tested with very
"normal" overlay buffer sizes with modetest before.

That said, this code has only received literal testing on a NV34/G5 PPC combo.
I was poking at various registers on a NV34/x86 to make modetest display the
correct data though. That's where e.g. the pitch mask comes from.

I haven't at all tested on my NV05 or NV1x hardware. Should probably do that
before we push this out. But since I've already been sitting on these patches
for a few weeks, thought I'd get them out there.

Ilia Mirkin (3):
  drm/nouveau/overlay: improve error detection, fix pitch setting
  drm/nouveau/overlay: add NV21 support
  drm/nouveau/dispnv04: fix exposed format list

 drivers/gpu/drm/nouveau/dispnv04/crtc.c    | 36 +++++++++++-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c | 89 +++++++++++++++++++-----------
 2 files changed, 93 insertions(+), 32 deletions(-)

-- 
2.13.0

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [RFC PATCH 0/3] drm/nouveau/dispnv04 overlay and primary fb format fixes
@ 2017-05-20  2:57 Ilia Mirkin
  2017-05-20  2:57 ` [RFC PATCH 1/3] drm/nouveau/overlay: improve error detection, fix pitch setting Ilia Mirkin
  0 siblings, 1 reply; 5+ messages in thread
From: Ilia Mirkin @ 2017-05-20  2:57 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

This came out of some debugging I was doing to figure out how BE mode works
on this hardware. Among other things, it came out that we're not exposing
16-bpp mode support and that the ARGB8888 mode that we do expose is broken.
Also the overlay logic was pretty broken, I must have only tested with very
"normal" overlay buffer sizes with modetest before.

That said, this code has only received literal testing on a NV34/G5 PPC combo.
I was poking at various registers on a NV34/x86 to make modetest display the
correct data though. That's where e.g. the pitch mask comes from.

I haven't at all tested on my NV05 or NV1x hardware. Should probably do that
before we push this out. But since I've already been sitting on these patches
for a few weeks, thought I'd get them out there.

Ilia Mirkin (3):
  drm/nouveau/overlay: improve error detection, fix pitch setting
  drm/nouveau/overlay: add NV21 support
  drm/nouveau/dispnv04: fix exposed format list

 drivers/gpu/drm/nouveau/dispnv04/crtc.c    | 36 +++++++++++-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c | 89 +++++++++++++++++++-----------
 2 files changed, 93 insertions(+), 32 deletions(-)

-- 
2.13.0

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

end of thread, other threads:[~2017-05-20  2:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20  2:56 [RFC PATCH 0/3] drm/nouveau/dispnv04 overlay and primary fb format fixes Ilia Mirkin
     [not found] ` <20170520025658.9236-1-imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
2017-05-20  2:56   ` [RFC PATCH 1/3] drm/nouveau/overlay: improve error detection, fix pitch setting Ilia Mirkin
2017-05-20  2:56   ` [RFC PATCH 2/3] drm/nouveau/overlay: add NV21 support Ilia Mirkin
2017-05-20  2:56   ` [RFC PATCH 3/3] drm/nouveau/dispnv04: fix exposed format list Ilia Mirkin
2017-05-20  2:57 [RFC PATCH 0/3] drm/nouveau/dispnv04 overlay and primary fb format fixes Ilia Mirkin
2017-05-20  2:57 ` [RFC PATCH 1/3] drm/nouveau/overlay: improve error detection, fix pitch setting Ilia Mirkin

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.