Re: Initial Public Release of AMDGPU debugger

2017-02-13 Thread Nils Holland
On Mon, Feb 13, 2017 at 06:55:33AM -0500, Tom St Denis wrote: > On 13/02/17 05:00 AM, Nils Holland wrote: > > On Sat, Feb 04, 2017 at 06:44:12PM +, StDenis, Tom wrote: > >> Hello all, > >> > >> > >> We're pleased to announce the initial pu

Re: Initial Public Release of AMDGPU debugger

2017-02-13 Thread Nils Holland
On Sat, Feb 04, 2017 at 06:44:12PM +, StDenis, Tom wrote: > Hello all, > > > We're pleased to announce the initial public release of the AMDGPU > User Mode Register debugger (umr). This tool allows privileged > users to read and write GPU registers in order to diagnose, debug, > and aid in d

Re: [PATCH] drm/amdgpu: Fix error in amdgpu_bo_create_restricted()

2017-01-24 Thread Nils Holland
On Tue, Jan 24, 2017 at 09:53:24AM +0100, Christian König wrote: > Am 24.01.2017 um 08:43 schrieb Nils Holland: > > On Tue, Jan 24, 2017 at 10:35:16AM +0900, Michel Dänzer wrote: > >> On 24/01/17 09:55 AM, Nils Holland wrote: > >>> So I decided to fix this with th

Re: [PATCH] drm/amdgpu: Fix error in amdgpu_bo_create_restricted()

2017-01-23 Thread Nils Holland
On Tue, Jan 24, 2017 at 10:35:16AM +0900, Michel Dänzer wrote: > On 24/01/17 09:55 AM, Nils Holland wrote: > > So I decided to fix this with the following follow-up patch. I hope > > this is the right approach (vs. reverting the commit and instead using > > a fixed v2

[PATCH] drm/amdgpu: Fix error in amdgpu_bo_create_restricted()

2017-01-23 Thread Nils Holland
So I decided to fix this with the following follow-up patch. I hope this is the right approach (vs. reverting the commit and instead using a fixed v2 of the original patch). From 41775d2c8a14873f522667a57b66cfbe119e28a4 Mon Sep 17 00:00:00 2001 From: Nils Holland Date: Tue, 24 Jan 2017 01:36:45

Re: [radeon-alex:drm-next-4.11-wip 131/131] drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token

2017-01-23 Thread Nils Holland
On Tue, Jan 24, 2017 at 06:37:58AM +0800, kbuild test robot wrote: > >drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function > 'amdgpu_bo_create_restricted': > >> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:377:2: warning: #warning Please > >> enable CONFIG_MTRR and CONFIG_X86_PAT for better

Re: Bug (and probably, fix): UVD initialization / clock gating issue on kabini

2017-01-23 Thread Nils Holland
On Mon, Jan 23, 2017 at 10:55:49AM +, Zhu, Rex wrote: > we fixed this issue on Kv as uvd pg was enabled on APU. > > We need to change the uvd cg mode. > When idle, use hw cg. And encode, use sw cg. > > So > WREG32(mmUVD_CGC_GATE, 0); // ture off cg. > Then > uvd_v4_2_set_dcm(adev, true);

Re: Bug (and probably, fix): UVD initialization / clock gating issue on kabini

2017-01-22 Thread Nils Holland
On Sun, Jan 22, 2017 at 08:26:10PM +0100, Nils Holland wrote: > Hi folks, > > while playing around with the amdgpu drm driver, I stumbled upon an > issue. In fact, I have tracked it down to commit > aa4747c00a2dd034c5fdf70ca73b1674ca15beb3 ("drm/amdgpu: refine uvd_4.2 &

Bug: UVD initialization / clock gating issue on kabini

2017-01-22 Thread Nils Holland
Hi folks, while playing around with the amdgpu drm driver, I stumbled upon an issue. In fact, I have tracked it down to commit aa4747c00a2dd034c5fdf70ca73b1674ca15beb3 ("drm/amdgpu: refine uvd_4.2 clock gate sequence."). When I run the latest mainline git kernel, which contains this commit, on my

[PATCH] drm/amdgpu: Bring bo creation in line with radeon driver

2017-01-22 Thread Nils Holland
From d44ac1157fdb86e67822b6538ae6113c8d620412 Mon Sep 17 00:00:00 2001 From: Nils Holland Date: Sun, 22 Jan 2017 13:24:52 +0100 Subject: [PATCH] drm/amdgpu: Bring bo creation in line with radeon driver Add the bo creation changes that have been done to the radeon driver in recent times, e.g

Re: amdgpu: Corrupted video on 32 bit systems (possible fix)

2017-01-20 Thread Nils Holland
On Fri, Jan 20, 2017 at 06:11:50PM +0900, Michel Dänzer wrote: > On 20/01/17 04:44 PM, Nils Holland wrote: > > > > Sounds like a good idea! I was a bit heasitant because, to be honest, > > I'm not at all an expert about the code in question and basically only > >

Re: amdgpu: Corrupted video on 32 bit systems (possible fix)

2017-01-19 Thread Nils Holland
On Fri, Jan 20, 2017 at 11:47:53AM +0900, Michel Dänzer wrote: > On 20/01/17 04:35 AM, Nils Holland wrote: > > > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2016-12-11 > > 20:17:54.0 +0100 > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object