[PATCH v2 xf86-video-ati 3/3] Allow toggling TearFree at runtime via output property

2017-02-21 Thread Michel Dänzer
From: Michel Dänzer Option "TearFree" now sets the default value of the output property. See the manpage update for details. TearFree is now enabled by default for outputs using rotation or other RandR transforms, and for RandR 1.4 slave outputs. Signed-off-by: Michel Dänzer --- v2: Fix build

[PATCH xf86-video-ati 3/3] present: Wait for screen pixmap BO idle before setting modes for unflip

2017-02-21 Thread Michel Dänzer
From: Michel Dänzer To make sure the screen pixmap contents are up to date when it starts being scanned out. Signed-off-by: Michel Dänzer --- src/radeon_present.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/radeon_present.c b/src/radeon_present.c index b36e29b19..1b0ddcb82 100644

[PATCH xf86-video-ati 0/3] Misc fixes

2017-02-21 Thread Michel Dänzer
From: Michel Dänzer Miscellaneous fixes for minor problems I stumbled across while working on the previous series. Michel Dänzer (3): Use drmmode_crtc_scanout_free in drmmode_fini present: Only call drmModeRmFB after setting modes for unflip present: Wait for screen pixmap BO idle before s

[PATCH xf86-video-ati 2/3] present: Only call drmModeRmFB after setting modes for unflip

2017-02-21 Thread Michel Dänzer
From: Michel Dänzer Fixes display intermittently blanking when a modeset is used for unflip. Signed-off-by: Michel Dänzer --- src/radeon_present.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/radeon_present.c b/src/radeon_present.c index 29800fec0..b36e29b19 10064

[PATCH xf86-video-ati 1/3] Use drmmode_crtc_scanout_free in drmmode_fini

2017-02-21 Thread Michel Dänzer
From: Michel Dänzer We were leaking drmmode_crtc->scanout_damage, which caused trouble on server reset. Fixes server reset with active separate scanout pixmaps. Signed-off-by: Michel Dänzer --- src/drmmode_display.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/s

Re: [PATCH 1/2] amdgpu: export gfx double offchip LDS buffers by gpu info

2017-02-21 Thread Nicolai Hähnle
On 20.02.2017 03:56, Junwei Zhang wrote: Signed-off-by: Junwei Zhang --- amdgpu/amdgpu.h | 2 ++ amdgpu/amdgpu_gpu_info.c | 2 ++ include/drm/amdgpu_drm.h | 2 ++ The file include/drm/amdgpu_drm.h should be updated according to the explanation in include/drm/README, section "When and

Re: [PATCH] drm/amdgpu: rename amdgpu_gca_config to amdgpu_gfx_config

2017-02-21 Thread Christian König
Am 21.02.2017 um 03:35 schrieb Junwei Zhang: Signed-off-by: Junwei Zhang Reviewed-by: Christian König . --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.

Re: [PATCH v2] amdgpu: export gfx double offchip LDS buffers by dev info

2017-02-21 Thread Christian König
Am 21.02.2017 um 03:19 schrieb Junwei Zhang: Signed-off-by: Junwei Zhang Reviewed-by: Christian König . But wait before pushing it upstream for the kernel change to land upstream as well. Regards, Christian. --- include/drm/amdgpu_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --

RE: [PATCH v2] amdgpu: export gfx double offchip LDS buffers by dev info

2017-02-21 Thread Zhang, Jerry
> -Original Message- > From: Christian König [mailto:deathsim...@vodafone.de] > Sent: Tuesday, February 21, 2017 17:23 > To: Zhang, Jerry; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH v2] amdgpu: export gfx double offchip LDS buffers by dev > info > > Am 21.02.2017 um 03:19 schrieb

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-21 Thread Nicolai Hähnle
On 17.02.2017 11:08, Christian König wrote: Am 17.02.2017 um 00:21 schrieb Nicolai Hähnle: We may still have other bugs with split BOs, though. Yeah, agree as well. I was also considering disabling that feature by default for the moment if it helps with your corruption bug. The corruption st

[PATCH] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Xiaojie Yuan
Signed-off-by: Xiaojie Yuan --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 130 +++--- 1 file changed, 121 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index c940bec..1398db6 100644 --- a/driver

Re: [PATCH] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Edward O'Callaghan
Reviewed-by: Edward O'Callaghan On 02/21/2017 09:39 PM, Xiaojie Yuan wrote: > Signed-off-by: Xiaojie Yuan > --- > drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 130 > +++--- > 1 file changed, 121 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/d

Re: [PATCH] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Christian König
Not much of an issue, but when sending out a second version of a patch we usually put a v2 on the subject line to indicate that. Additional to that the patch also needs at least a little bit of commit message. With that fixed it is Acked-by: Christian König . Regards, Christian. Am 21.02.20

Re: [PATCH] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Andreas Boll
2017-02-21 13:16 GMT+01:00 Christian König : > Not much of an issue, but when sending out a second version of a patch we > usually put a v2 on the subject line to indicate that. > > Additional to that the patch also needs at least a little bit of commit > message. > > With that fixed it is Acked-by

Re: [PATCH] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Christian König
Am 21.02.2017 um 13:45 schrieb Andreas Boll: 2017-02-21 13:16 GMT+01:00 Christian König : Not much of an issue, but when sending out a second version of a patch we usually put a v2 on the subject line to indicate that. Additional to that the patch also needs at least a little bit of commit mess

Re: [PATCH 00/11] remove fb_location programming

2017-02-21 Thread Alex Deucher
On Tue, Feb 21, 2017 at 1:47 AM, Zhang, Jerry wrote: > Hi Alex, > > The series of patch is Reviewed-by: Junwei Zhang > >> Tested this on CI and VI. Works fine with DAL/DC. With the legacy display >> path, >> VCE fails to initialize (ECPU won't come out of reset). >> Any ideas? > > Did you met t

RE: [PATCH v3 1/1] drm/amdgpu: export gfx config double offchip LDS buffers (v3)

2017-02-21 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Junwei Zhang > Sent: Sunday, February 19, 2017 9:51 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Jerry > Subject: [PATCH v3 1/1] drm/amdgpu: export gfx config double offchip LDS > buffe

RE: [PATCH] drm/amdgpu: add DP audio support for si dce6

2017-02-21 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Xiaojie Yuan > Sent: Monday, February 20, 2017 5:16 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yuan, Xiaojie > Subject: [PATCH] drm/amdgpu: add DP audio support for si dce6 > > Signed-off-b

Re: [PATCH] drm/amdgpu: add DP audio support for si dce6

2017-02-21 Thread Alex Deucher
On Tue, Feb 21, 2017 at 10:21 AM, Deucher, Alexander wrote: >> -Original Message- >> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf >> Of Xiaojie Yuan >> Sent: Monday, February 20, 2017 5:16 AM >> To: amd-gfx@lists.freedesktop.org >> Cc: Yuan, Xiaojie >> Subject: [P

RE: [PATCH] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Xiaojie Yuan > Sent: Tuesday, February 21, 2017 5:40 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yuan, Xiaojie > Subject: [PATCH] drm/amdgpu: add HDMI audio support for si dce6 > > Signed-of

Re: [PATCH v2 xf86-video-ati 3/3] Allow toggling TearFree at runtime via output property

2017-02-21 Thread Alex Deucher
On Tue, Feb 21, 2017 at 3:17 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Option "TearFree" now sets the default value of the output property. > See the manpage update for details. > > TearFree is now enabled by default for outputs using rotation or other > RandR transforms, and for RandR 1

Re: [PATCH xf86-video-ati 3/3] present: Wait for screen pixmap BO idle before setting modes for unflip

2017-02-21 Thread Alex Deucher
On Tue, Feb 21, 2017 at 4:03 AM, Michel Dänzer wrote: > From: Michel Dänzer > > To make sure the screen pixmap contents are up to date when it starts > being scanned out. > > Signed-off-by: Michel Dänzer Series is: Reviewed-by: Alex Deucher > --- > src/radeon_present.c | 2 ++ > 1 file chang

[PATCH] drm/amdgpu: bump driver version for new lds buffer query

2017-02-21 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 72c33b9..0dd0e2d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dr

RE: [PATCH v3 1/1] drm/amdgpu: export gfx config double offchip LDS buffers (v3)

2017-02-21 Thread Zhang, Jerry
> -Original Message- > From: Deucher, Alexander > Sent: Tuesday, February 21, 2017 22:48 > To: Zhang, Jerry; amd-gfx@lists.freedesktop.org > Cc: Zhang, Jerry > Subject: RE: [PATCH v3 1/1] drm/amdgpu: export gfx config double offchip LDS > buffers (v3) > > > -Original Message- > > F

RE: [PATCH] drm/amdgpu: bump driver version for new lds buffer query

2017-02-21 Thread Zhang, Jerry
Hi Alex, Thanks for your work. I have pushed the patch... Regards, Jerry (Junwei Zhang) Linux Base Graphics SRDC Software Development _ > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of > Alex Deucher >

[PATCH v3] drm/amdgpu: add DP audio support for si dce6 (v3)

2017-02-21 Thread Xiaojie Yuan
v2: refine dce_v6_0_audio_endpt_wreg() and unify inconsistent method names v3: fix num_pins for tahiti, pitcairn, verde and oland Signed-off-by: Xiaojie Yuan --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 467 +++-- .../drm/amd/include/asic_reg/dce/dce_6_0_sh_mask.h |

[PATCH v2] drm/amdgpu: add DP audio support for si dce6 (v2)

2017-02-21 Thread Xiaojie Yuan
v2: refine dce_v6_0_audio_endpt_wreg() and unify inconsistent method names Signed-off-by: Xiaojie Yuan --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 457 +++-- .../drm/amd/include/asic_reg/dce/dce_6_0_sh_mask.h | 2 + 2 files changed, 423 insertions(+), 36 deletions(

Re: [PATCH v3] drm/amdgpu: add DP audio support for si dce6 (v3)

2017-02-21 Thread Edward O'Callaghan
Reviewed-by: Edward O'Callaghan On 02/22/2017 02:37 PM, Xiaojie Yuan wrote: > v2: refine dce_v6_0_audio_endpt_wreg() and unify inconsistent method names > v3: fix num_pins for tahiti, pitcairn, verde and oland > > Signed-off-by: Xiaojie Yuan > --- > drivers/gpu/drm/amd/amdgpu/dce_v6_0.c

RE: [PATCH 00/11] remove fb_location programming

2017-02-21 Thread Zhang, Jerry
> -Original Message- > From: Alex Deucher [mailto:alexdeuc...@gmail.com] > Sent: Tuesday, February 21, 2017 22:38 > To: Zhang, Jerry > Cc: amd-gfx list; Deucher, Alexander > Subject: Re: [PATCH 00/11] remove fb_location programming > > On Tue, Feb 21, 2017 at 1:47 AM, Zhang, Jerry wrote:

[PATCH v2] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Xiaojie Yuan
update patch due to context change by following patch: [PATCH v3] drm/amdgpu: add DP audio support for si dce6 (v3) actually, I should send DP/HDMI audio support in one patch set. sorry for the confusion. Xiaojie Yuan (1): drm/amdgpu: add HDMI audio support for si dce6 drivers/gpu/drm/amd/a

[PATCH v2] drm/amdgpu: add HDMI audio support for si dce6

2017-02-21 Thread Xiaojie Yuan
Signed-off-by: Xiaojie Yuan --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 130 +++--- 1 file changed, 121 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index 7c11ed8..86cba9f 100644 --- a/driver