Re: [PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-25 Thread Mike Lothian
This patch is preventing my laptop from booting, I'm getting D3 error messages and atom bios stuck messages I mistakenly saw the v2 patch and didn't realise it was for radeon not amdgpu - this branch and Linus's tree are currently not booting for me On Wed, 23 Nov 2016 at 17:16 Deucher, Alexander

Re: [PATCH] drm/amdgpu: fix bug uvd status not true in debugfs.

2016-11-25 Thread StDenis, Tom
Keep in mind this is the older "method" since SI and up have a unified pm_status. Tom From: amd-gfx on behalf of Alex Deucher Sent: Friday, November 25, 2016 18:30 To: Zhu, Rex Cc: amd-gfx list Subject: Re: [PATCH] drm/amdgpu: fix bug uvd status not true in

Re: amdgpu support for Polaris11, Radeon Pro 400 series graphics

2016-11-25 Thread StDenis, Tom
if PP is being sketchy can you force the performance to low (e.g. manual) instead of auto and see if keeping at lower clocks helps keep it stable? Just an idea to try. Tom From: amd-gfx on behalf of Bernhard Froemel Sent: Friday, November 25, 2016 11:15 To

Re: [PATCH] drm/amdgpu: fix bug uvd status not true in debugfs.

2016-11-25 Thread Alex Deucher
On Fri, Nov 25, 2016 at 6:39 AM, Rex Zhu wrote: > can't get uvd's state by uvd_enabled. uvd_enabled > is used for request higher mclk. > in multi-display case, mclk has been in highest clock, > no matter uvd's state changed, uvd_enabled will not > be changed. > > Change-Id: Iedbe3b7ce085e9199fa7fd

Re: [PATCH xf86-video-ati] Add radeon_is_gpu_screen helper

2016-11-25 Thread Alex Deucher
On Fri, Nov 25, 2016 at 4:15 AM, Michel Dänzer wrote: > From: Michel Dänzer > > This will hopefully decrease the chance of accidentally breaking the > build against xserver < 1.13 in the future. > > Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher > --- > src/drmmode_display.c | 5 +--

Re: [PATCH xf86-video-amdgpu] Make libdrm >= 2.4.72 requirement explicit

2016-11-25 Thread Alex Deucher
On Fri, Nov 25, 2016 at 4:35 AM, Michel Dänzer wrote: > From: Michel Dänzer > > And drop compatibility code for older versions. > > Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher > --- > configure.ac | 2 +- > src/amdgpu_dri2.c | 13 - > src/drmmode_display.

Re: [PATCH xf86-video-amdgpu] Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available

2016-11-25 Thread Alex Deucher
On Fri, Nov 25, 2016 at 4:41 AM, Michel Dänzer wrote: > From: Michel Dänzer > > (Ported from radeon commits 1106b2f773ad0611c729b27f4c192a26b43ef1e7 > and 5fea5ef2f07eee4a0f94baab427010b936f1d4b4) > > v2: > * Squash in radeon fix for TearFree regression > * Remove preprocessor guards for compatib

[PATCH xf86-video-ati] Use finer-grained pointer types in mem copying functions

2016-11-25 Thread Jochen Rollwagen
This commit modifies some pointer definitions in functions copying memory corresponding to those in memcpy. That should enable a compiler to produce better code (though i haven't checked whether that's the case). --- src/radeon.h |2 +- src/radeon_accel.c | 10 +- src/radeon

amdgpu support for Polaris11, Radeon Pro 400 series graphics

2016-11-25 Thread Bernhard Froemel
Hi everyone, I'd very much appreciate any help to get the open source amdgpu driver working for the Radeon Pro 460 [1] found in the recently released Apple MacBook Pro, Late 2016, 15" (model: MacBookPro13,3). Note that the Radeon Pro is part of a hybrid graphics setup, paired with an Intel HD Grap

[PATCH 5/5] drm/amd/dal: enhance debug print in REG_WAIT

2016-11-25 Thread Harry Wentland
From: Tony Cheng Change-Id: I4bc28dd8df15337693e311e0255b4f0cfeb22909 Signed-off-by: Tony Cheng Reviewed-by: Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/dc_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/dal/

[PATCH 4/5] drm/amd/dal: revert dc_flip_surface_addrs to directly flip address

2016-11-25 Thread Harry Wentland
From: Dmytro Laktyushkin Change-Id: I5f00cd4929f66700b9a2839d2a8eb9880e127b7e Signed-off-by: Dmytro Laktyushkin Reviewed-by: Reviewed-by: Andrey Grodzovsky Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/core/dc.c | 21 - 1 file changed, 16 insertions(+), 5 deletio

[PATCH 1/5] drm/amd/dal: Temporary fix DP hot plug crash.

2016-11-25 Thread Harry Wentland
From: Yongqiang Sun Change-Id: Ic4347e0c772f074fb9efdcff42b3aa42bda1e5ad Signed-off-by: Yongqiang Sun Reviewed-by: Reviewed-by: Harry Wentland Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 12 drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.

[PATCH 0/5] dal patches for nov 23, 2016

2016-11-25 Thread Harry Wentland
* remove some dead code * bunch of minor fixes Dmytro Laktyushkin (3): drm/amd/dal: remove dc_clock_generator (dead code) drm/amd/dal: refactor and fix lb memory size setting drm/amd/dal: revert dc_flip_surface_addrs to directly flip address Tony Cheng (1): drm/amd/dal: enhance debug prin

[PATCH 2/5] drm/amd/dal: remove dc_clock_generator (dead code)

2016-11-25 Thread Harry Wentland
From: Dmytro Laktyushkin Change-Id: I186c3293c76b3233360a182c9ca902e1d5b63e10 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Reviewed-by: Dmytro Laktyushkin Reviewed-by: Reviewed-by: Jordan Lazare Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/gpu/Makefile| 2 +- .../gp

[PATCH 3/5] drm/amd/dal: refactor and fix lb memory size setting

2016-11-25 Thread Harry Wentland
From: Dmytro Laktyushkin - Underlay was missing default lb memory size - Unify num_of_entries and memory size Change-Id: I521ec6532dba4de55491c4fb164a44bf93250698 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Reviewed-by: Jordan Lazare Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc

[PATCH] drm/amdgpu: fix bug uvd status not true in debugfs.

2016-11-25 Thread Rex Zhu
can't get uvd's state by uvd_enabled. uvd_enabled is used for request higher mclk. in multi-display case, mclk has been in highest clock, no matter uvd's state changed, uvd_enabled will not be changed. Change-Id: Iedbe3b7ce085e9199fa7fddb88185bfd16f26612 Signed-off-by: Rex Zhu --- drivers/gpu/dr

[PATCH xf86-video-amdgpu] Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available

2016-11-25 Thread Michel Dänzer
From: Michel Dänzer (Ported from radeon commits 1106b2f773ad0611c729b27f4c192a26b43ef1e7 and 5fea5ef2f07eee4a0f94baab427010b936f1d4b4) v2: * Squash in radeon fix for TearFree regression * Remove preprocessor guards for compatibility with libdrm < 2.4.72 (Emil Velikov) Signed-off-by: Michel Dä

[PATCH xf86-video-amdgpu] Make libdrm >= 2.4.72 requirement explicit

2016-11-25 Thread Michel Dänzer
From: Michel Dänzer And drop compatibility code for older versions. Signed-off-by: Michel Dänzer --- configure.ac | 2 +- src/amdgpu_dri2.c | 13 - src/drmmode_display.h | 4 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/configure.ac b/configure

[PATCH xf86-video-ati] Add radeon_is_gpu_screen helper

2016-11-25 Thread Michel Dänzer
From: Michel Dänzer This will hopefully decrease the chance of accidentally breaking the build against xserver < 1.13 in the future. Signed-off-by: Michel Dänzer --- src/drmmode_display.c | 5 + src/radeon.h | 3 +++ src/radeon_kms.c | 14 +++--- 3 files changed, 7

Re: [PATCH] xf86-video-ati: Fix build for xserver < 1.13

2016-11-25 Thread Michel Dänzer
On 25/11/16 03:00 AM, Jochen Rollwagen wrote: > Subject: [PATCH] fix build for xserver < 1.13 > > same procedure every few patches. Sorry about that. I pushed your patch (with the indentation fixed up), thanks. -- Earthling Michel Dänzer | http://www.amd.com Lib