Re: [PATCH 1/2] drm/amdgpu: switch firmware path for CIK parts

2018-07-02 Thread Alex Deucher
On Mon, Jul 2, 2018 at 4:12 PM, Dave Airlie wrote: > On 3 July 2018 at 05:36, Alex Deucher wrote: >> Use separate firmware path for amdgpu to avoid conflicts >> with radeon on CIK parts. >> > > Won't that cause a chicken and egg problem, new kernel with old > fi

[PATCH 14/32] drm/amdgpu: add VEGAM GFX golden settings

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 39 +++ 1 fil

[PATCH 15/32] drm/amdgpu: initialize VEGAM GFX

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 21 +++-- 1 file chan

[PATCH 04/32] drm/amdgpu: specify VEGAM ucode SMU load method

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 01/32] drm/amdgpu: add VEGAM ASIC type

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + include/drm/amd_asic_type.h

[PATCH 11/32] drm/amdgpu: add VEGAM SDMA firmware support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 11 --- 1 file changed, 8 in

[PATCH 07/32] drm/amdgpu: add VEGAM dc support check

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- 1 file changed, 2 insertions

[PATCH 06/32] drm/amdgpu/virtual_dce: add VEGAM support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 23/32] drm/amd/display: Implement VEGAM device IDs in DM

2018-04-25 Thread Alex Deucher
From: "Jerry (Fangzhi) Zuo" <jerry@amd.com> Add CHIP_VEGAM Signed-off-by: Jerry (Fangzhi) Zuo <jerry@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Harry Wentland &

[PATCH 22/32] drm/amd/display: Implement VEGAM device IDs in DC

2018-04-25 Thread Alex Deucher
From: "Jerry (Fangzhi) Zuo" <jerry@amd.com> Implement device IDs for VEGAM Signed-off-by: Jerry (Fangzhi) Zuo <jerry@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> Acked-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Harr

[PATCH 30/32] drm/amd/powerplay: add smumgr support for VEGAM (v2)

2018-04-25 Thread Alex Deucher
From: Eric Huang <jinhuieric.hu...@amd.com> The smumgr handles communication between the driver and the SMU for power management. v2: fix typo (Alex) Signed-off-by: Eric Huang <jinhuieric.hu...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-of

[PATCH 20/32] drm/amdgpu: add VEGAM support to vi

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/vi.c | 31 +-- 1 file chan

[PATCH 24/32] drm/amdgpu: Add VEGAM support to the legacy DCE 11 module

2018-04-25 Thread Alex Deucher
DC is preferred. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c

[PATCH 26/32] drm/amd/powerplay: add smu75 header files

2018-04-25 Thread Alex Deucher
From: Eric Huang <jinhuieric.hu...@amd.com> Signed-off-by: Eric Huang <jinhuieric.hu...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/powerplay/inc/smu75.h | 760 +++

[PATCH 18/32] drm/amdgpu: add VEGAM VCE firmware support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 9 +++-- 1 file changed, 7 insertions(

[PATCH 32/32] drm/powerplay: Add powertune table for VEGAM

2018-04-25 Thread Alex Deucher
From: Eric Huang <jinhuieric.hu...@amd.com> Add the powertune table for VEGAM. Signed-off-by: Eric Huang <jinhuieric.hu...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- .../gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 189 + 1

[PATCH 09/32] drm/amdgpu: add VEGAM GMC golden settings

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH 25/32] drm/amd/display: Use HBR2 if eDP monitor it doesn't advertise link rate

2018-04-25 Thread Alex Deucher
o HBR2 for the display in this. Note that this is a HACK. Ultimately we need to teach DC to use the extra link rate table. Signed-off-by: Harry Wentland <harry.wentl...@amd.com> Acked-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>

[PATCH 16/32] drm/amdgpu: add VEGAM UVD firmware support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 5 + 1 file changed, 5 insertions(+)

[PATCH 12/32] drm/amdgpu: add VEGAM SDMA golden settings

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 19/32] drm/amdgpu: add VEGAM to VCE harvest config

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 21/32] drm/amdgpu: add VEGAM pci ids

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 02/32] drm/amdgpu: bypass GPU info firmware load for VEGAM

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- 1 file changed, 2 insertions

[PATCH 03/32] drm/amdgpu: set VEGAM to ASIC family and ip blocks

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- 1 file changed, 2 insertions

[PATCH 05/32] drm/amdgpu: add VEGAM SMU firmware support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 +++ drivers/gpu/drm/amd/powerplay/

[PATCH 29/32] drm/amd/powerplay: update process pptables

2018-04-25 Thread Alex Deucher
From: Eric Huang <jinhuieric.hu...@amd.com> Add functionality to fetch gpio table from vbios. Signed-off-by: Eric Huang <jinhuieric.hu...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> ---

[PATCH 10/32] drm/amdgpu: initialize VEGAM GMC (v2)

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> v2: use proper register rather than hardcoding. Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v

[PATCH 27/32] drm/amd: add a new struct in atombios.h

2018-04-25 Thread Alex Deucher
From: Eric Huang <jinhuieric.hu...@amd.com> Signed-off-by: Eric Huang <jinhuieric.hu...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/include/atombios.h | 7 +++ 1 fi

[PATCH 08/32] drm/amdgpu: skip VEGAM MC firmware load

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Directly loaded by VBIOS Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 1 + 1 file chang

[PATCH 13/32] drm/amdgpu: add VEGAM GFX firmware support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 42 ++- 1 fil

[PATCH 17/32] drm/amdgpu: add VEGAM UVD encode support

2018-04-25 Thread Alex Deucher
From: Leo Liu <leo@amd.com> Signed-off-by: Leo Liu <leo@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] amdgpu: add padding to the fence to handle ioctl.

2017-10-19 Thread Alex Deucher
On Thu, Oct 19, 2017 at 8:52 PM, Dave Airlie <airl...@gmail.com> wrote: > From: Dave Airlie <airl...@redhat.com> > > I don't think this ioctl is in a Linus release yet. > > Signed-off-by: Dave Airlie <airl...@redhat.com> Reviewed-by: Alex Deucher <alexander.deu

Re: [PATCH] Revert "drm/amd/display: Match actual state during S3 resume."

2017-10-20 Thread Alex Deucher
DAL guys may have a proper fix for this, but either way: Acked-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 38 > --- > 1 file changed, 38 deletions(-) > > diff --git a/drivers/gpu/drm/amd/

Re: [PATCH 2/2] drm/amd/powerplay: fix uninitialized variable

2017-10-20 Thread Alex Deucher
y: Rex Zhu <rex....@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c

Re: [PATCH 1/2] drm/amdgpu: delete duplicated code.

2017-10-20 Thread Alex Deucher
On Fri, Oct 20, 2017 at 3:21 AM, Rex Zhu <rex@amd.com> wrote: > the variable ref_clock was assigned same > value twice in same function. > > Change-Id: Id26ec6c8265ba53e0cb84511c825c9a446cb18f9 > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher

Re: [pull] amdgpu dc drm-next-4.15-dc

2017-10-26 Thread Alex Deucher
h=amd-staging-drm-next=ddabbf65aae36e21b4c79354940f80eae6c36104 Alex > > Thanks, > Dieter > > Am 23.10.2017 03:03, schrieb Dieter Nützel: >> >> Am 22.10.2017 23:48, schrieb Dieter Nützel: >>> >>> Am 21.10.2017 23:22, schrieb Alex Deucher: >>>> >>>>

[pull] amdgpu and ttm drm-next-4.16

2017-12-30 Thread Alex Deucher
Hi Dave, Last few updates for 4.16: - Misc fixes for amdgpu - Enable swapout for reserved BOs during allocation for ttm - Misc cleanups for ttm The following changes since commit df2869abd92b740af141ee2eb081bfc69bd80877: Merge branch 'drm-next-4.16' of

Re: [PATCH xf86-video-ati 1/2] Move cursor related ScreenInit calls into AMDGPUCursorInit_KMS

2017-12-27 Thread Alex Deucher
el Dänzer <michel.daen...@amd.com> Series is: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > src/radeon_kms.c | 44 +--- > 1 file changed, 25 insertions(+), 19 deletions(-) > > diff --git a/src/radeon_kms.c b/src/

Re: [PATCH 4.15] drm/amd/display: call set csc_default if enable adjustment is false

2017-12-31 Thread Alex Deucher
On Fri, Dec 29, 2017 at 6:11 AM, Daniel Drake <dr...@endlessm.com> wrote: > From: Yue Hin Lau <yuehin@amd.com> > > Signed-off-by: Yue Hin Lau <yuehin@amd.com> > Reviewed-by: Eric Bernstein <eric.bernst...@amd.com> > Acked-by: Harry Wentland <har

Re: [pull] amdgpu and ttm drm-next-4.16

2018-01-05 Thread Alex Deucher
On Sat, Dec 30, 2017 at 10:37 PM, Alex Deucher <alexdeuc...@gmail.com> wrote: > Hi Dave, > > Last few updates for 4.16: > - Misc fixes for amdgpu > - Enable swapout for reserved BOs during allocation for ttm > - Misc cleanups for ttm Ping? Just want to make sure this di

[PATCH 3/3] drm/amdgpu: add atpx quirk handling (v2)

2018-01-04 Thread Alex Deucher
Add quirks for handling PX/HG systems. In this case, add a quirk for a weston dGPU that only seems to properly power down using ATPX power control rather than HG (_PR3). v2: append a new weston XT Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Junwei Zhang <

[PATCH 2/3] drm/amdgpu: Add dpm quirk for Jet PRO (v2)

2018-01-04 Thread Alex Deucher
Fixes stability issues. v2: clamp sclk to 600 Mhz Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103370 Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/si

[PATCH 1/3] drm/radeon: Add dpm quirk for Jet PRO (v2)

2018-01-04 Thread Alex Deucher
Fixes stability issues. v2: clamp sclk to 600 Mhz Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103370 Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/radeon/si_dpm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/radeon/si_d

Re: [PATCH 1/3] drm/amdgpu: allow framebuffer in GART memory as well

2018-01-04 Thread Alex Deucher
nks for checking. Alex > Regards, > Sam > > > > On 2018-01-04 04:18 PM, Alex Deucher wrote: >> On Thu, Jan 4, 2018 at 4:11 PM, Samuel Li <samuel...@amd.com> wrote: >>> From: Christian König <christian.koe...@amd.com> >>> >>> On

Re: [PATCH 1/3] drm/amdgpu: allow framebuffer in GART memory as well

2018-01-04 Thread Alex Deucher
a black screen. Need to debug this further before enabling. > > Change-Id: Id0f8af3110e54a3aabf7a258871867bc121cc1a2 > Signed-off-by: Christian König <christian.koe...@amd.com> > Reviewed-by: Andrey Grodzovsky <andrey.grodzov...@amd.com> > Acked-by: Alex Deucher <a

Re: [PATCH] drm/amdgpu: bump version for gfx9 high priority compute

2018-01-04 Thread Alex Deucher
On Thu, Jan 4, 2018 at 12:48 PM, Andres Rodriguez <andre...@gmail.com> wrote: > Signed-off-by: Andres Rodriguez <andre...@gmail.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> And applied both. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_drv.

[PATCH 3/5] drm/amdgpu: add HDP asic callbacks for CIK

2018-01-04 Thread Alex Deucher
Needed to flush and invalidate the HDP block using the CPU. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Samuel Li <samuel...@amd.com> --- drivers/gpu/drm/amd/amdgpu/cik.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/dr

[PATCH 4/5] drm/amdgpu: add HDP asic callbacks for VI

2018-01-04 Thread Alex Deucher
Needed to flush and invalidate the HDP block using the CPU. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Samuel Li <samuel...@amd.com> --- drivers/gpu/drm/amd/amdgpu/vi.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/amd

[PATCH 2/5] drm/amdgpu: add HDP asic callbacks for SI

2018-01-04 Thread Alex Deucher
Needed to flush and invalidate the HDP block using the CPU. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Samuel Li <samuel...@amd.com> --- drivers/gpu/drm/amd/amdgpu/si.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/amd

[PATCH 5/5] drm/amdgpu: add HDP asic callbacks for SOC15 (v2)

2018-01-04 Thread Alex Deucher
Needed to flush and invalidate the HDP block using the CPU. v2: use preferred register on soc15. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Samuel Li <samuel...@amd.com> (v1) --- drivers/gpu/drm/amd/amdgpu/soc15.c | 12 1 file changed, 1

[PATCH 1/5] drm/amdgpu: add new asic callbacks for HDP flush/invalidation

2018-01-04 Thread Alex Deucher
Needed to properly flush the HDP cache with the CPU from rather than the GPU. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> Signed-off-by: Samuel Li <samuel...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 6 ++ 1 file changed, 6 insertions(+) I keep needing

[PATCH 4/4] drm/amdgpu/gmc9: use amdgpu_asic_flush_hdp for gart tlb invalidations

2018-01-04 Thread Alex Deucher
Use the callback rather than open coding it. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

[PATCH 1/4] drm/amdgpu/gmc6: use amdgpu_asic_flush_hdp for gart tlb invalidations

2018-01-04 Thread Alex Deucher
Use the callback rather than open coding it. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c

[PATCH 3/4] drm/amdgpu/gmc8: use amdgpu_asic_flush_hdp for gart tlb invalidations

2018-01-04 Thread Alex Deucher
Use the callback rather than open coding it. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c

[PATCH 2/4] drm/amdgpu/gmc7: use amdgpu_asic_flush_hdp for gart tlb invalidations

2018-01-04 Thread Alex Deucher
Use the callback rather than open coding it. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c

Re: [PATCH] MAINTAINERS: add David (Chunming) Zhou as additional amdgpu maintainer

2018-01-09 Thread Alex Deucher
On Tue, Jan 9, 2018 at 12:08 PM, Christian König <ckoenig.leichtzumer...@gmail.com> wrote: > Just another contact for the amdgpu driver. > > Signed-off-by: Christian König <christian.koe...@amd.com> Acked-by: Alex Deucher <alexander.deuc...@amd.com> > --- > MA

Re: [PATCH 2/3] drm: export gem dmabuf_ops for drivers to reuse

2018-01-09 Thread Alex Deucher
On Tue, Jan 9, 2018 at 10:56 AM, Deucher, Alexander wrote: > I'll can push this and a few other misc patches today. > Pushed to drm-misc-next. Thanks, Alex > > Alex > > From: amd-gfx on behalf

[PATCH 2/2] drm/amdgpu: drop extra tlb invalidation in gpuvm

2018-01-05 Thread Alex Deucher
We only need to flush the HDP here, not invalidate the TLB. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgp

[PATCH 1/2] drm/amdgpu: adjust HDP write queue flushing for tlb invalidation

2018-01-05 Thread Alex Deucher
Separate tlb invalidation and hdp flushing and move the HDP flush to the caller. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 ++ drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c| 2 -- d

Re: [PATCH 2/2] drm/amd/pp: Add stable Pstate clk display when print_clock_levels

2018-01-08 Thread Alex Deucher
On Mon, Jan 8, 2018 at 2:20 PM, Felix Kuehling wrote: > [+Kent] > > What does stable pstate mean? What is it used for? This is used for the profiling stuff in force_performance_level. It disables clock and power gating and sets stable clock levels for doing performance

Re: [PATCH 1/2] drm/amdgpu: add custom power policy support in sysfs

2018-01-10 Thread Alex Deucher
On Wed, Jan 10, 2018 at 6:01 AM, Rex Zhu wrote: > when cat pp_power_profile_mode on Vega10 > NUMMODE_NAME BUSY_SET_POINT FPS USE_RLC_BUSY MIN_ACTIVE_LEVEL > 0 3D_FULL_SCREEN : 70 60 1 3 > 1 POWER_SAVING : 90 60

Re: [PATCH] drm/amdgpu: fix 64bit BAR detection

2018-01-10 Thread Alex Deucher
-off-by: Christian König <christian.koe...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >

[pull] amdgpu, radeon, ttm drm-next-4.16

2018-01-10 Thread Alex Deucher
-01-10 15:44:55 -0500) Alex Deucher (4): drm/radeon: Add dpm quirk for Jet PRO (v2) drm/amdgpu: Add dpm quirk for Jet PRO (v2) drm/amdgpu: add atpx quirk handling (v2) drm/amdgpu/gfx9: only init the apertures

Re: [PATCH] drm/amdgpu: Update MMHUB power gating register settings

2018-01-10 Thread Alex Deucher
ao <yong.z...@amd.com> Acked-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 61 > ++--- > 1 file changed, 33 insertions(+), 28 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_

Re: [PATCH 01/21] drm/amdgpu: wire up emit_wreg for gfx v6

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 2:39 PM, Christian König wrote: > Needed for vm_flush unification. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 13 + > 1 file changed, 13 insertions(+) > > diff

Re: [PATCH 4/5] drm/amd/pp: Update smu7 dpm table with OD clock/voltage

2018-01-18 Thread Alex Deucher
On Thu, Jan 18, 2018 at 3:38 AM, Rex Zhu <rex@amd.com> wrote: > delete old OD type code path when populate clk. > > Change-Id: I9beb7e751ac720edb4ffb1deaf7984e86e2e41b1 > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com

Re: [PATCH 2/5] drm/amd/pp: Add edit/commit/show OD clock/voltage support in sysfs

2018-01-18 Thread Alex Deucher
tage > > echo "r" to restore default value. > echo "c" to commit the user setting. > > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h| 4 +

Re: [PATCH 5/5] drm/amd/pp: Add update_avfs call when set_power_state

2018-01-18 Thread Alex Deucher
f (smu_data->avfs.avfs_btc_status == AVFS_BTC_NOTSUPPORTED) > + return 0; > + > + if (data->need_update_smu7_dpm_table & DPMTABLE_OD_UPDATE_VDDC) { > + smu7_avfs_control(hwmgr, false); > + return 0; You can drop the re

Re: [PATCH 1/5] drm/amd/pp: Add hwmgr interface for edit dpm table

2018-01-18 Thread Alex Deucher
On Thu, Jan 18, 2018 at 3:37 AM, Rex Zhu <rex@amd.com> wrote: > Add odn_edit_dpm_table function > points for setting user assigned clock/voltage. > > Change-Id: I7e49ffdc30b77d07b46bf12ebb275fa0ff901588 > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: A

Re: [PATCH 3/5] drm/amd/pp: Implement edit_dpm_table on smu7

2018-01-18 Thread Alex Deucher
On Thu, Jan 18, 2018 at 3:38 AM, Rex Zhu wrote: > Change-Id: Ib7414e1afc49d7b313188349b396aeac3a5054b7 > Signed-off-by: Rex Zhu > --- > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 121 > ++- > 1 file changed, 120 insertions(+), 1

Re: [PATCH 7/8] drm/amd/pp: Implement edit_dpm_table on smu7

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 7:02 AM, Rex Zhu wrote: > Change-Id: I301be04db3c56e16e2c10091016efa5439fbc744 > Signed-off-by: Rex Zhu > --- > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 104 > ++- > 1 file changed, 103 insertions(+), 1

Re: [PATCH 6/8] drm/amd/pp: Update avfs voltage when set power state

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 7:02 AM, Rex Zhu wrote: > when Over-driver engine clock and voltage were set, > need to recalculate AVFS voltage on VI asics. > > Change-Id: If2a2226d64c0c2aa37c2e84f36b0dad8b7dee25e > Signed-off-by: Rex Zhu > --- >

Re: [PATCH 3/8] drm/amd/pp: Add OD driver clock/voltage display on smu7

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 7:02 AM, Rex Zhu <rex@amd.com> wrote: > Change-Id: I54bb964a3905f675e93411f93810cc1aa1f67d12 > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/include/kgd_pp_in

Re: [PATCH 5/8] drm/amd/pp: Move DPMTABLE_* definitions to common header file

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 7:02 AM, Rex Zhu <rex@amd.com> wrote: > Change-Id: I46cdf4f39f4c9c448a2c76b67f1cbbfed26c7488 > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/powerp

Re: [PATCH 8/8] drm/amd/pp: Add edit/show OD clock/voltage support in sysfs

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 7:02 AM, Rex Zhu wrote: > when cat pp_od_clk_voltage it show > OD_SCLK: > 0:300Mhz800 mV > 1:466Mhz818 mV > 2:751Mhz824 mV > 3: 1019Mhz987 mV > 4: 1074Mhz 1037 mV > 5: 1126Mhz

Re: [PATCH] drm/amd/pp: Refine code abbreviate variable name

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 7:00 AM, Rex Zhu <rex@amd.com> wrote: > abbreviate variable name number_of_performance_levels > to num_of_pl in struct phm_odn_clock_levels > > Change-Id: I132c59dfd28933c4f6eba74fa53ffd0d014ec354 > Signed-off-by: Rex Zhu <rex@amd.com>

Re: [PATCH 2/2] drm/amd/pp: Add custom power profile mode support on Vega10

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 6:50 AM, Rex Zhu <rex@amd.com> wrote: > v2: delete uncessary blank line. > Add static const modifiers to an array > > Signed-off-by: Rex Zhu <rex@amd.com> > > Change-Id: If6b81ade742ef434717010ca0783d2af9145c975 Reviewed-by

Re: [PATCH 3/3] drm/amd/pp: Add stable Pstate clk display support in debugfs

2018-01-16 Thread Alex Deucher
f-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 4 > drivers/gpu/drm/amd/include/kgd_pp_interface.h | 2 ++ > drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 23 +

Re: [PATCH 1/3] drm/amd/pp: Store stable Pstate clocks

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 6:59 AM, Rex Zhu <rex@amd.com> wrote: > User can use to calculate profiling ratios when > set UMD Pstate. > > Signed-off-by: Rex Zhu <rex@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > Change-Id: I3c6b

Re: [PATCH 2/3] drm/amd/pp: Add stable Pstate clk display when print_clock_levels

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 6:59 AM, Rex Zhu wrote: > The additional output are at the end of sclk/mclk info as > cat pp_dpm_mclk > 0: 300Mhz * > 1: 1650Mhz > P: 300Mhz > > Signed-off-by: Rex Zhu I'm not crazy about this patch. I think it conflates things and

Re: [PATCH 5/5] drm/amd/pp: Fix SMIO implementation on CI

2018-01-16 Thread Alex Deucher
On Tue, Jan 16, 2018 at 6:18 AM, Rex Zhu <rex@amd.com> wrote: > Setup smio table(smio registers's address and voltage ID) > for various voltage domain. > > Change-Id: I14be46053ffb2954c1533f4e67d3b0632107af7a > Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> &g

Re: [PATCH 1/2] drm/amdgpu: add custom power policy support in sysfs

2018-01-16 Thread Alex Deucher
; > } > > void amdgpu_pm_compute_clocks(struct amdgpu_device *adev) > diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h > b/drivers/gpu/drm/amd/include/kgd_pp_interface.h > index 0f89d2a8..a823c03 100644 > --- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h > +++ b/d

Re: [PATCH] drm/amd/pp: Implement get_power_profile_mode on smu7

2018-01-19 Thread Alex Deucher
On Fri, Jan 19, 2018 at 5:15 AM, Rex Zhu wrote: > Use can get smu7 profile pamameters through sysfs > > cat pp_power_profile_mode > > NUMMODE_NAME UP_HYST DOWN_HYST ACTIVE_LEVEL > 0 3D_FULL_SCREEN*: 0 100 30 > 1 POWER_SAVING : 10 0

[PATCH] drm/amdgpu/powerplay/vega10: fix compute profile name

2018-01-19 Thread Alex Deucher
COMPUTER -> COMPUTE Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerp

Re: [PATCH v2 3/7] drm/amd/pp: Disable OD feature if VBIOS limits

2018-01-19 Thread Alex Deucher
determine whether we can enable OD. You may want to make the messages pr_debug. I could go either way on that. With the commit message added: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c | 8 &g

Re: [PATCH v2 5/7] drm/amd/pp: Implement edit_dpm_table on smu7

2018-01-19 Thread Alex Deucher
On Fri, Jan 19, 2018 at 3:10 AM, Rex Zhu <rex@amd.com> wrote: > v2: - check clk against OverDrive limits from VBIOS > - set OD flag when user commit the setting. > > Change-Id: If7b4f6a1a7049f5d13d47603d3446b66cf6e9d4a > Signed-off-by: Rex Zhu <rex@amd.com>

Re: [PATCH v2 4/7] drm/amd/pp: Disable OD feature on CI/Iceland.

2018-01-19 Thread Alex Deucher
e OD feature on CZ/Iceland Not supported on APUs or Iceland. With those fixed: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/powerplay

[pull] amdgpu, radeon and ttm drm-next-4.16

2018-01-19 Thread Alex Deucher
/linux drm-next-4.16 for you to fetch changes up to 400b6afbaa949914460e5fd1d769c5e26ef1f6b8: drm/amdgpu: disable MMHUB power gating on raven (2018-01-19 17:32:07 -0500) Alex Deucher (1): drm/amdgpu: only check for ECC on Vega10

[pull] amdgpu drm-next-4.16

2018-01-24 Thread Alex Deucher
to 87440329b06720e09c27ad1991204f4f0bd76f83: drm: fix gpu scheduler link order (2018-01-24 15:49:04 -0500) Alex Deucher (1): drm/amdgpu: Avoid leaking PM domain on driver unbind (v2) Andrey Grodzovsky (1): drm/amdgpu: Reenable manual GPU reset from sysfs

Re: [PATCH 2/2] drm/amdgpu: remove WARN_ON when VM isn't found

2018-01-24 Thread Alex Deucher
ARN_ON_ONCE(!vm)) { > + if (vm) { Should be !vm. With that fixed: Acked-by: Alex Deucher <alexander.deuc...@amd.com> > /* VM not found, process it normally */ > spin_unlock(>vm_manager.pasid_lock); > amdgpu_ih_clear_fault(ad

Re: [PATCH] drm/amdgpu: set DRIVER_ATOMIC flag early

2018-01-24 Thread Alex Deucher
On Wed, Jan 24, 2018 at 9:53 AM, Harry Wentland <harry.wentl...@amd.com> wrote: > On 2018-01-23 05:10 PM, Alex Deucher wrote: >> The atomic debugfs stuff gets created in drm_dev_alloc() >> but this gets called before we've enumerated all of our >> IPs, so move the DRIVER

Re: [PATCH 1/2] drm/amdgpu: fix locking in vega10_ih_prescreen_iv

2018-01-24 Thread Alex Deucher
On Wed, Jan 24, 2018 at 7:39 AM, Christian König <ckoenig.leichtzumer...@gmail.com> wrote: > The vm pointer can become invalid as soon as the lock is released. > > Signed-off-by: Christian König <christian.koe...@amd.com> Acked-by: Alex Deucher <alexander.deuc...@amd.co

Re: [PATCH 4/4] drm/amd/pp: Implement set_power_profile_mode on smu7

2018-01-24 Thread Alex Deucher
On Wed, Jan 24, 2018 at 6:12 PM, Felix Kuehling wrote: > On 2018-01-24 06:05 PM, Zhu, Rex wrote: >> Hi Felix, >> >> The logic of gfx/computer profile setting works in such way as you >> said,need under “auto” state. >> But in new sysfs of power profile setting, we do not

[PATCH 4/6] drm/amdgpu/pm: use read_sensor API to get temperature

2018-01-24 Thread Alex Deucher
Rather than using the amdgpu_dpm_get_temperature. Both provide access to the temperature. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drive

[PATCH 6/6] drm/amdgpu/pm: rework the hwmon visibility settings

2018-01-24 Thread Alex Deucher
Previously we just always exposed everything for asics supported by powerplay. Make it a bit more fine grained. In practice this shouldn't change anything. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 30 +--

[PATCH 5/6] drm/amdgpu/pp: remove the get_temperature API

2018-01-24 Thread Alex Deucher
This is also supported with the read_sensor API and there were no more users of the get_temperature API. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h| 3 --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 --- d

[PATCH 1/6] drm/amdgpu/pm: handle fan properly when card is powered down

2018-01-24 Thread Alex Deucher
Return an error if the user tried to check or set the fan parameters while the card is powered down (e.g., on a PX/HG system for example). This makes the fan consistent with the temperature stuff. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgp

[PATCH 2/6] drm/amdgpu/pm: report gpu voltages via hwmon API

2018-01-24 Thread Alex Deucher
Expose vddgfx and vddnb via hwmon. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 82 ++ 1 file changed, 82 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/

[PATCH 3/6] drm/amdgpu/pm: report gpu average power via hwmon API

2018-01-24 Thread Alex Deucher
Expose power via hwmon. Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgp

[PATCH] drm/amdgpu: remove DC special casing for KB/ML

2018-01-25 Thread Alex Deucher
It seems to be working now. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102372 Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/

<    12   13   14   15   16   17   18   19   20   21   >