[Nouveau] [Bug 99913] [G96] Reclocking fails on voltage

2017-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99913 --- Comment #13 from Pekka Paalanen --- Seems unlikely I will ever get around to make that mmiotrace. Should we close this report? -- You are receiving this mail because: You are the assignee for the bug.

[Nouveau] [Bug 99913] [G96] Reclocking fails on voltage

2017-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99913 --- Comment #14 from Karol Herbst --- (In reply to Pekka Paalanen from comment #13) > Seems unlikely I will ever get around to make that mmiotrace. Should we > close this report? can you run the nvidia legacy driver and see what perf level is se

[Nouveau] [PATCH] drm/nouveau/mpeg: print more debug info when rejecting dma objects

2017-08-05 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- This was helpful when debugging our earlier mpeg woes. May as well have it upstream. drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c | 7 ++- drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv40.c | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff

[Nouveau] [PATCH 1/4] drm/nouveau/display: prevent undisplayable framebuffers from creation

2017-08-05 Thread Ilia Mirkin
Pre-nv50 YUV overlays have stringent requirements for working with the internal machinery. Instead of rejecting these at update_plane time, we should instead prevent the framebuffers from being created in the first place. Signed-off-by: Ilia Mirkin --- drivers/gpu/drm/nouveau/nouveau_display.c |

[Nouveau] [PATCH 0/4] Overlay / format improvements

2017-08-05 Thread Ilia Mirkin
This was all kicked off by me figuring out how the PPC byteswap thing worked. In the end, we're keeping the implicit byteswap based on architecture, but also expose the correctly supported formats, and fix some overlay details. Overlay framebuffers have various funky requirements that should be en

[Nouveau] [PATCH 2/4] drm/nouveau/overlay: improve error detection, fix pitch setting

2017-08-05 Thread Ilia Mirkin
We were previously setting the pitch based on a perfectly packed buffer. This does not necessarily happen. Either modetest started generating such buffers recently, or earlier testing only happened with well-picked overlay sizes. While we're at it, beef up and refactor the error state detection.

[Nouveau] [PATCH 4/4] drm/nouveau/dispnv04: fix exposed format list

2017-08-05 Thread Ilia Mirkin
drm_crtc_init exposes the XRGB and ARGB formats. In actuality, ARGB's 32-bit depth messes up some formulas that weren't meant for it, and the alpha is fairly meaningless for the primary plane. The modesetting logic appears to be fully prepared for RGB565 as well as XRGB1555 however, as

[Nouveau] [PATCH 3/4] drm/nouveau/overlay: add NV21 support

2017-08-05 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv04/overlay.c b/drivers/gpu/drm/nouveau/dispnv04/overlay.c index 5bd63c2f14a6..c8c2333f24ee 100644 --- a/drivers/gpu