Re: [PATCH] drm/amdgpu: refine vce3.0 initialize.

2017-01-09 Thread StDenis, Tom
___ From: amd-gfx on behalf of StDenis, Tom Sent: Monday, January 9, 2017 11:58 To: Deucher, Alexander; Zhu, Rex; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: refine vce3.0 initialize. Just a heads up there is a CG/PG regression. On the tip of 4.7

Re: [PATCH] drm/amdgpu: refine vce3.0 initialize.

2017-01-09 Thread StDenis, Tom
; amd-gfx@lists.freedesktop.org Cc: Zhu, Rex Subject: RE: [PATCH] drm/amdgpu: refine vce3.0 initialize. > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Monday, January 09, 2017 8:35 AM > To: amd-gfx@lists.freed

RE: [PATCH] drm/amdgpu: refine vce3.0 initialize.

2017-01-09 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Monday, January 09, 2017 8:35 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH] drm/amdgpu: refine vce3.0 initialize. > > 1.

Re: [PATCH] drm/amdgpu: refine vce3.0 initialize.

2017-01-09 Thread StDenis, Tom
ct: [PATCH] drm/amdgpu: refine vce3.0 initialize. 1. disable vce cg when vce hw initialize. 2. initizlize vce clock to 10KHz. 3: no need to set bypass clock to vce. Change-Id: I18d5c2debc6688be201af8bb85022ac25020bd8f Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 18 +++-

[PATCH] drm/amdgpu: refine vce3.0 initialize.

2017-01-09 Thread Rex Zhu
1. disable vce cg when vce hw initialize. 2. initizlize vce clock to 10KHz. 3: no need to set bypass clock to vce. Change-Id: I18d5c2debc6688be201af8bb85022ac25020bd8f Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 18 +++--- drivers/gpu/drm/amd/amdgpu/vi.c