OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f75511
)
drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()
author
Alex Deucher
<alexander.deucher@amd.com>
Mon, 19 Nov 2012 14:11:27 +0000
(09:11 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 20 Nov 2012 16:47:32 +0000
(11:47 -0500)
The save struct is not initialized previously so explicitly
mark the crtcs as not used when they are not in use.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/evergreen.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/evergreen.c
b/drivers/gpu/drm/radeon/evergreen.c
index
af31f82
..
219942c
100644
(file)
--- a/
drivers/gpu/drm/radeon/evergreen.c
+++ b/
drivers/gpu/drm/radeon/evergreen.c
@@
-1330,6
+1330,8
@@
void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *sav
break;
udelay(1);
}
+ } else {
+ save->crtc_enabled[i] = false;
}
}