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==--