[PATCH 2/2] drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu

2016-08-01 Thread Ken Wang
Change-Id: Ibf193cc2d9e20c3aefa1ce8ff24241dfbb6768ff Signed-off-by: Ken Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 12 +++- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 7 ++- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 7 ++-

[PATCH v2 0/3] drm/amdgpu: update golden setting of VI

2016-08-01 Thread Huang Rui
Hi all, This patch set are all changes of golden setting, mgcg_cgcg setting, tiling mode array and rev id of VI series of cards. Changes from V1 -> V2: - Polaris10 changes are in tonga and polaris11 patches. And fix it. Thanks, Rui Huang Rui (3): drm/amdgpu: update golden setting of tonga d

[PATCH v2 2/3] drm/amdgpu: update golden setting of polaris11

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index fc4d998..ea025a5 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++

[PATCH v2 1/3] drm/amdgpu: update golden setting of tonga

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index aff318a..fc4d998 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd

[PATCH v2 3/3] drm/amdgpu: update golden setting of polaris10

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index ea025a5..05c336b 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b

Re: [PATCH 1/2] drm/ttm: add interface to export kernel_zone max memory size in ttm

2016-08-01 Thread Alex Deucher
On Wed, Jul 27, 2016 at 7:21 AM, Ken Wang wrote: > Change-Id: I9f30b54365492b234a7f0887dd0c67a9817c3705 > Signed-off-by: Ken Wang Adding dri-devel as well since ttm is a common component. Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/ttm/ttm_memory.c | 6 ++ > include/drm/ttm/ttm_mem

Re: [PATCH 2/2] drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu

2016-08-01 Thread Alex Deucher
On Wed, Jul 27, 2016 at 7:21 AM, Ken Wang wrote: > Change-Id: Ibf193cc2d9e20c3aefa1ce8ff24241dfbb6768ff > Signed-off-by: Ken Wang > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 12 +++- > drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 7 +

Re: [PATCH 5/5] drm/amdgpu: update golden setting of stoney

2016-08-01 Thread Alex Deucher
On Mon, Aug 1, 2016 at 11:41 PM, Huang Rui wrote: > Signed-off-by: Huang Rui For the series: Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c > b/drivers/gpu/drm/amd/

RE: [PATCH] Add freesync ioctl interface

2016-08-01 Thread Zhang, Hawking
The kernel branch has already merged the ioctl implementation. I'm okay to keep it internal although. Regards, Hawking -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: Tuesday, August 02, 2016 11:32 To: Zhang, Hawking Cc: amd-gfx@lists.freedesktop.org Subject:

[PATCH 1/5] drm/amdgpu: update golden setting of tonga

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index cf81f1c..21fc5c2 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/

[PATCH 3/5] drm/amdgpu: update golden setting of polaris11

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index a6c87466..2743e77 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ++

[PATCH 4/5] drm/amdgpu: update golden setting of carrizo

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 2743e77..05c336b 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/a

[PATCH 2/5] drm/amdgpu: update golden setting of iceland

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 21fc5c2..a6c87466 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/am

[PATCH 5/5] drm/amdgpu: update golden setting of stoney

2016-08-01 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c index 84d4f7f..b71ddd3 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c +++ b/drivers/gpu

[PATCH 0/5] drm/amdgpu: update golden setting of VI

2016-08-01 Thread Huang Rui
Hi all, This patch set are all changes of golden setting, mgcg_cgcg setting, tiling mode array and rev id of VI series of cards. Thanks, Rui Huang Rui (5): drm/amdgpu: update golden setting of tonga drm/amdgpu: update golden setting of iceland drm/amdgpu: update golden setting of polaris11

[PATCH 0/5] drm/amdgpu: update golden setting of VI

2016-08-01 Thread Huang Rui
Hi all, This patch set are all changes of golden setting, mgcg_cgcg setting, tiling mode array and rev id of VI series of cards. Thanks, Rui Huang Rui (5): drm/amdgpu: update golden setting of tonga drm/amdgpu: update golden setting of iceland drm/amdgpu: update golden setting of polaris11

Re: [PATCH] Add freesync ioctl interface

2016-08-01 Thread Michel Dänzer
On 02.08.2016 12:12, Zhang, Hawking wrote: > The implementation is as [PATCH] Enable/disable freesync when > enter/exit fullscreen game. I mean an implementation of the ioctl in the kernel driver. P.S. Please run the following command in each Git repository, so that the [PATCH] prefix includes w

RE: [PATCH] Add freesync ioctl interface

2016-08-01 Thread Zhang, Hawking
The implementation is as [PATCH] Enable/disable freesync when enter/exit fullscreen game. Please take a review Regards, Hawking -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: Tuesday, August 02, 2016 11:11 To: Zhang, Hawking Cc: amd-gfx@lists.freedesktop.org S

RE: [PATCH] Add freesync ioctl interface

2016-08-01 Thread Zhang, Hawking
The implementation is as [PATCH] Enable/disable freesync when enter/exit fullscreen game. Please take a review Regards, Hawking -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: Tuesday, August 02, 2016 11:11 To: Zhang, Hawking Cc: amd-gfx@lists.freedesktop.org S

[PATCH] drm/amd/powerplay: change structure variable name.

2016-08-01 Thread Rex Zhu
Change-Id: I7668616cf4ffef69a4dc9fb7687c1aeb2c277d50 Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c b/dri

Re: [PATCH] Add freesync ioctl interface

2016-08-01 Thread Michel Dänzer
This cannot go upstream without an implementation making use of it. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer ___ amd-gfx mailing list amd-gfx@l

[PATCH] Enable/disable freesync when enter/exit fullscreen game

2016-08-01 Thread Hawking Zhang
The change add amdgpu specific x extension as the protocol for OGL driver to notify there is a freesync capable application/client DDX driver would rely on this to enable freesync before fullscreen flip and disable freesync before unflip or client exit. Change-Id: I22606e4384dc05ae20b09910ab5aef2a

[PATCH] Add freesync ioctl interface

2016-08-01 Thread Hawking Zhang
Change-Id: I38cb3a80e75a904cee875ae47bc0a39a3d471aca Signed-off-by: Hawking Zhang --- include/drm/amdgpu_drm.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index 46a3c40..a4f816c 100644 --- a/include/drm/amdgpu_drm.h +++

答复: 答复: 答复: 答复: 答复: [PATCH] drm/amdgpu: adjust gtt memory size

2016-08-01 Thread Wang, Ken
Hi Alex, Can you take a look at the change? 发件人: amd-gfx 代表 Wang, Ken 发送时间: 2016年7月28日 18:56:47 收件人: Christian König; Kuehling, Felix; amd-gfx@lists.freedesktop.org 主题: 答复: 答复: 答复: 答复: 答复: [PATCH] drm/amdgpu: adjust gtt memory size Hi Christian, Patche

Re: [PATCH 00/11] add recovery entity

2016-08-01 Thread zhoucm1
ping as well... On 2016年07月28日 18:13, Chunming Zhou wrote: every vm has itself recovery entity, which is used to reovery page table from their shadow. They don't need to wait front vm completed. And also using all pte rings can speed reovery. every scheduler has its own recovery entity, which

Re: [PATCH 00/13] shadow page table support

2016-08-01 Thread zhoucm1
ping... Don't know where Christian is. any others could review it? Thanks, David Zhou On 2016年07月28日 18:11, Chunming Zhou wrote: Since we cannot make sure VRAM is safe after gpu reset, page table backup is neccessary, shadow page table is sense way to recovery page talbe when gpu reset happens

Re: [PATCH] drm/amdgpu/gfx8: remove stale function declaration

2016-08-01 Thread zhoucm1
On 2016年08月02日 02:30, Alex Deucher wrote: This got leftover somehow when I cleaned this up. Signed-off-by: Alex Deucher Reviewed-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h b/driv

Re: [PATCH 1/5] drm/amd/powerplay: delete useless code in hwmgr.

2016-08-01 Thread Edward O'Callaghan
This series is, Reviewed-by: Edward O'Callaghan On 08/01/2016 09:33 PM, Rex Zhu wrote: > Change-Id: I047ed9679598b0e519e49b12414ca7f629c67870 > Signed-off-by: Rex Zhu > Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 36 -- > drivers/gpu/drm/amd/powerp

Re: Any chance of seeing a merge from drm-next-4.8-wip-si?

2016-08-01 Thread Alexandre Demers
Thank you for the update. I'll have a go on it and I'll be following what goes in it. Alexandre Demers On 2016-08-01 17:14, Alex Deucher wrote: On Mon, Aug 1, 2016 at 2:29 AM, Alexandre Demers wrote: Hi Alex, I'd like to know if there is any chance to see a merge / pull request for the SI c

Re: Any chance of seeing a merge from drm-next-4.8-wip-si?

2016-08-01 Thread Alex Deucher
On Mon, Aug 1, 2016 at 2:29 AM, Alexandre Demers wrote: > Hi Alex, > > I'd like to know if there is any chance to see a merge / pull request for > the SI code from drm-next-4.8-wip-si into mainline kernel for 4.8? Nothing > seems to have been added to the branch since the end of May. I haven't see

[PATCH] drm/amdgpu/gfx8: remove stale function declaration

2016-08-01 Thread Alex Deucher
This got leftover somehow when I cleaned this up. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h index bc82c79..ebed1f8 100644 --- a/drivers/

Re: [PATCH] drm/amdgpu: print more accurate error messages on IB submission failure

2016-08-01 Thread Alex Deucher
On Mon, Aug 1, 2016 at 1:42 PM, Marek Olšák wrote: > From: Marek Olšák > > It's useful for debugging. > > Signed-off-by: Marek Olšák Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 17 + > 1 file changed, 13 insertions(+), 4 deletions(-) > > diff --

[PATCH] drm/amdgpu: print more accurate error messages on IB submission failure

2016-08-01 Thread Marek Olšák
From: Marek Olšák It's useful for debugging. Signed-off-by: Marek Olšák --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 45d52

Re: status of MST ?

2016-08-01 Thread Alex Deucher
On Mon, Aug 1, 2016 at 12:17 PM, Kenneth Johansson wrote: > On 2016-08-01 17:12, Alex Deucher wrote: >> >> On Fri, Jul 29, 2016 at 8:51 AM, Kenneth Johansson wrote: >>> >>> I have a 30" Dell MST monitor and It only uses 30HZ refresh rate when I >>> use >>> my R9 card. both the open source driver

Re: status of MST ?

2016-08-01 Thread Kenneth Johansson
On 2016-08-01 17:12, Alex Deucher wrote: On Fri, Jul 29, 2016 at 8:51 AM, Kenneth Johansson wrote: I have a 30" Dell MST monitor and It only uses 30HZ refresh rate when I use my R9 card. both the open source driver and amdgpu-pro driver. Is there some way to make it work properly ? It's hard

RE: [PATCH xf86-video-ati 2/2] Keep track of damage event related flushes per-client

2016-08-01 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Monday, August 01, 2016 5:59 AM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-ati 2/2] Keep track of damage event related > flushes per-client > > Fro

Re: status of MST ?

2016-08-01 Thread Alex Deucher
On Fri, Jul 29, 2016 at 8:51 AM, Kenneth Johansson wrote: > I have a 30" Dell MST monitor and It only uses 30HZ refresh rate when I use > my R9 card. both the open source driver and amdgpu-pro driver. > > Is there some way to make it work properly ? > It's hard to say what the problem might be wi

Re: [PATCH v2 2/2] drm/amdgpu: expose AMDGPU_GEM_CREATE_VRAM_CLEARED to user space

2016-08-01 Thread Alex Deucher
On Mon, Aug 1, 2016 at 1:27 AM, Flora Cui wrote: > I'll push if no objection Reviewed-by: Alex Deucher > On Fri, Jul 29, 2016 at 11:23:39AM +0800, Flora Cui wrote: >> ping... >> >> On Mon, Jul 25, 2016 at 02:15:24PM +0800, Flora Cui wrote: >> > V2: fix the return value for fill failure and va

RE: [PATCH 5/5] drm/amd/powrplay: delete code no longer in use on Polaris.

2016-08-01 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Monday, August 01, 2016 7:33 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH 5/5] drm/amd/powrplay: delete code no longer in use on > Polaris. > > Chan

[PATCH 4/5] drm/amd/powrplay: workaround Memory EDC Error for certain partner boards.

2016-08-01 Thread Rex Zhu
Change-Id: Idce35c2bfc4f2d644e0f6f579f4736c2184df51a Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 ++ drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 5 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/d

[PATCH 5/5] drm/amd/powrplay: delete code no longer in use on Polaris.

2016-08-01 Thread Rex Zhu
Change-Id: I97efcc8832dc595ab44ae705ad6de4a1def59453 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pola

[PATCH 2/5] drm/amd/powerplay: pass sub_device_id and sub_vendor_id to powerplay.

2016-08-01 Thread Rex Zhu
Change-Id: I52c506611e1b3cda008612f0424742a7c00e1803 Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 3 +++ drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH 3/5] drm/amdgpu: AMD SW workaround for certain partner boards

2016-08-01 Thread Rex Zhu
Change-Id: I1ba14aaf54a10530ea87e9efb44a01a18523e3d0 Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c i

[PATCH 1/5] drm/amd/powerplay: delete useless code in hwmgr.

2016-08-01 Thread Rex Zhu
Change-Id: I047ed9679598b0e519e49b12414ca7f629c67870 Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 36 -- drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 108 ++-- 2 files changed, 7 insertions(+), 137 deletions(

[PATCH xf86-video-ati 1/2] Use EventCallback to avoid flushing every time in the FlushCallback

2016-08-01 Thread Michel Dänzer
From: Michel Dänzer We only need to flush for XDamageNotify events. Significantly reduces compositing slowdown due to flushing overhead, in particular with glamor. Signed-off-by: Michel Dänzer --- src/radeon.h | 2 ++ src/radeon_kms.c | 79 +---

[PATCH xf86-video-ati 2/2] Keep track of damage event related flushes per-client

2016-08-01 Thread Michel Dänzer
From: Michel Dänzer This further reduces the compositing slowdown due to flushing overhead, by only flushing when the X server actually sends XDamageNotify events to a client, and there hasn't been a flush yet in the meantime. Signed-off-by: Michel Dänzer --- This patch can't have an effect wi