[PATCH] drm/amdgpu: s/amdgpuCrtc/amdgpu_crtc/ in pageflip code

2016-10-21 Thread Alex Deucher
Fix random CamelCase that has annoyed me for a while. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c

[PATCH] drm/amdgpu/dpm: flush any thermal work on fini

2016-10-21 Thread Alex Deucher
Flush any outstanding thermal work before tearing down the dpm driver. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 2 ++ drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 2 ++ drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 ++ 3 files changed, 6 insertions(+)

[PATCH] drm/amdgpu: cancel reset work on fini

2016-10-21 Thread Alex Deucher
Cancel any pending reset work when we tear down the driver. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c

[PATCH] drm/amdgpu/atom: remove a bunch of unused functions

2016-10-21 Thread Alex Deucher
Leftovers from the radeon. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 82 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 10 2 files changed, 92 deletions(-) diff --git

[PATCH] drm/amdgpu: use amdgpu_bo_[create|free]_kernel for wb

2016-10-21 Thread Alex Deucher
Rather than open coding it. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 37 ++ 1 file changed, 7 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[pull] radeon and amdgpu drm-fixes-4.9

2016-10-21 Thread Alex Deucher
Hi Dave, Misc bug fixes for radeon and amdgpu. The following changes since commit 26beaee9bb07be20cc641c1251152e280e80f54e: Merge branch 'drm-etnaviv-fixes' of git://git.pengutronix.de/lst/linux into drm-fixes (2016-10-21 13:27:55 +1000) are available in the git repository at:

Re: [PATCH 2/2] drm/amdgpu: when suspend, set boot state instand of disable dpm.

2016-10-21 Thread Alex Deucher
On Fri, Oct 21, 2016 at 6:13 AM, Rex Zhu wrote: > fix pm-hibernat bug, when suspend/resume, dpm start failed. > > Change-Id: I03784f0049563b11721ebe905d9bea40ecc82170 > Signed-off-by: Rex Zhu > --- > drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 17 - >

Re: [PATCH 1/2] drm/amdgpu: fix s3 resume back, uvd dpm randomly can't disable.

2016-10-21 Thread Alex Deucher
On Fri, Oct 21, 2016 at 6:13 AM, Rex Zhu wrote: > the value of last_mclk_dpm_enable_mask will be changed if > other clients(vce,dal) trigger set power state between enable > and disable uvd dpm. > > Change-Id: I5bdca2ff7d401243780c71c8d73fdc1e8febaae1 > Signed-off-by: Rex Zhu

Re: [PATCH] drm/amdgpu:set preemption flag bit

2016-10-21 Thread Alex Deucher
On Fri, Oct 21, 2016 at 5:59 AM, Christian König wrote: > Way to much overkill, just put that into the device info flags. > > See AMDGPU_IDS_FLAGS_FUSION for reference. Yeah, agreed. Alex > > Christian. > > > Am 21.10.2016 um 05:34 schrieb Monk Liu: >> >> UMD need this

Re: [PATCH 1/2] drm/amdgpu: fix s3 resume back, uvd dpm randomly can't disable.

2016-10-21 Thread Christian König
Am 21.10.2016 um 12:13 schrieb Rex Zhu: the value of last_mclk_dpm_enable_mask will be changed if other clients(vce,dal) trigger set power state between enable and disable uvd dpm. Change-Id: I5bdca2ff7d401243780c71c8d73fdc1e8febaae1 Signed-off-by: Rex Zhu Acked-by:

[PATCH 1/2] drm/amdgpu: fix s3 resume back, uvd dpm randomly can't disable.

2016-10-21 Thread Rex Zhu
the value of last_mclk_dpm_enable_mask will be changed if other clients(vce,dal) trigger set power state between enable and disable uvd dpm. Change-Id: I5bdca2ff7d401243780c71c8d73fdc1e8febaae1 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 2 +- 1 file

[PATCH 2/2] drm/amdgpu: when suspend, set boot state instand of disable dpm.

2016-10-21 Thread Rex Zhu
fix pm-hibernat bug, when suspend/resume, dpm start failed. Change-Id: I03784f0049563b11721ebe905d9bea40ecc82170 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] drm/amdgpu:set preemption flag bit

2016-10-21 Thread Christian König
Way to much overkill, just put that into the device info flags. See AMDGPU_IDS_FLAGS_FUSION for reference. Christian. Am 21.10.2016 um 05:34 schrieb Monk Liu: UMD need this bit if preemption want supported Change-Id: Ic657b3e6f46a148ed3cf0e932ccf46f2c5230d7f Signed-off-by: Monk Liu