From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] New: Screen corruption on Cayman with dpm enabled
Date: Mon, 15 Jul 2013 15:45:05 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0977394193=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 1EFC2E5C60
for ;
Mon, 15 Jul 2013 08:45:06 -0700 (PDT)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0977394193==
Content-Type: multipart/alternative; boundary="1373903105.d17cE220.14942"; charset="us-ascii"
--1373903105.d17cE220.14942
Date: Mon, 15 Jul 2013 15:45:05 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
Priority: medium
Bug ID: 66932
Assignee: dri-devel@lists.freedesktop.org
Summary: Screen corruption on Cayman with dpm enabled
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: g02maran@gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: DRI CVS
Component: DRM/Radeon
Product: DRI
Created attachment 82448
--> https://bugs.freedesktop.org/attachment.cgi?id=82448&action=edit
dmesg
When I enable dpm with my 6950 I see major screen corruption. It works fine
with dpm disabled.
The computer does not get completely locked up. The screen flickers but there
is always a pattern in the corruption that stays the same. Sometimes, not
always, I can see and control a corrupted mouse cursor. But the screen is so
corrupted that i can't login or do anything. I can ssh into the computer but it
won't reboot.
I first tried 3.11-rc1 but then did my tests on
http://cgit.freedesktop.org/~agd5f/linux/?h=drm-fixes-3.11 with latest commit
being a01c34f72e7cd2624570818f579b5ab464f93de2
I have ucode (downloaded 2013-06-15) from
http://people.freedesktop.org/~agd5f/radeon_ucode/
I compiled the kernel with this.
CONFIG_EXTRA_FIRMWARE="radeon/CAYMAN_mc.bin radeon/CAYMAN_me.bin
radeon/CAYMAN_pfp.bin radeon/CAYMAN_rlc.bin radeon/CAYMAN_smc.bin
radeon/SUMO_uvd.bin"
I did a bisect and found that this commit introduced the corruption:
http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.11&id=7ad8d0687bb5030c3328bc7229a3183ce179ab25
--
You are receiving this mail because:
You are the assignee for the bug.
--1373903105.d17cE220.14942
Date: Mon, 15 Jul 2013 15:45:05 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Priority |
medium
|
| Bug ID |
66932
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Summary |
Screen corruption on Cayman with dpm enabled
|
| Severity |
normal
|
| Classification |
Unclassified
|
| OS |
Linux (All)
|
| Reporter |
g02maran@gmail.com
|
| Hardware |
x86-64 (AMD64)
|
| Status |
NEW
|
| Version |
DRI CVS
|
| Component |
DRM/Radeon
|
| Product |
DRI
|
You are receiving this mail because:
- You are the assignee for the bug.
--1373903105.d17cE220.14942--
--===============0977394193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0977394193==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Mon, 15 Jul 2013 15:54:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0151479285=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id D9E7AE5C60
for ;
Mon, 15 Jul 2013 08:54:12 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0151479285==
Content-Type: multipart/alternative; boundary="1373903652.C5B7b0.16557"; charset="us-ascii"
--1373903652.C5B7b0.16557
Date: Mon, 15 Jul 2013 15:54:12 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #1 from Martin Andersson ---
Created attachment 82449
--> https://bugs.freedesktop.org/attachment.cgi?id=82449&action=edit
screenshot of corruption
--
You are receiving this mail because:
You are the assignee for the bug.
--1373903652.C5B7b0.16557
Date: Mon, 15 Jul 2013 15:54:12 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1373903652.C5B7b0.16557--
--===============0151479285==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0151479285==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 01:05:10 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0741197900=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 21BF0E5DCE
for ;
Mon, 15 Jul 2013 18:05:10 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0741197900==
Content-Type: multipart/alternative; boundary="1373936709.e1aed0.25530"; charset="us-ascii"
--1373936709.e1aed0.25530
Date: Tue, 16 Jul 2013 01:05:09 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #2 from Alex Deucher ---
(In reply to comment #0)
>
> I did a bisect and found that this commit introduced the corruption:
>
> http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.
> 11&id=7ad8d0687bb5030c3328bc7229a3183ce179ab25
Prior to that commit, the driver didn't actually change clock levels.
Does it work any better if you build radeon as a module rather than building it
into the kernel?
--
You are receiving this mail because:
You are the assignee for the bug.
--1373936709.e1aed0.25530
Date: Tue, 16 Jul 2013 01:05:09 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1373936709.e1aed0.25530--
--===============0741197900==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0741197900==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 05:11:29 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0096255852=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 123C6E5CD6
for ;
Mon, 15 Jul 2013 22:11:29 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0096255852==
Content-Type: multipart/alternative; boundary="1373951488.e6860.21176"; charset="us-ascii"
--1373951488.e6860.21176
Date: Tue, 16 Jul 2013 05:11:28 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #3 from Martin Andersson ---
(In reply to comment #2)
> (In reply to comment #0)
> >
> > I did a bisect and found that this commit introduced the corruption:
> >
> > http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.
> > 11&id=7ad8d0687bb5030c3328bc7229a3183ce179ab25
>
> Prior to that commit, the driver didn't actually change clock levels.
>
> Does it work any better if you build radeon as a module rather than building
> it into the kernel?
Well I think I'm already building radeon as a module since I have:
CONFIG_DRM=m
CONFIG_DRM_RADEON=m
or am I missing something?
--
You are receiving this mail because:
You are the assignee for the bug.
--1373951488.e6860.21176
Date: Tue, 16 Jul 2013 05:11:28 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 66932
from Martin Andersson
(In reply to comment #2)
> (In reply to comment #0)
> >
> > I did a bisect and found that this commit introduced the corruption:
> >
> > http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.
> > 11&id=7ad8d0687bb5030c3328bc7229a3183ce179ab25
>
> Prior to that commit, the driver didn't actually change clock levels.
>
> Does it work any better if you build radeon as a module rather than building
> it into the kernel?
Well I think I'm already building radeon as a module since I have:
CONFIG_DRM=m
CONFIG_DRM_RADEON=m
or am I missing something?
You are receiving this mail because:
- You are the assignee for the bug.
--1373951488.e6860.21176--
--===============0096255852==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0096255852==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 13:21:40 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0731633690=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 638F5E6BD1
for ;
Tue, 16 Jul 2013 06:21:40 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0731633690==
Content-Type: multipart/alternative; boundary="1373980900.7feA0.29728"; charset="us-ascii"
--1373980900.7feA0.29728
Date: Tue, 16 Jul 2013 13:21:40 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #4 from Alex Deucher ---
(In reply to comment #3)
>
> Well I think I'm already building radeon as a module since I have:
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
>
> or am I missing something?
That should be fine. I assumed you were building it in since you were messing
with CONFIG_EXTRA_FIRMWARE.
--
You are receiving this mail because:
You are the assignee for the bug.
--1373980900.7feA0.29728
Date: Tue, 16 Jul 2013 13:21:40 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 4
on bug 66932
from Alex Deucher
(In reply to comment #3)
>
> Well I think I'm already building radeon as a module since I have:
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
>
> or am I missing something?
That should be fine. I assumed you were building it in since you were messing
with CONFIG_EXTRA_FIRMWARE.
You are receiving this mail because:
- You are the assignee for the bug.
--1373980900.7feA0.29728--
--===============0731633690==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0731633690==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 17:10:23 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1149762982=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id B3FBDE6C9C
for ;
Tue, 16 Jul 2013 10:10:23 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1149762982==
Content-Type: multipart/alternative; boundary="1373994623.Ae6A8FE0.2368"; charset="us-ascii"
--1373994623.Ae6A8FE0.2368
Date: Tue, 16 Jul 2013 17:10:23 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #5 from Martin Andersson ---
(In reply to comment #4)
> (In reply to comment #3)
> >
> > Well I think I'm already building radeon as a module since I have:
> > CONFIG_DRM=m
> > CONFIG_DRM_RADEON=m
> >
> > or am I missing something?
>
> That should be fine. I assumed you were building it in since you were
> messing with CONFIG_EXTRA_FIRMWARE.
I have learnt something new today, CONFIG_EXTRA_FIRMWARE is not needed for
modules.
I tried RADEON_DPM_FORCED_LEVEL_LOW and RADEON_DPM_FORCED_LEVEL_HIGH, but they
didn't work either.
Then I commented out:
ni_dpm_force_performance_level(rdev, RADEON_DPM_FORCED_LEVEL_AUTO);
With that I can boot the system and dpm seems to work, because the fan is nice
and quiet. Also cat /sys/kernel/debug/dri/64/radeon_pm_info says this:
uvd vclk: 0 dclk: 0
power level 0 sclk: 25000 mclk: 15000 vddc: 900 vddci: 950
Then (with RADEON_DPM_FORCED_LEVEL_AUTO enabled again) I commented out:
if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) !=
PPSMC_Result_OK)
That resulted in screen corruption but it worked when I instead commented out:
if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) !=
PPSMC_Result_OK)
--
You are receiving this mail because:
You are the assignee for the bug.
--1373994623.Ae6A8FE0.2368
Date: Tue, 16 Jul 2013 17:10:23 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 5
on bug 66932
from Martin Andersson
(In reply to comment #4)
> (In reply to comment #3)
> >
> > Well I think I'm already building radeon as a module since I have:
> > CONFIG_DRM=m
> > CONFIG_DRM_RADEON=m
> >
> > or am I missing something?
>
> That should be fine. I assumed you were building it in since you were
> messing with CONFIG_EXTRA_FIRMWARE.
I have learnt something new today, CONFIG_EXTRA_FIRMWARE is not needed for
modules.
I tried RADEON_DPM_FORCED_LEVEL_LOW and RADEON_DPM_FORCED_LEVEL_HIGH, but they
didn't work either.
Then I commented out:
ni_dpm_force_performance_level(rdev, RADEON_DPM_FORCED_LEVEL_AUTO);
With that I can boot the system and dpm seems to work, because the fan is nice
and quiet. Also cat /sys/kernel/debug/dri/64/radeon_pm_info says this:
uvd vclk: 0 dclk: 0
power level 0 sclk: 25000 mclk: 15000 vddc: 900 vddci: 950
Then (with RADEON_DPM_FORCED_LEVEL_AUTO enabled again) I commented out:
if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) !=
PPSMC_Result_OK)
That resulted in screen corruption but it worked when I instead commented out:
if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) !=
PPSMC_Result_OK)
You are receiving this mail because:
- You are the assignee for the bug.
--1373994623.Ae6A8FE0.2368--
--===============1149762982==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1149762982==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 20:43:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0340726187=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 13A2CE6608
for ;
Tue, 16 Jul 2013 13:43:26 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0340726187==
Content-Type: multipart/alternative; boundary="1374007405.B6bAd3C0.31406"; charset="us-ascii"
--1374007405.B6bAd3C0.31406
Date: Tue, 16 Jul 2013 20:43:25 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #6 from Alex Deucher ---
(In reply to comment #5)
>
> Then I commented out:
> ni_dpm_force_performance_level(rdev, RADEON_DPM_FORCED_LEVEL_AUTO);
> That resulted in screen corruption but it worked when I instead commented
> out:
> if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0)
> != PPSMC_Result_OK)
Unfortunately, removing those calls disables dynamic reclocking so the GPU
always stays in the lowest performance level.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374007405.B6bAd3C0.31406
Date: Tue, 16 Jul 2013 20:43:25 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 6
on bug 66932
from Alex Deucher
(In reply to comment #5)
>
> Then I commented out:
> ni_dpm_force_performance_level(rdev, RADEON_DPM_FORCED_LEVEL_AUTO);
> That resulted in screen corruption but it worked when I instead commented
> out:
> if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0)
> != PPSMC_Result_OK)
Unfortunately, removing those calls disables dynamic reclocking so the GPU
always stays in the lowest performance level.
You are receiving this mail because:
- You are the assignee for the bug.
--1374007405.B6bAd3C0.31406--
--===============0340726187==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0340726187==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 20:47:35 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0403751181=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DF79FE64B9
for ;
Tue, 16 Jul 2013 13:47:35 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0403751181==
Content-Type: multipart/alternative; boundary="1374007655.3E0AFd00.32109"; charset="us-ascii"
--1374007655.3E0AFd00.32109
Date: Tue, 16 Jul 2013 20:47:35 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #7 from Alex Deucher ---
Created attachment 82501
--> https://bugs.freedesktop.org/attachment.cgi?id=82501&action=edit
add module parameter to disable aspm
Try this patch which adds a new module parameter to disable aspm. Add
radeon.aspm=0 to your kernel command line in grub to disable aspm support.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374007655.3E0AFd00.32109
Date: Tue, 16 Jul 2013 20:47:35 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1374007655.3E0AFd00.32109--
--===============0403751181==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0403751181==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 21:10:05 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0517331146=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 987E1E64A7
for ;
Tue, 16 Jul 2013 14:10:05 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0517331146==
Content-Type: multipart/alternative; boundary="1374009005.aCD8c0.3104"; charset="us-ascii"
--1374009005.aCD8c0.3104
Date: Tue, 16 Jul 2013 21:10:05 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #8 from Martin Andersson ---
(In reply to comment #7)
> Created attachment 82501 [details] [review]
> add module parameter to disable aspm
>
> Try this patch which adds a new module parameter to disable aspm. Add
> radeon.aspm=0 to your kernel command line in grub to disable aspm support.
Unfortunately that didn't help, it was different though. First I saw the
corruption as before, but after a second or two the screen turned blank, like
it didn't get any signal.
I caught a glimpse of some text that was printed just before the corruption,
don't know if it is related or not, just throwing it out there.
It's said "mei_me"
I have seen it before but then I didn't have time to see what it was.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374009005.aCD8c0.3104
Date: Tue, 16 Jul 2013 21:10:05 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 8
on bug 66932
from Martin Andersson
(In reply to comment #7)
> Created attachment 82501 [details] [review] [review]
> add module parameter to disable aspm
>
> Try this patch which adds a new module parameter to disable aspm. Add
> radeon.aspm=0 to your kernel command line in grub to disable aspm support.
Unfortunately that didn't help, it was different though. First I saw the
corruption as before, but after a second or two the screen turned blank, like
it didn't get any signal.
I caught a glimpse of some text that was printed just before the corruption,
don't know if it is related or not, just throwing it out there.
It's said "mei_me" <some text I forgot> <something about write failed>
I have seen it before but then I didn't have time to see what it was.
You are receiving this mail because:
- You are the assignee for the bug.
--1374009005.aCD8c0.3104--
--===============0517331146==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0517331146==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Tue, 16 Jul 2013 21:23:23 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0581743818=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 872A0E64A7
for ;
Tue, 16 Jul 2013 14:23:23 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0581743818==
Content-Type: multipart/alternative; boundary="1374009803.b4BEfc0.4439"; charset="us-ascii"
--1374009803.b4BEfc0.4439
Date: Tue, 16 Jul 2013 21:23:23 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #9 from Martin Andersson ---
I just tried booting a second time and now experienced exactly the same
behaviour as before the patch, that is the screen didn't get blank but
continued to display the corrupted screen.
Also looked at the dmesg from the patch and it was exactly the same lockup.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374009803.b4BEfc0.4439
Date: Tue, 16 Jul 2013 21:23:23 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 9
on bug 66932
from Martin Andersson
I just tried booting a second time and now experienced exactly the same
behaviour as before the patch, that is the screen didn't get blank but
continued to display the corrupted screen.
Also looked at the dmesg from the patch and it was exactly the same lockup.
You are receiving this mail because:
- You are the assignee for the bug.
--1374009803.b4BEfc0.4439--
--===============0581743818==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0581743818==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 01:45:50 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1997665976=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 891B2E669C
for ;
Tue, 16 Jul 2013 18:45:50 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1997665976==
Content-Type: multipart/alternative; boundary="1374025550.b7DD6eaa0.6872"; charset="us-ascii"
--1374025550.b7DD6eaa0.6872
Date: Wed, 17 Jul 2013 01:45:50 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #10 from Alex Deucher ---
Created attachment 82519
--> https://bugs.freedesktop.org/attachment.cgi?id=82519&action=edit
debugging output
Can you attach a dmesg output with dpm enabled with this patch?
--
You are receiving this mail because:
You are the assignee for the bug.
--1374025550.b7DD6eaa0.6872
Date: Wed, 17 Jul 2013 01:45:50 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1374025550.b7DD6eaa0.6872--
--===============1997665976==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1997665976==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 09:13:39 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0669864538=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id CB215E66D8
for ;
Wed, 17 Jul 2013 02:13:39 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0669864538==
Content-Type: multipart/alternative; boundary="1374052419.bF1bfCF0.31332"; charset="us-ascii"
--1374052419.bF1bfCF0.31332
Date: Wed, 17 Jul 2013 09:13:39 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #11 from Martin Andersson ---
Created attachment 82534
--> https://bugs.freedesktop.org/attachment.cgi?id=82534&action=edit
dmesg with mc reg dump
--
You are receiving this mail because:
You are the assignee for the bug.
--1374052419.bF1bfCF0.31332
Date: Wed, 17 Jul 2013 09:13:39 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1374052419.bF1bfCF0.31332--
--===============0669864538==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0669864538==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 11:09:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0186506160=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 7E74FE674D
for ;
Wed, 17 Jul 2013 04:09:00 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0186506160==
Content-Type: multipart/alternative; boundary="1374059340.4060F40.16233"; charset="us-ascii"
--1374059340.4060F40.16233
Date: Wed, 17 Jul 2013 11:09:00 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #12 from Martin Andersson ---
Take this information with a grain of salt, since I'm testing stuff without
really knowing whats going on.
I found it interesting that the dmesg with the mc dump didn't print anything
from the first for loop in the patch, so I did some testing.
I added a bunch of debug printks to radeon_atom_init_mc_reg_table to see what
was happening. I found that num_entries is 13, but what was more interesting
was that some printks was skipped and now I got a kernel oops (NULL pointer
dereference).
It looked like this while loop was executed once (without problems), then
strange things happended:
while (!(reg_block->asRegIndexBuf[i].ucPreRegDataLength &
ACCESS_PLACEHOLDER)...
So I added this printk before and after "i++;" in that while loop:
printk(KERN_INFO "debug=%u", reg_block->asRegIndexBuf[i].ucPreRegDataLength);
gcc didn't complain about the first printk but for the second it said this:
drivers/gpu/drm/radeon/radeon_atombios.c:3741:60: warning: array subscript is
above array bounds [-Warray-bounds]
It might be a false positive but it matches with my debug printks, everything
is fine until the second iteration in that while loop. After that the execution
jumps further down in the function and crashes.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374059340.4060F40.16233
Date: Wed, 17 Jul 2013 11:09:00 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 12
on bug 66932
from Martin Andersson
Take this information with a grain of salt, since I'm testing stuff without
really knowing whats going on.
I found it interesting that the dmesg with the mc dump didn't print anything
from the first for loop in the patch, so I did some testing.
I added a bunch of debug printks to radeon_atom_init_mc_reg_table to see what
was happening. I found that num_entries is 13, but what was more interesting
was that some printks was skipped and now I got a kernel oops (NULL pointer
dereference).
It looked like this while loop was executed once (without problems), then
strange things happended:
while (!(reg_block->asRegIndexBuf[i].ucPreRegDataLength &
ACCESS_PLACEHOLDER)...
So I added this printk before and after "i++;" in that while loop:
printk(KERN_INFO "debug=%u", reg_block->asRegIndexBuf[i].ucPreRegDataLength);
gcc didn't complain about the first printk but for the second it said this:
drivers/gpu/drm/radeon/radeon_atombios.c:3741:60: warning: array subscript is
above array bounds [-Warray-bounds]
It might be a false positive but it matches with my debug printks, everything
is fine until the second iteration in that while loop. After that the execution
jumps further down in the function and crashes.
You are receiving this mail because:
- You are the assignee for the bug.
--1374059340.4060F40.16233--
--===============0186506160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0186506160==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 16:40:45 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1684005744=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id AB7E9E5C40
for ;
Wed, 17 Jul 2013 09:40:45 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1684005744==
Content-Type: multipart/alternative; boundary="1374079245.F32E2.31189"; charset="us-ascii"
--1374079245.F32E2.31189
Date: Wed, 17 Jul 2013 16:40:45 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
Alex Deucher changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |a.heider@gmail.com
--- Comment #13 from Alex Deucher ---
*** Bug 66972 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
--1374079245.F32E2.31189
Date: Wed, 17 Jul 2013 16:40:45 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Alex Deucher
changed
bug 66932
| What |
Removed |
Added |
| CC |
|
a.heider@gmail.com
|
You are receiving this mail because:
- You are the assignee for the bug.
--1374079245.F32E2.31189--
--===============1684005744==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1684005744==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 16:42:32 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2126222556=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0B124E5C40
for ;
Wed, 17 Jul 2013 09:42:33 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============2126222556==
Content-Type: multipart/alternative; boundary="1374079352.B2D81bBc4.31383"; charset="us-ascii"
--1374079352.B2D81bBc4.31383
Date: Wed, 17 Jul 2013 16:42:32 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
Alex Deucher changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi@slackeee.de
--- Comment #14 from Alex Deucher ---
*** Bug 66945 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
--1374079352.B2D81bBc4.31383
Date: Wed, 17 Jul 2013 16:42:32 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Alex Deucher
changed
bug 66932
| What |
Removed |
Added |
| CC |
|
tobi@slackeee.de
|
You are receiving this mail because:
- You are the assignee for the bug.
--1374079352.B2D81bBc4.31383--
--===============2126222556==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============2126222556==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 16:48:14 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2024931758=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 9A411E5D34
for ;
Wed, 17 Jul 2013 09:48:14 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============2024931758==
Content-Type: multipart/alternative; boundary="1374079694.8b140D761.32244"; charset="us-ascii"
--1374079694.8b140D761.32244
Date: Wed, 17 Jul 2013 16:48:14 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #15 from Alex Deucher ---
Created attachment 82551
--> https://bugs.freedesktop.org/attachment.cgi?id=82551&action=edit
more debugging
Something appears to be corrupting that structure. Try this patch on top of
the previous one and post the dmesg with them applied. reg_table->last should
not be 0. You should be seeing something like (slightly different per asic):
[ 96.516683] 0 s1 = 0x0a2f pre_reg_data = 0x04
[ 96.516696] 1 s1 = 0x0a30 pre_reg_data = 0x00
[ 96.516710] 2 s1 = 0x0ad5 pre_reg_data = 0x04
[ 96.516723] 3 s1 = 0x0a28 pre_reg_data = 0x04
[ 96.516736] 4 s1 = 0x0a29 pre_reg_data = 0x04
[ 96.516746] 5 s1 = 0x0a2a pre_reg_data = 0x04
[ 96.516759] 6 s1 = 0x0a2b pre_reg_data = 0x04
[ 96.516772] 7 s1 = 0x0a2c pre_reg_data = 0x04
[ 96.516786] 8 s1 = 0x0a81 pre_reg_data = 0x04
[ 96.516798] 9 s1 = 0x0a8b pre_reg_data = 0x04
[ 96.516811] 10 s1 = 0x0a5f pre_reg_data = 0x04
for the first loop in the dumper.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374079694.8b140D761.32244
Date: Wed, 17 Jul 2013 16:48:14 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 15
on bug 66932
from Alex Deucher
Created attachment 82551 [details] [review]
more debugging
Something appears to be corrupting that structure. Try this patch on top of
the previous one and post the dmesg with them applied. reg_table->last should
not be 0. You should be seeing something like (slightly different per asic):
[ 96.516683] 0 s1 = 0x0a2f pre_reg_data = 0x04
[ 96.516696] 1 s1 = 0x0a30 pre_reg_data = 0x00
[ 96.516710] 2 s1 = 0x0ad5 pre_reg_data = 0x04
[ 96.516723] 3 s1 = 0x0a28 pre_reg_data = 0x04
[ 96.516736] 4 s1 = 0x0a29 pre_reg_data = 0x04
[ 96.516746] 5 s1 = 0x0a2a pre_reg_data = 0x04
[ 96.516759] 6 s1 = 0x0a2b pre_reg_data = 0x04
[ 96.516772] 7 s1 = 0x0a2c pre_reg_data = 0x04
[ 96.516786] 8 s1 = 0x0a81 pre_reg_data = 0x04
[ 96.516798] 9 s1 = 0x0a8b pre_reg_data = 0x04
[ 96.516811] 10 s1 = 0x0a5f pre_reg_data = 0x04
for the first loop in the dumper.
You are receiving this mail because:
- You are the assignee for the bug.
--1374079694.8b140D761.32244--
--===============2024931758==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============2024931758==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 17:02:23 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1844948791=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 62D73E5D34
for ;
Wed, 17 Jul 2013 10:02:23 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1844948791==
Content-Type: multipart/alternative; boundary="1374080543.C8331.1860"; charset="us-ascii"
--1374080543.C8331.1860
Date: Wed, 17 Jul 2013 17:02:23 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #16 from Martin Andersson ---
Created attachment 82552
--> https://bugs.freedesktop.org/attachment.cgi?id=82552&action=edit
dmesg with more debugging
--
You are receiving this mail because:
You are the assignee for the bug.
--1374080543.C8331.1860
Date: Wed, 17 Jul 2013 17:02:23 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1374080543.C8331.1860--
--===============1844948791==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1844948791==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 17:13:37 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0675533652=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id C67A0E646B
for ;
Wed, 17 Jul 2013 10:13:37 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0675533652==
Content-Type: multipart/alternative; boundary="1374081217.0dFECaC1.3705"; charset="us-ascii"
--1374081217.0dFECaC1.3705
Date: Wed, 17 Jul 2013 17:13:37 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #17 from Andre Heider ---
Same here:
[ 7.563515] module_index = 2 num_entries = 13
[ 7.563516] 0: s1 = 0x0a2f prd = 0x04
[ 7.567599] switching from power state:
no more "s1 =" and not a single "last ="
--
You are receiving this mail because:
You are the assignee for the bug.
--1374081217.0dFECaC1.3705
Date: Wed, 17 Jul 2013 17:13:37 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 17
on bug 66932
from Andre Heider
Same here:
[ 7.563515] module_index = 2 num_entries = 13
[ 7.563516] 0: s1 = 0x0a2f prd = 0x04
[ 7.567599] switching from power state:
no more "s1 =" and not a single "last ="
You are receiving this mail because:
- You are the assignee for the bug.
--1374081217.0dFECaC1.3705--
--===============0675533652==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0675533652==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 17:47:16 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1602514150=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id A2B0BE5FDF
for ;
Wed, 17 Jul 2013 10:47:16 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1602514150==
Content-Type: multipart/alternative; boundary="1374083236.50aAFA1.7724"; charset="us-ascii"
--1374083236.50aAFA1.7724
Date: Wed, 17 Jul 2013 17:47:16 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #18 from Andre Heider ---
Created attachment 82559
--> https://bugs.freedesktop.org/attachment.cgi?id=82559&action=edit
weird fix
This magically makes it work...
No more stalls, box drops from 125 watt to 62.
[ 7.923448] module_index = 2 num_entries = 13
[ 7.923449] 0: s1 = 0x0a2f prd = 0x04
[ 7.923450] 1: s1 = 0x0a30 prd = 0x00
[ 7.923450] 2: s1 = 0x0ad5 prd = 0x04
[ 7.923451] 3: s1 = 0x0a28 prd = 0x04
[ 7.923451] 4: s1 = 0x0a29 prd = 0x04
[ 7.923452] 5: s1 = 0x0a2a prd = 0x04
[ 7.923453] 6: s1 = 0x0a2b prd = 0x04
[ 7.923453] 7: s1 = 0x0a2c prd = 0x04
[ 7.923454] 8: s1 = 0x0a81 prd = 0x04
[ 7.923454] 9: s1 = 0x0a8b prd = 0x04
[ 7.923455] 10: s1 = 0x0a5f prd = 0x04
[ 7.923456] last = 11
[ 7.923457] last = 11
[ 7.923457] 0 s1 = 0x0a2f pre_reg_data = 0x04
[ 7.923458] 1 s1 = 0x0a30 pre_reg_data = 0x00
[ 7.923458] 2 s1 = 0x0ad5 pre_reg_data = 0x04
[ 7.923459] 3 s1 = 0x0a28 pre_reg_data = 0x04
[ 7.923460] 4 s1 = 0x0a29 pre_reg_data = 0x04
[ 7.923460] 5 s1 = 0x0a2a pre_reg_data = 0x04
[ 7.923461] 6 s1 = 0x0a2b pre_reg_data = 0x04
[ 7.923461] 7 s1 = 0x0a2c pre_reg_data = 0x04
[ 7.923462] 8 s1 = 0x0a81 pre_reg_data = 0x04
[ 7.923463] 9 s1 = 0x0a8b pre_reg_data = 0x04
[ 7.923463] 10 s1 = 0x0a5f pre_reg_data = 0x04
[ 7.923464] 0 mclk_max = 40000
[ 7.923465] 0 mc_data = 0x20335155
[ 7.923465] 1 mc_data = 0x20335155
[ 7.923466] 2 mc_data = 0x00000000
[ 7.923466] 3 mc_data = 0x0f129421
[ 7.923467] 4 mc_data = 0x080852c0
[ 7.923468] 5 mc_data = 0x01328d12
[ 7.923468] 6 mc_data = 0x00222000
[ 7.923469] 7 mc_data = 0x001ca511
[ 7.923469] 8 mc_data = 0x2014021b
[ 7.923470] 9 mc_data = 0xa28086ba
[ 7.923470] 10 mc_data = 0x00000000
[ 7.923471] 1 mclk_max = 80000
[ 7.923472] 0 mc_data = 0x20337177
[ 7.923472] 1 mc_data = 0x20337177
[ 7.923473] 2 mc_data = 0x00000000
[ 7.923473] 3 mc_data = 0x1f2528a5
[ 7.923474] 4 mc_data = 0x0c0952f0
[ 7.923475] 5 mc_data = 0x0275971f
[ 7.923475] 6 mc_data = 0x00622200
[ 7.923476] 7 mc_data = 0x001ca511
[ 7.923476] 8 mc_data = 0x2014083c
[ 7.923477] 9 mc_data = 0xa50086ba
[ 7.923477] 10 mc_data = 0x00000000
[ 7.923478] 2 mclk_max = 90000
[ 7.923479] 0 mc_data = 0x20337177
[ 7.923479] 1 mc_data = 0x20337177
[ 7.923480] 2 mc_data = 0x00000000
[ 7.923480] 3 mc_data = 0x222630e7
[ 7.923481] 4 mc_data = 0x0d095300
[ 7.923481] 5 mc_data = 0x02c61921
[ 7.923482] 6 mc_data = 0x00822300
[ 7.923483] 7 mc_data = 0x001ca511
[ 7.923483] 8 mc_data = 0x20140944
[ 7.923484] 9 mc_data = 0xa58086ba
[ 7.923484] 10 mc_data = 0x00000000
[ 7.923485] 3 mclk_max = 100000
[ 7.923485] 0 mc_data = 0x20337177
[ 7.923486] 1 mc_data = 0x20337177
[ 7.923487] 2 mc_data = 0x00000000
[ 7.923487] 3 mc_data = 0x27273929
[ 7.923488] 4 mc_data = 0x0e095310
[ 7.923488] 5 mc_data = 0x03171c24
[ 7.923489] 6 mc_data = 0x00822300
[ 7.923489] 7 mc_data = 0x001ca511
[ 7.923490] 8 mc_data = 0x20140a4c
[ 7.923491] 9 mc_data = 0xa64086ba
[ 7.923491] 10 mc_data = 0x00000000
[ 7.923492] 4 mclk_max = 125000
[ 7.923492] 0 mc_data = 0x20337177
[ 7.923493] 1 mc_data = 0x20337177
[ 7.923493] 2 mc_data = 0x00000000
[ 7.923494] 3 mc_data = 0x2f68416b
[ 7.923495] 4 mc_data = 0x10095330
[ 7.923495] 5 mc_data = 0x03e8a12b
[ 7.923496] 6 mc_data = 0x00c34500
[ 7.923496] 7 mc_data = 0x001ca511
[ 7.923497] 8 mc_data = 0x20140e5c
[ 7.923497] 9 mc_data = 0xa780874a
[ 7.923498] 10 mc_data = 0x00000000
[ 7.923499] 5 mclk_max = 137500
[ 7.923499] 0 mc_data = 0x20337177
[ 7.923500] 1 mc_data = 0x20337177
[ 7.923500] 2 mc_data = 0x00000000
[ 7.923501] 3 mc_data = 0x346949ad
[ 7.923501] 4 mc_data = 0x10095330
[ 7.923502] 5 mc_data = 0x0449a32e
[ 7.923503] 6 mc_data = 0x00c44600
[ 7.923503] 7 mc_data = 0x001ca511
[ 7.923504] 8 mc_data = 0x20140f5c
[ 7.923504] 9 mc_data = 0xa840875a
[ 7.923505] 10 mc_data = 0x00000000
[ 7.923505] 6 mclk_max = 150000
[ 7.923506] 0 mc_data = 0x20337177
[ 7.923507] 1 mc_data = 0x20337177
[ 7.923507] 2 mc_data = 0x00000000
[ 7.923508] 3 mc_data = 0x386a51ef
[ 7.923508] 4 mc_data = 0x11095340
[ 7.923509] 5 mc_data = 0x04aa2531
[ 7.923509] 6 mc_data = 0x00e44700
[ 7.923510] 7 mc_data = 0x001ca511
[ 7.923511] 8 mc_data = 0x20940164
[ 7.923511] 9 mc_data = 0xa900875a
[ 7.923512] 10 mc_data = 0x00000002
--
You are receiving this mail because:
You are the assignee for the bug.
--1374083236.50aAFA1.7724
Date: Wed, 17 Jul 2013 17:47:16 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 18
on bug 66932
from Andre Heider
Created attachment 82559 [details] [review]
weird fix
This magically makes it work...
No more stalls, box drops from 125 watt to 62.
[ 7.923448] module_index = 2 num_entries = 13
[ 7.923449] 0: s1 = 0x0a2f prd = 0x04
[ 7.923450] 1: s1 = 0x0a30 prd = 0x00
[ 7.923450] 2: s1 = 0x0ad5 prd = 0x04
[ 7.923451] 3: s1 = 0x0a28 prd = 0x04
[ 7.923451] 4: s1 = 0x0a29 prd = 0x04
[ 7.923452] 5: s1 = 0x0a2a prd = 0x04
[ 7.923453] 6: s1 = 0x0a2b prd = 0x04
[ 7.923453] 7: s1 = 0x0a2c prd = 0x04
[ 7.923454] 8: s1 = 0x0a81 prd = 0x04
[ 7.923454] 9: s1 = 0x0a8b prd = 0x04
[ 7.923455] 10: s1 = 0x0a5f prd = 0x04
[ 7.923456] last = 11
[ 7.923457] last = 11
[ 7.923457] 0 s1 = 0x0a2f pre_reg_data = 0x04
[ 7.923458] 1 s1 = 0x0a30 pre_reg_data = 0x00
[ 7.923458] 2 s1 = 0x0ad5 pre_reg_data = 0x04
[ 7.923459] 3 s1 = 0x0a28 pre_reg_data = 0x04
[ 7.923460] 4 s1 = 0x0a29 pre_reg_data = 0x04
[ 7.923460] 5 s1 = 0x0a2a pre_reg_data = 0x04
[ 7.923461] 6 s1 = 0x0a2b pre_reg_data = 0x04
[ 7.923461] 7 s1 = 0x0a2c pre_reg_data = 0x04
[ 7.923462] 8 s1 = 0x0a81 pre_reg_data = 0x04
[ 7.923463] 9 s1 = 0x0a8b pre_reg_data = 0x04
[ 7.923463] 10 s1 = 0x0a5f pre_reg_data = 0x04
[ 7.923464] 0 mclk_max = 40000
[ 7.923465] 0 mc_data = 0x20335155
[ 7.923465] 1 mc_data = 0x20335155
[ 7.923466] 2 mc_data = 0x00000000
[ 7.923466] 3 mc_data = 0x0f129421
[ 7.923467] 4 mc_data = 0x080852c0
[ 7.923468] 5 mc_data = 0x01328d12
[ 7.923468] 6 mc_data = 0x00222000
[ 7.923469] 7 mc_data = 0x001ca511
[ 7.923469] 8 mc_data = 0x2014021b
[ 7.923470] 9 mc_data = 0xa28086ba
[ 7.923470] 10 mc_data = 0x00000000
[ 7.923471] 1 mclk_max = 80000
[ 7.923472] 0 mc_data = 0x20337177
[ 7.923472] 1 mc_data = 0x20337177
[ 7.923473] 2 mc_data = 0x00000000
[ 7.923473] 3 mc_data = 0x1f2528a5
[ 7.923474] 4 mc_data = 0x0c0952f0
[ 7.923475] 5 mc_data = 0x0275971f
[ 7.923475] 6 mc_data = 0x00622200
[ 7.923476] 7 mc_data = 0x001ca511
[ 7.923476] 8 mc_data = 0x2014083c
[ 7.923477] 9 mc_data = 0xa50086ba
[ 7.923477] 10 mc_data = 0x00000000
[ 7.923478] 2 mclk_max = 90000
[ 7.923479] 0 mc_data = 0x20337177
[ 7.923479] 1 mc_data = 0x20337177
[ 7.923480] 2 mc_data = 0x00000000
[ 7.923480] 3 mc_data = 0x222630e7
[ 7.923481] 4 mc_data = 0x0d095300
[ 7.923481] 5 mc_data = 0x02c61921
[ 7.923482] 6 mc_data = 0x00822300
[ 7.923483] 7 mc_data = 0x001ca511
[ 7.923483] 8 mc_data = 0x20140944
[ 7.923484] 9 mc_data = 0xa58086ba
[ 7.923484] 10 mc_data = 0x00000000
[ 7.923485] 3 mclk_max = 100000
[ 7.923485] 0 mc_data = 0x20337177
[ 7.923486] 1 mc_data = 0x20337177
[ 7.923487] 2 mc_data = 0x00000000
[ 7.923487] 3 mc_data = 0x27273929
[ 7.923488] 4 mc_data = 0x0e095310
[ 7.923488] 5 mc_data = 0x03171c24
[ 7.923489] 6 mc_data = 0x00822300
[ 7.923489] 7 mc_data = 0x001ca511
[ 7.923490] 8 mc_data = 0x20140a4c
[ 7.923491] 9 mc_data = 0xa64086ba
[ 7.923491] 10 mc_data = 0x00000000
[ 7.923492] 4 mclk_max = 125000
[ 7.923492] 0 mc_data = 0x20337177
[ 7.923493] 1 mc_data = 0x20337177
[ 7.923493] 2 mc_data = 0x00000000
[ 7.923494] 3 mc_data = 0x2f68416b
[ 7.923495] 4 mc_data = 0x10095330
[ 7.923495] 5 mc_data = 0x03e8a12b
[ 7.923496] 6 mc_data = 0x00c34500
[ 7.923496] 7 mc_data = 0x001ca511
[ 7.923497] 8 mc_data = 0x20140e5c
[ 7.923497] 9 mc_data = 0xa780874a
[ 7.923498] 10 mc_data = 0x00000000
[ 7.923499] 5 mclk_max = 137500
[ 7.923499] 0 mc_data = 0x20337177
[ 7.923500] 1 mc_data = 0x20337177
[ 7.923500] 2 mc_data = 0x00000000
[ 7.923501] 3 mc_data = 0x346949ad
[ 7.923501] 4 mc_data = 0x10095330
[ 7.923502] 5 mc_data = 0x0449a32e
[ 7.923503] 6 mc_data = 0x00c44600
[ 7.923503] 7 mc_data = 0x001ca511
[ 7.923504] 8 mc_data = 0x20140f5c
[ 7.923504] 9 mc_data = 0xa840875a
[ 7.923505] 10 mc_data = 0x00000000
[ 7.923505] 6 mclk_max = 150000
[ 7.923506] 0 mc_data = 0x20337177
[ 7.923507] 1 mc_data = 0x20337177
[ 7.923507] 2 mc_data = 0x00000000
[ 7.923508] 3 mc_data = 0x386a51ef
[ 7.923508] 4 mc_data = 0x11095340
[ 7.923509] 5 mc_data = 0x04aa2531
[ 7.923509] 6 mc_data = 0x00e44700
[ 7.923510] 7 mc_data = 0x001ca511
[ 7.923511] 8 mc_data = 0x20940164
[ 7.923511] 9 mc_data = 0xa900875a
[ 7.923512] 10 mc_data = 0x00000002
You are receiving this mail because:
- You are the assignee for the bug.
--1374083236.50aAFA1.7724--
--===============1602514150==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1602514150==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 17:49:21 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1384808041=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 9ACE4E644A
for ;
Wed, 17 Jul 2013 10:49:21 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1384808041==
Content-Type: multipart/alternative; boundary="1374083361.77bfA1.8113"; charset="us-ascii"
--1374083361.77bfA1.8113
Date: Wed, 17 Jul 2013 17:49:21 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #19 from Martin Andersson ---
I wasn't very clear in my #12 comment, but what I was trying to say it is
something fishy about "reg_block->asRegIndexBuf". It is defined in atombios.h
as:
ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
But it is accessed well beyond just the first element and it is after the first
access that things start getting weird.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374083361.77bfA1.8113
Date: Wed, 17 Jul 2013 17:49:21 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 19
on bug 66932
from Martin Andersson
I wasn't very clear in my #12 comment, but what I was trying to say it is
something fishy about "reg_block->asRegIndexBuf". It is defined in atombios.h
as:
ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
But it is accessed well beyond just the first element and it is after the first
access that things start getting weird.
You are receiving this mail because:
- You are the assignee for the bug.
--1374083361.77bfA1.8113--
--===============1384808041==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1384808041==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 17:52:21 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0227763255=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 1B64DE5FC9
for ;
Wed, 17 Jul 2013 10:52:21 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0227763255==
Content-Type: multipart/alternative; boundary="1374083541.EFe0b5CC1.8852"; charset="us-ascii"
--1374083541.EFe0b5CC1.8852
Date: Wed, 17 Jul 2013 17:52:21 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #20 from Martin Andersson ---
Dammit copied the wrong line, but my point is still valid:
ATOM_INIT_REG_INDEX_FORMAT asRegIndexBuf[1];
--
You are receiving this mail because:
You are the assignee for the bug.
--1374083541.EFe0b5CC1.8852
Date: Wed, 17 Jul 2013 17:52:21 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1374083541.EFe0b5CC1.8852--
--===============0227763255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0227763255==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 17:55:43 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1070591741=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0196DE64C5
for ;
Wed, 17 Jul 2013 10:55:42 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1070591741==
Content-Type: multipart/alternative; boundary="1374083742.55bAd11.9451"; charset="us-ascii"
--1374083742.55bAd11.9451
Date: Wed, 17 Jul 2013 17:55:42 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #21 from Alex Deucher ---
(In reply to comment #19)
> I wasn't very clear in my #12 comment, but what I was trying to say it is
> something fishy about "reg_block->asRegIndexBuf". It is defined in
> atombios.h as:
> ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
>
It's a variably sized array and the size varies depending on the system. The
size of that array is defined by usRegIndexTblSize. Hence the calculation to
determine the number of elements:
num_entries = (u8)((le16_to_cpu(reg_block->usRegIndexTblSize)) /
sizeof(ATOM_INIT_REG_INDEX_FORMAT)) - 1;
--
You are receiving this mail because:
You are the assignee for the bug.
--1374083742.55bAd11.9451
Date: Wed, 17 Jul 2013 17:55:42 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 21
on bug 66932
from Alex Deucher
(In reply to comment #19)
> I wasn't very clear in my #12 comment, but what I was trying to say it is
> something fishy about "reg_block->asRegIndexBuf". It is defined in
> atombios.h as:
> ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
>
It's a variably sized array and the size varies depending on the system. The
size of that array is defined by usRegIndexTblSize. Hence the calculation to
determine the number of elements:
num_entries = (u8)((le16_to_cpu(reg_block->usRegIndexTblSize)) /
sizeof(ATOM_INIT_REG_INDEX_FORMAT)) - 1;
You are receiving this mail because:
- You are the assignee for the bug.
--1374083742.55bAd11.9451--
--===============1070591741==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1070591741==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 18:00:52 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0422935535=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 66EAFE5ED7
for ;
Wed, 17 Jul 2013 11:00:52 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0422935535==
Content-Type: multipart/alternative; boundary="1374084052.87aAfA031.10098"; charset="us-ascii"
--1374084052.87aAfA031.10098
Date: Wed, 17 Jul 2013 18:00:52 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #22 from Alex Deucher ---
(In reply to comment #18)
> Created attachment 82559 [details] [review]
> weird fix
>
Hmmm, looks like a compiler bug. what compiler are you using?
--
You are receiving this mail because:
You are the assignee for the bug.
--1374084052.87aAfA031.10098
Date: Wed, 17 Jul 2013 18:00:52 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1374084052.87aAfA031.10098--
--===============0422935535==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0422935535==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 18:02:40 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0027522236=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 90C45E5ED7
for ;
Wed, 17 Jul 2013 11:02:40 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0027522236==
Content-Type: multipart/alternative; boundary="1374084160.37EEcd61.10465"; charset="us-ascii"
--1374084160.37EEcd61.10465
Date: Wed, 17 Jul 2013 18:02:40 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #23 from Martin Andersson ---
(In reply to comment #21)
> (In reply to comment #19)
> > I wasn't very clear in my #12 comment, but what I was trying to say it is
> > something fishy about "reg_block->asRegIndexBuf". It is defined in
> > atombios.h as:
> > ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
> >
>
> It's a variably sized array and the size varies depending on the system.
> The size of that array is defined by usRegIndexTblSize. Hence the
> calculation to determine the number of elements:
>
> num_entries = (u8)((le16_to_cpu(reg_block->usRegIndexTblSize)) /
> sizeof(ATOM_INIT_REG_INDEX_FORMAT)) - 1;
ok, wasn't aware of that. My compiler is:
gcc (GCC) 4.8.1
--
You are receiving this mail because:
You are the assignee for the bug.
--1374084160.37EEcd61.10465
Date: Wed, 17 Jul 2013 18:02:40 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 23
on bug 66932
from Martin Andersson
(In reply to comment #21)
> (In reply to comment #19)
> > I wasn't very clear in my #12 comment, but what I was trying to say it is
> > something fishy about "reg_block->asRegIndexBuf". It is defined in
> > atombios.h as:
> > ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
> >
>
> It's a variably sized array and the size varies depending on the system.
> The size of that array is defined by usRegIndexTblSize. Hence the
> calculation to determine the number of elements:
>
> num_entries = (u8)((le16_to_cpu(reg_block->usRegIndexTblSize)) /
> sizeof(ATOM_INIT_REG_INDEX_FORMAT)) - 1;
ok, wasn't aware of that. My compiler is:
gcc (GCC) 4.8.1
You are receiving this mail because:
- You are the assignee for the bug.
--1374084160.37EEcd61.10465--
--===============0027522236==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0027522236==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 18:10:08 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0521317923=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id B0F6BE5FC7
for ;
Wed, 17 Jul 2013 11:10:08 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0521317923==
Content-Type: multipart/alternative; boundary="1374084608.8bB1E1.11510"; charset="us-ascii"
--1374084608.8bB1E1.11510
Date: Wed, 17 Jul 2013 18:10:08 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #24 from Andre Heider ---
(In reply to comment #22)
> (In reply to comment #18)
> > Created attachment 82559 [details] [review] [review]
> > weird fix
> >
>
> Hmmm, looks like a compiler bug. what compiler are you using?
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-6ubuntu1)
But I think the compiler is right in this case. struct ATOM_INIT_REG_BLOCK
doesn't represent what radeon_atom_init_mc_reg_table() is doing.
The struct in the header reads:
...
ATOM_INIT_REG_INDEX_FORMAT asRegIndexBuf[1];
ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
So reg_block->asRegIndexBuf[i] for i>0 is not defined, its within asRegDataBuf
or even pass the size of the struct.
It looks like this gcc is killing the while loop because i can never be
anything else than zero.
--
You are receiving this mail because:
You are the assignee for the bug.
--1374084608.8bB1E1.11510
Date: Wed, 17 Jul 2013 18:10:08 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 24
on bug 66932
from Andre Heider
(In reply to comment #22)
> (In reply to comment #18)
> > Created attachment 82559 [details] [review] [review] [review]
> > weird fix
> >
>
> Hmmm, looks like a compiler bug. what compiler are you using?
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-6ubuntu1)
But I think the compiler is right in this case. struct ATOM_INIT_REG_BLOCK
doesn't represent what radeon_atom_init_mc_reg_table() is doing.
The struct in the header reads:
...
ATOM_INIT_REG_INDEX_FORMAT asRegIndexBuf[1];
ATOM_MEMORY_SETTING_DATA_BLOCK asRegDataBuf[1];
So reg_block->asRegIndexBuf[i] for i>0 is not defined, its within asRegDataBuf
or even pass the size of the struct.
It looks like this gcc is killing the while loop because i can never be
anything else than zero.
You are receiving this mail because:
- You are the assignee for the bug.
--1374084608.8bB1E1.11510--
--===============0521317923==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0521317923==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66932] Screen corruption on Cayman with dpm enabled
Date: Wed, 17 Jul 2013 18:14:10 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1547131773=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 09ADCE5FC7
for ;
Wed, 17 Jul 2013 11:14:10 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1547131773==
Content-Type: multipart/alternative; boundary="1374084850.A0451.12036"; charset="us-ascii"
--1374084850.A0451.12036
Date: Wed, 17 Jul 2013 18:14:10 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66932
--- Comment #25 from Martin Andersson