From: Maarten Maathuis Date: Mon, 1 Feb 2010 17:32:09 +0000 (+0100) Subject: drm/nv50: avoid unloading pgraph context when ctxprog is running X-Git-Tag: v2.6.33-rc8~14^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a51a3bf50d41708388f51ce63d965c0e77726eab;p=pandora-kernel.git drm/nv50: avoid unloading pgraph context when ctxprog is running - We need to disable pgraph fifo access before checking the current channel, otherwise we could still hit a running ctxprog. - The writes to 0x400500 are already handled by pgraph->fifo_access and are therefore redundant, moreover pgraph fifo access should not be reenabled before current context is set as invalid. So remove them altogether. Signed-off-by: Maarten Maathuis Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed