[PATCH] drm/amdgpu: enable MGCG for PCO

2019-04-19 Thread likun Gao
From: Likun Gao Enable MGCG for picasso. Signed-off-by: Likun Gao --- drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index a136632..4900e49 100644 --- a/drivers/gp

RE: [PATCH] drm/amdgpu: enable MGCG for PCO

2019-04-19 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of likun Gao > Sent: Friday, April 19, 2019 3:21 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huan, Alvin ; Zhou, Hang > ; Huang, Ray ; Gao, Likun > > Subject: [PATCH] drm/amdgpu: enable MGCG fo

RE: DMA-buf P2P

2019-04-19 Thread Zhou, David(ChunMing)
Which test are you using? Can share? -David > -Original Message- > From: dri-devel On Behalf Of > Christian K?nig > Sent: Thursday, April 18, 2019 8:09 PM > To: dri-de...@lists.freedesktop.org; amd-gfx@lists.freedesktop.org > Subject: DMA-buf P2P > > Hi guys, > > as promised this is th

Re: [PATCH] drm/amd/include: Add HUBPREQ_DEBUG register offsets

2019-04-19 Thread Deucher, Alexander
Acked-by: Alex Deucher From: sunpeng...@amd.com Sent: Thursday, April 18, 2019 1:13 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander; Cheng, Tony; Wentland, Harry; StDenis, Tom; Li, Sun peng (Leo) Subject: [PATCH] drm/amd/include: Add HUBPREQ_DEBUG reg

Re: [PATCH] drm/amdgpu: Change VRAM lost print from ERR to INF

2019-04-19 Thread Deucher, Alexander
Maybe change the message to: VRAM is lost due to GPU reset! Either way, Reviewed-by: Alex Deucher From: amd-gfx on behalf of Andrey Grodzovsky Sent: Thursday, April 18, 2019 6:48 PM To: amd-gfx@lists.freedesktop.org Cc: Grodzovsky, Andrey; Kuehling, Felix Subjec

Re: [PATCH] drm/amd/amdgpu: fix spelling mistake "recieve" -> "receive"

2019-04-19 Thread Mukesh Ojha
On 4/18/2019 3:55 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a pr_err message. Fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] drm/amd/amdgpu: fix spelling mistake "recieve" -> "receive"

2019-04-19 Thread Colin King
From: Colin Ian King There is a spelling mistake in a pr_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi

Re: [PATCH] drm/amdgpu: Check if smu.ppt_funcs is initialized before accessing

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 12:01 PM wrote: > > From: Leo Li > > smu.ppt_funcs is only initialized for specific SMU versions. > > On a Hawaii ASIC, attempting to access the udev attribute > ATTRS{power_dpm_state} will cause a null pointer deref in > amdgpu_get_dpm_state() because of this. > > Fix by

[pull] amdgpu drm-next-5.2

2019-04-19 Thread Alex Deucher
Hi Dave, Daniel, More updates for 5.2: - Add the amdgpu specific bits for timeline support - Add internal interfaces for xgmi pstate support - DC Z ordering fixes for planes - Add support for NV12 planes in DC - Add colorspace properties for planes in DC - eDP optimizations if the GOP driver alrea

Re: [PATCH] drm/amdgpu: fix spelling mistake "gateing" -> "gating"

2019-04-19 Thread Alex Deucher
On Wed, Apr 17, 2019 at 3:04 AM Mukesh Ojha wrote: > > > On 4/16/2019 5:29 PM, Colin King wrote: > > From: Colin Ian King > > > > There is a spelling mistake in a DRM_INFO message. Fix it. > > > > Signed-off-by: Colin Ian King > Reviewed-by: Mukesh Ojha Applied. thanks! Alex > > Cheers, >

Re: [PATCH] drm/amd/amdgpu: fix spelling mistake "recieve" -> "receive"

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 1:58 PM Mukesh Ojha wrote: > > > On 4/18/2019 3:55 PM, Colin King wrote: > > From: Colin Ian King > > > > There is a spelling mistake in a pr_err message. Fix it. > > > > Signed-off-by: Colin Ian King > Reviewed-by: Mukesh Ojha Applied. thanks! Alex > > Cheers, > -M

Re: [PATCH 1/6] drm/amd/powerplay: support hwmon temperature channel labels

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > Expose temp[1-3]_label hwmon interfaces. While temp2_label > and temp3_label are visible for SOC15 dGPUs only. > > Change-Id: I7f1e10c52ec21d272027554cdf6da97103e0be58 > Signed-off-by: Evan Quan I'd suggest making this one last in the series s

Re: [PATCH 2/6] drm/amd/powerplay: support edge/memory critical limit values

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > These new interfaces(temp2_crit, temp2_crit_hyst, temp3_crit, > temp3_crit_hyst) are supported on SOC15 dGPUs only. > > Change-Id: Ia87e3f6ad816b51d6680eb74c8f755d6c2b0a6ae > Signed-off-by: Evan Quan Reviewed-by: Alex Deucher > --- > driver

Re: [PATCH 3/6] drm/amd/powerplay: support temperature emergency max values

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > These new interfaces(temp1_emergency, temp2_emergency, > temp3_emergency) are supported on SOC15 dGPUs only. > > Change-Id: I2552df63f9c8c50294b3940bb2a402217673c2bc > Signed-off-by: Evan Quan Reviewed-by: Alex Deucher > --- > drivers/gpu/d

Re: [PATCH 4/6] drm/amd/powerplay: support SMU metrics table on Vega12

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > That should provide some necessary sensor information. > > Change-Id: I898371cef06795c5369a14c4dd3fe8717959d81a > Signed-off-by: Evan Quan Reviewed-by: Alex Deucher > --- > .../drm/amd/powerplay/hwmgr/vega12_hwmgr.c| 21

Re: [PATCH 5/6] drm/amd/powerplay: expose current edge and memory temperatures

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > Two new hwmon interfaces(temp2_input and temp3_input) are added. > They are supported on SOC15 dGPUs only. > > Change-Id: I935c512bd38e080fb8b6e3164c5e5294baff4e91 > Signed-off-by: Evan Quan > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c

Re: [PATCH 1/6] drm/amd/powerplay: support hwmon temperature channel labels

2019-04-19 Thread Alex Deucher
On Fri, Apr 19, 2019 at 11:08 AM Alex Deucher wrote: > > On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > > > Expose temp[1-3]_label hwmon interfaces. While temp2_label > > and temp3_label are visible for SOC15 dGPUs only. > > > > Change-Id: I7f1e10c52ec21d272027554cdf6da97103e0be58 > > Signe

Re: [PATCH 6/6] drm/amd/powerplay: correct SOC15 hotspot temperature critical max

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:03 AM Evan Quan wrote: > > Correct Vega10, Vega12 and Vega20 hotspot temperature critical max > values. > > Change-Id: I77bb77761e8530066ec4f3225f8555cf8f672348 > Signed-off-by: Evan Quan Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr

Re: [PATCH 2/2] drm/amd/powerplay: expose Vega12 current gpu activity

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 5:04 AM Evan Quan wrote: > > Provide the real sensor information for current gpu activity. > > Change-Id: I8449672a6fdabb4287e12e36a4f95e08e2d65e47 > Signed-off-by: Evan Quan Series is: Reviewed-by: Alex Deucher > --- > .../drm/amd/powerplay/hwmgr/vega12_hwmgr.c| 2

Re: [PATCH 2/6] PCI/P2PDMA: start with a whitelist for root complexes

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 8:09 AM Christian König wrote: > > A lot of root complexes can still do P2P even when PCI devices > don't share a common upstream bridge. > > Start adding a whitelist and allow P2P if both participants are > attached to known good root complex. > > Signed-off-by: Christian

Re: [PATCH 05/12] dma-buf: add explicit buffer pinning

2019-04-19 Thread Alex Deucher
On Tue, Apr 16, 2019 at 2:39 PM Christian König wrote: > > Add optional explicit pinning callbacks instead of implicitly assume the > exporter pins the buffer when a mapping is created. > > Signed-off-by: Christian König > --- > drivers/dma-buf/dma-buf.c | 39

Re: [PATCH 6/6] drm/amdgpu: add support for exporting VRAM using DMA-buf v2

2019-04-19 Thread Alex Deucher
On Thu, Apr 18, 2019 at 8:09 AM Christian König wrote: > > We should be able to do this now after checking all the prerequisites. > > v2: fix entrie count in the sgt > > Signed-off-by: Christian König Series is: Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c|