History log of /drivers/gpu/drm/nouveau/nv50_grctx.c
Revision Date Author Comments
71856abefb49bae5d67275752ada02853c16660d 09-Oct-2011 Maxim Levitsky <maximlevitsky@gmail.com> drm/nv50: fix stability issue on NV86.

Confirmed to fix random hangs while running all Unegine demos on NV86.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
fbba036a56fe0e5c5e8c91daf3fa211f88d94a03 30-Jul-2011 Martin Peres <martin.peres@ensi-bourges.fr> drm/nv50/gr: enable ctxprog xfer only when we need it to save power

This patch adds instructions to ctxprog and by doing, impacts context
switching performance. My testcase showed a 1% performance cost using
glxgears that is a context-switch bound application.

Please test and report bugs/performance/power/other.

Many thanks to Maxim Levitsky for his dedicated work on lowering power
consumption with nouveau.

More patches are coming thanks to his work:

https://bugs.freedesktop.org/show_bug.cgi?id=37922

Signed-off-by: Martin Peres <martin.peres@ensi-bourges.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
95f0de3a0ae52bbe11f285ae46b5319bb2a2360d 18-Jun-2011 Ben Skeggs <bskeggs@redhat.com> drm/nv50/gr: insert set/clr of a ctxprog flag at start/end of ctxprog

The set will be replaced with a wait on the same flag by a subsequent
commit in order to halt a ctxprog's execution temporarily.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
f9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee 20-Mar-2011 Emil Velikov <emil.l.velikov@gmail.com> drm/nouveau: Fix brace placement checkpatch.pl errors.

Fix 'ERROR: that open brace { should be on the previous line'
Fix 'ERROR: else should follow close brace }'

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
f212949ced2397b5f00e987bb5d4bb34dc69cc8d 20-Mar-2011 Emil Velikov <emil.l.velikov@gmail.com> drm/nouveau: Clean up trailing whitespace and C99-style comments.

Fix 'ERROR: trailing whitespace',
Fix 'ERROR: do not use C99 // comments'

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
71298e2f0b6fb6dce9f2b2e999652edf1f643d9e 20-Mar-2011 Emil Velikov <emil.l.velikov@gmail.com> drm/nouveau: Fix indentation-related checkpatch.pl error messages.

Fix 'ERROR: code indent should use tabs where possible'
Fix 'ERROR: space required before the open parenthesis ('

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
e69b4418825c2e4c6563ae1d69bd75377826e263 01-Sep-2010 Marcin Kościelnicki <koriakin@0x04.net> drm/nv50: demagic grctx, and add NVAF support

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
b3beb167af0de6d7cb03aed0687eca645cfd06a6 01-Sep-2010 Ben Skeggs <bskeggs@redhat.com> drm/nouveau: modify object accessors, offset in bytes rather than dwords

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
eaeefba154a19aeab9037b1d29478e5303a992fe 02-Apr-2010 Marcin Kościelnicki <koriakin@0x04.net> drm/nv50: Add NVA3 support in ctxprog/ctxvals generator.

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
0dd8c3f093e3d0cab2cc967f9620b41a125f1f56 17-Mar-2010 Marcin Kościelnicki <koriakin@0x04.net> drm/nv50: Fix NEWCTX_DONE flag number

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
304424e17dd904cef048ef8966d9f54618a915cc 01-Mar-2010 Marcin Kościelnicki <koriakin@0x04.net> drm/nv50: Improve PGRAPH interrupt handling.

This makes nouveau recognise and report more kinds of PGRAPH errors, as
well as prevent GPU lockups resulting from some of them.

Lots of guesswork was involved and some part of this is probably
incorrect. Some potential-lockuop situations are handled by just
resetting a whole PGRAPH subunit, which doesn't sound like a "proper"
solution, but seems to work just fine... for now.

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
3bf777bf0ab112527cea103c3681934a9f41c03d 01-Mar-2010 Marcin Kościelnicki <koriakin@0x04.net> drm/nv50: Make ctxprog wait until interrupt handler is done.

This will fix races between generated ctxprogs and interrupt handler.

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
d5f3c90d4f3ad6b054f9855b7b69137b97bda131 25-Feb-2010 Marcin Kościelnicki <koriakin@0x04.net> drm/nv50: Implement ctxprog/state generation.

This removes dependence on external firmware for NV50 generation cards.
If the generated ctxprogs don't work for you for some reason, please
report it.

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>