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
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
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
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
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
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
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
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
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 &
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
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
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
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
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 +++
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(
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
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
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>
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(+)
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
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
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(+)
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
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
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/
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>
---
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
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
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
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
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
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
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/
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
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
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:
>>>>
>>>>
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
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/
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
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
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 <
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
>
-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
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_
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
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
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 +
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
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
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
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
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
> ---
>
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
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
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
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>
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
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 +
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
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
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
;
> }
>
> 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
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
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
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
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>
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
/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
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
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
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
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
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
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
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 +--
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
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
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/
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
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/
1601 - 1700 of 12767 matches
Mail list logo