[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

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

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 >

[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

[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 +++--

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 >

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- > >

[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 ---

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:

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

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 > >

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:

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 > >

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 >

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

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

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

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 .

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

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

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 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 |

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

[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

[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

[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

[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

[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