git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800b699
)
radeon: call the correct idle function, logic got inverted.
author
Dave Airlie
<airlied@redhat.com>
Mon, 9 Mar 2009 02:12:28 +0000
(12:12 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 13 Mar 2009 04:24:17 +0000
(14:24 +1000)
This calls the correct idle function for the R600 and previous chips.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_cp.c
b/drivers/gpu/drm/radeon/radeon_cp.c
index
15cfe56
..
f5b7e47
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_cp.c
+++ b/
drivers/gpu/drm/radeon/radeon_cp.c
@@
-1702,7
+1702,7
@@
void radeon_do_release(struct drm_device * dev)
if (dev_priv) {
if (dev_priv->cp_running) {
/* Stop the cp */
- if ((dev_priv->flags & RADEON_FAMILY_MASK)
<
CHIP_R600) {
+ if ((dev_priv->flags & RADEON_FAMILY_MASK)
>=
CHIP_R600) {
while ((ret = r600_do_cp_idle(dev_priv)) != 0) {
DRM_DEBUG("radeon_do_cp_idle %d\n", ret);
#ifdef __linux__