summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-12-09 18:59:11 +1000
committerDave Airlie <airlied@linux.ie>2008-12-09 19:00:38 +1000
commit69e445f7f2ebd299070e44457b434bbc28b7e05c (patch)
treeb91deb354f26bb728594c5ab0382f1cbe4b8847f /src/atombios_crtc.c
parentc72b732a2f5597cd72bd4ebe207799ae07f2681e (diff)
radeon: memset the pll setting function
Thanks to Peter Zijlstra for making me debug this and providing feedback.
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 4e2395f8..7a2e378b 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -221,6 +221,7 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode, int pll_flags)
unsigned char *space;
RADEONSavePtr save = info->ModeReg;
+ memset(&spc_param, 0, sizeof(spc_param));
if (IS_AVIVO_VARIANT) {
uint32_t temp;