RE: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread Deucher, Alexander
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, March 20, 2015 1:24 PM > To: Koenig, Christian > Cc: Deucher, Alexander; dri-de...@lists.freedesktop.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] radeon: Do not

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread David Miller
From: Christian König Date: Fri, 20 Mar 2015 10:38:32 +0100 > On 19.03.2015 17:29, David Miller wrote: >> From: Christian König >> Date: Thu, 19 Mar 2015 09:50:58 +0100 >> >>> In general I would say yes, but for this particular hardware it's a >>> bit questionable to do so. >>> >>> For radeon

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread Alex Deucher
On Fri, Mar 20, 2015 at 5:38 AM, Christian König wrote: > On 19.03.2015 17:29, David Miller wrote: >> >> From: Christian König >> Date: Thu, 19 Mar 2015 09:50:58 +0100 >> >>> In general I would say yes, but for this particular hardware it's a >>> bit questionable to do so. >>> >>> For radeon

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread Christian König
On 19.03.2015 17:29, David Miller wrote: From: Christian König Date: Thu, 19 Mar 2015 09:50:58 +0100 In general I would say yes, but for this particular hardware it's a bit questionable to do so. For radeon hardware to work correctly the CPU access to the PCIE BARs should work even without

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread Christian König
On 19.03.2015 17:29, David Miller wrote: From: Christian König christian.koe...@amd.com Date: Thu, 19 Mar 2015 09:50:58 +0100 In general I would say yes, but for this particular hardware it's a bit questionable to do so. For radeon hardware to work correctly the CPU access to the PCIE BARs

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread Alex Deucher
On Fri, Mar 20, 2015 at 5:38 AM, Christian König christian.koe...@amd.com wrote: On 19.03.2015 17:29, David Miller wrote: From: Christian König christian.koe...@amd.com Date: Thu, 19 Mar 2015 09:50:58 +0100 In general I would say yes, but for this particular hardware it's a bit questionable

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread David Miller
From: Christian König christian.koe...@amd.com Date: Fri, 20 Mar 2015 10:38:32 +0100 On 19.03.2015 17:29, David Miller wrote: From: Christian König christian.koe...@amd.com Date: Thu, 19 Mar 2015 09:50:58 +0100 In general I would say yes, but for this particular hardware it's a bit

RE: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-20 Thread Deucher, Alexander
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, March 20, 2015 1:24 PM To: Koenig, Christian Cc: Deucher, Alexander; dri-de...@lists.freedesktop.org; linux- ker...@vger.kernel.org Subject: Re: [PATCH] radeon: Do not directly dereference pointers

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-19 Thread David Miller
From: Christian König Date: Thu, 19 Mar 2015 09:50:58 +0100 > In general I would say yes, but for this particular hardware it's a > bit questionable to do so. > > For radeon hardware to work correctly the CPU access to the PCIE BARs > should work even without using the specialized IO

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-19 Thread Christian König
In general I would say yes, but for this particular hardware it's a bit questionable to do so. For radeon hardware to work correctly the CPU access to the PCIE BARs should work even without using the specialized IO macros/functions, otherwise mapping VRAM CPU accessible isn't really possible.

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-19 Thread Christian König
In general I would say yes, but for this particular hardware it's a bit questionable to do so. For radeon hardware to work correctly the CPU access to the PCIE BARs should work even without using the specialized IO macros/functions, otherwise mapping VRAM CPU accessible isn't really possible.

Re: [PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-19 Thread David Miller
From: Christian König christian.koe...@amd.com Date: Thu, 19 Mar 2015 09:50:58 +0100 In general I would say yes, but for this particular hardware it's a bit questionable to do so. For radeon hardware to work correctly the CPU access to the PCIE BARs should work even without using the