答复: [PATCH] drm/amdgpu: fix baco handling for soc15

2019-01-27 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Grodzovsky, Andrey 发送时间: 2019年1月26日 5:03:30 收件人: Alex Deucher; amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: [PATCH] drm/amdgpu: fix baco handling for soc15 Reviewed-and-Tested-by: Andrey

答复: [PATCH] drm/amdgpu: Add APTX quirk for Lenovo laptop

2019-01-16 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2019年1月17日 0:05:14 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander; sta...@vger.kernel.org 主题: [PATCH] drm/amdgpu: Add APTX quirk for Lenovo laptop Needs ATPX rather than _P

答复: [PATCH] drm/amdgpu/soc15: return proper error codes in baco reset

2019-01-14 Thread Qu, Jim
Reviewed-by: JimQu Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2019年1月15日 3:57:56 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: [PATCH] drm/amdgpu/soc15: return proper error codes in baco reset Rather than just -1. Signed-off-by:

答复: [PATCH] gpu: drm: fix an improper check of amdgpu_bo_create_kernel

2018-12-27 Thread Qu, Jim
Comments in line. Thanks JimQu 发件人: amd-gfx 代表 Kangjie Lu 发送时间: 2018年12月26日 14:23 收件人: k...@umn.edu 抄送: Zhou, David(ChunMing); David Airlie; Xu, Feifei; Francis, David; linux-ker...@vger.kernel.org; amd-gfx@lists.freedesktop.org; Huang, Ray; dri-de...

答复: 答复: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-10 Thread Qu, Jim
Yeah, the asic need to be POST in S4/resume and runtime resume. Thanks JimQu 发件人: Xu, Feifei 发送时间: 2018年12月10日 18:42 收件人: Qu, Jim 抄送: Quan, Evan; amd-gfx@lists.freedesktop.org 主题: Re: 答复: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20 Agree

答复: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-10 Thread Qu, Jim
发件人: Xu, Feifei 发送时间: 2018年12月10日 18:09 收件人: Qu, Jim; Quan, Evan; amd-gfx@lists.freedesktop.org 主题: RE: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20 In fact, in multigpu cases, the original logical in amdgpu_device_need_post

答复: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-10 Thread Qu, Jim
I think it is better move it into amdgpu_device_need_post() as a negative condition. Thanks JimQu 发件人: amd-gfx 代表 Quan, Evan 发送时间: 2018年12月10日 14:33:58 收件人: Xu, Feifei; amd-gfx@lists.freedesktop.org 抄送: Xu, Feifei 主题: RE: [PATCH] drm/amdgpu:skip ASIC_

答复: VegaM DP dpms issue

2018-10-07 Thread Qu, Jim
Hi, Please give more details about the issue, such as OS, kernel version, amdgpu driver version, dmesg log, Xorg log. Some suggestions: 1. Make sure that hybrid GFX has enabled on your system. 2. The important issue, make sure Which GPU is mDP phy connected. If it is from iGPU, that mean the

答复: [PATCH 1/3] drm/amdgpu: added AMD GPU instance counting

2018-09-27 Thread Qu, Jim
See comments in line. Thanks JimQu 发件人: amd-gfx 代表 Flora Cui 发送时间: 2018年9月28日 10:46 收件人: Quan, Evan; amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: [PATCH 1/3] drm/amdgpu: added AMD GPU instance counting On 2018年09月28日 10:03, Evan Quan w

答复: Find out DCE version

2018-08-22 Thread Qu, Jim
If driver uses legacy DCE driver, it can be got from dmesg, like dce_v6_0, but if driver uses DC driver for display, it has not. Why do you want to get DCE info? Thanks JimQu 发件人: Paul Menzel 发送时间: 2018年8月22日 15:01:37 收件人: Qu, Jim 抄送: amd-gfx

答复: Find out DCE version

2018-08-21 Thread Qu, Jim
You may get the answer from https://www.x.org/wiki/RadeonFeature/. Thanks JimQu 发件人: amd-gfx 代表 Paul Menzel 发送时间: 2018年8月22日 13:30:12 收件人: amd-gfx@lists.freedesktop.org 主题: Find out DCE version Dear Linux folks, How do I easily determine from a runni

答复: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-09 Thread Qu, Jim
Fix typo throw() to thaw(). Thanks JimQu 发件人: Qu, Jim 发送时间: 2018年8月10日 14:55:09 收件人: Zhu, Rex; S, Shirish; Deucher, Alexander; Liu, Leo 抄送: amd-gfx@lists.freedesktop.org 主题: 答复: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated There are

答复: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-09 Thread Qu, Jim
There are ASIC reset/ASIC resume during S4 freeze()/throw() process, I am afraid there may be some problem for ring/ib test. It should be more test to confirm it. Thanks JimQu 发件人: amd-gfx 代表 Zhu, Rex 发送时间: 2018年8月10日 14:32:36 收件人: S, Shirish; Deucher

答复: [PATCH 4/4] drm/amdgpu: Add audio component support

2018-07-24 Thread Qu, Jim
See comments in line. Thanks JimQu 发件人: amd-gfx 代表 Takashi Iwai 发送时间: 2018年7月23日 22:50 收件人: alsa-de...@alsa-project.org 抄送: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org 主题: [PATCH 4/4] drm/amdgpu:

答复: [PATCH 3/4] drm/radeon: Add audio component support

2018-07-24 Thread Qu, Jim
Hi Takashi lwai, Sorry, I have to use outlook again, since my mail client had some problems that did not receive these series patches. See the commands in line. Thanks JimQu 发件人: amd-gfx 代表 Takashi Iwai 发送时间: 2018年7月23日 22:50

答复: [PATCH 2/2] drm/amdgpu/acpi: skip backlight events for DC

2018-07-19 Thread Qu, Jim
Those two patches are Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2018年7月19日 22:35:53 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: [PATCH 2/2] drm/amdgpu/acpi: skip backlight events for DC No change in behavi

Re: [alsa-devel] [PATCH 1/2] ALSA: HDA: use PCI_BASE_CLASS_DISPLAY to cover more display adapters

2018-07-13 Thread Qu, Jim
See comments in line thanks JimQu 获取 Outlook for Android<https://aka.ms/ghei36> 发件人: Takashi Iwai 发送时间: 7月13日星期五 16:33 主题: Re: [alsa-devel] [PATCH 1/2] ALSA: HDA: use PCI_BASE_CLASS_DISPLAY tocover more display adapters 收件人: Qu, Jim 抄送: alsa-de...@alsa-project.org,

答复: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2018-07-10 Thread Qu, Jim
Hi Luis, 1. May you also test earlier kernel? v4.17 or v4.16. 2. May you test the issue only with amdgpu? Thanks JimQu 发件人: amd-gfx 代表 Luís Mendes 发送时间: 2018年7月11日 6:04:00 收件人: Michel Dänzer; Koenig, Christian; amd-gfx list 主题: Re: Regression with kern

答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-10 Thread Qu, Jim
. I am also confuse that if there is no ELD info, how driver to steam audio device to wake up itself? It's sort of a chicken-or-egg question. Thanks JimQu 发件人: Qu, Jim 发送时间: 2018年7月10日 15:44:42 收件人: Takashi Iwai 抄送: Daniel Vetter; Alex Deucher; al

答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-10 Thread Qu, Jim
发送时间: 2018年7月10日 1:09 收件人: Qu, Jim 抄送: Daniel Vetter; Alex Deucher; alsa-de...@alsa-project.org; amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; Deucher, Alexander 主题: Re: 答复: [alsa-devel]答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id On Mo

答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Qu, Jim
sa-de...@alsa-project.org; amd-gfx@lists.freedesktop.org; Qu, Jim ; dri-de...@lists.freedesktop.org; Deucher, Alexander 主题: Re: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id On Mon, 09 Jul 2018 17:56:43 +0200, Daniel Vetter wrote: > > On Mon, J

答复: [alsa-devel] ??????: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Qu, Jim
Hi All, Here, I want to clarify the audio device is bound to iGPU. There is no audio codec for dGPU. Thanks JimQu -邮件原件- 发件人: Lukas Wunner 发送时间: 2018年7月9日 23:48 收件人: Takashi Iwai 抄送: Alex Deucher ; alsa-de...@alsa-project.org; amd-gfx@lists.freedesktop.org; Qu, Jim ; dri-de

答复: [PATCH] drm/amdgpu: execute amdgpu_ring_patch_cond_exec() only for valid job

2018-07-09 Thread Qu, Jim
it should be omited when coding. Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Shirish S 发送时间: 2018年7月9日 18:30:14 收件人: Liu, Monk; Deucher, Alexander; Koenig, Christian 抄送: amd-gfx@lists.freedesktop.org; S, Shirish 主题: [PATCH] drm/amdgpu: execute amd

答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Qu, Jim
upt will sent to user mode via uevent, not sure whether audio user mode driver can receive the event or not. Thanks JimQu 发件人: Lukas Wunner 发送时间: 2018年7月9日 17:27 收件人: Qu, Jim 抄送: alsa-de...@alsa-project.org; dri-de...@lists.freedesktop.org

答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Qu, Jim
guarantee the audio can be accessed if gpu is poweroffed by setting the DL_FLAG_PM_RUNTIME flag. So, in my opinion, audio's suspend/resume should be processed with gpu suspend/resume. Thanks JimQu 发件人: Lukas Wunner 发送时间: 2018年6月29日 19:11 收件人: Qu, Jim 抄送:

答复: [PATCH] drm/amdgpu/gmc7: simplify logic in firmware message

2018-07-05 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2018年7月6日 4:46:33 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: [PATCH] drm/amdgpu/gmc7: simplify logic in firmware message Switching the firmware paths for CIK parts

答复: [PATCH v3 2/2] drm/admgpu: Present amdgpu_task_info in VM_FAULTS.

2018-07-05 Thread Qu, Jim
Look good to me. there is a small typo error about title admgpu->amdgpu Acked-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Andrey Grodzovsky 发送时间: 2018年7月6日 3:27:00 收件人: amd-gfx@lists.freedesktop.org 抄送: Grodzovsky, Andrey; Zhou, David(ChunMing); Koenig, C

答复: [PATCH v2] drm/amdgpu: update documentation for amdgpu_drv.c

2018-07-03 Thread Qu, Jim
I always confuse any bits definiation about some feature mask. such as ip_block_mask, pg_mask, cg_mask, pp_feature_mask. I think other people who is not familiar with amdgpu driver may have the same problem. So, is it possible to detail every bit mask of features? Thanks JimQu

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

2018-07-02 Thread Qu, Jim
The patch sounds reasonable. My concern is : should the patches need to coordinate with the change of installation script (or maybe the FW .deb package)which install relative FW to amdgpu patch? Thanks JimQu 发件人: amd-gfx 代表 Zhang, Jerry (Junwei) 发送时间

Re: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-06-29 Thread Qu, Jim
indeed?I used 4.13 on the platform. let me have a try with the patch you mentioned thinks jimqu ?? Outlook for Android<https://aka.ms/ghei36> From: Lukas Wunner Sent: Friday, June 29, 2018 5:21:38 PM To: Qu, Jim Cc: alsa-de...@alsa-project.org;

答复: 答复: 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-06-29 Thread Qu, Jim
时间: 2018年6月29日 16:54 收件人: Qu, Jim; Alex Deucher 抄送: Deucher, Alexander; amd-gfx list 主题: Re: 答复: 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id On 06/29/2018 04:06 PM, Qu, Jim wrote: > I mean if the VGA_OTHER is only for headless, and there is no audio on

答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-06-29 Thread Qu, Jim
Hi Lukas, Thanks to your response, please see comments in line. Thanks JimQu 发件人: Lukas Wunner 发送时间: 2018年6月29日 16:06 收件人: Qu, Jim 抄送: alsa-de...@alsa-project.org; dri-de...@lists.freedesktop.org; Deucher, Alexander; amd-gfx@lists.freedesktop.org 主题

答复: 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-06-29 Thread Qu, Jim
. Thanks JimQu 发件人: amd-gfx 代表 Zhang, Jerry (Junwei) 发送时间: 2018年6月29日 15:40:14 收件人: Qu, Jim; Alex Deucher 抄送: Deucher, Alexander; amd-gfx list 主题: Re: 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id On 06/29/2018 01:59 PM

答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-06-29 Thread Qu, Jim
HI, Any comments for the patch? Thanks JimQu 发件人: Alex Deucher 发送时间: 2018年6月28日 20:43 收件人: Qu, Jim; alsa-de...@alsa-project.org; Maling list - DRI developers 抄送: amd-gfx list; Deucher, Alexander 主题: Re: [PATCH] vgaswitchroo: set audio client id

答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-06-28 Thread Qu, Jim
If the GFX is headless, the audio codec should be disabled on PCIE bus. the the HDA driver will never probe the audio. right? Thanks JimQu 发件人: Alex Deucher 发送时间: 2018年6月29日 12:01 收件人: Zhang, Jerry 抄送: Qu, Jim; amd-gfx list; Deucher, Alexander 主题: Re

答复: [PATCH 2/4] drm/amdgpu: s/disp_detetion_ports/disp_detection_ports/

2018-06-26 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Lyude Paul 发送时间: 2018年6月26日 9:09:05 收件人: amd-gfx@lists.freedesktop.org 抄送: Zhou, David(ChunMing); David Airlie; Huang, Ray; linux-ker...@vger.kernel.org; dri-de...@lists.freedesktop.org; Kai-Heng Feng;

答复: [BUG] amdgpu: System freezes after resuming from suspend to ram the second time

2018-05-08 Thread Qu, Jim
Hi John, What driver version did you used? Did you try our last release driver? Thanks JimQu 发件人: amd-gfx 代表 John Smith 发送时间: 2018年5月8日 23:17:47 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander; Zhou, David(ChunMing); Koenig, Christian 主题: [BU

答复: Tracking: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-05-01 Thread Qu, Jim
Hi , If you are sure that the HW worked fine before. I think you should: 1. Be sure that HW works fine now. 2. recall the driver to the point at where it works well, and then replace them one by one to confirm component which causes the issue. 3. try to update the last VBIOS to adapt new driver.

答复: 答复: 答复: [PATCH] sync amdgpu scanout update event before mode setting

2018-04-18 Thread Qu, Jim
OK, Please push your patch ASAP. Thanks JimQu 发件人: Michel Dänzer 发送时间: 2018年4月18日 17:54 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: 答复: 答复: [PATCH] sync amdgpu scanout update event before mode setting On 2018-04-18 11:44 AM, Qu, Jim wrote

答复: 答复: [PATCH] sync amdgpu scanout update event before mode setting

2018-04-18 Thread Qu, Jim
Yeah, I realize that it should use || . I will check it again with your modification. and then push it immediately. The issue has delayed a long time. May I get your RB? Thanks JimQu 发件人: Michel Dänzer 发送时间: 2018年4月18日 17:29 收件人: Qu, Jim 抄送: amd-gfx

答复: [PATCH] sync amdgpu scanout update event before mode setting

2018-04-18 Thread Qu, Jim
on? Thanks JimQu 发件人: amd-gfx 代表 Qu, Jim 发送时间: 2018年4月18日 17:00 收件人: Michel Dänzer 抄送: amd-gfx@lists.freedesktop.org 主题: 答复: [PATCH] sync amdgpu scanout update event before mode setting Okay if I make that modification before pushing? A: Yes , of c

答复: [PATCH] sync amdgpu scanout update event before mode setting

2018-04-18 Thread Qu, Jim
Okay if I make that modification before pushing? A: Yes , of course :p) Thanks JimQu 发件人: Michel Dänzer 发送时间: 2018年4月18日 16:55 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] sync amdgpu scanout update event before mode setting On 2018

答复: [PATCH] sync amdgpu scanout update event before mode setting

2018-04-17 Thread Qu, Jim
Hi, Any comments for this patch? Thanks JimQu 发件人: amd-gfx 代表 Jim Qu 发送时间: 2018年4月17日 19:11 收件人: amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: [PATCH] sync amdgpu scanout update event before mode setting There is a case that when set screen from

答复: [PATCH 2/2] drm/amdgpu: restore uvd fence seq in uvd resume

2017-12-14 Thread Qu, Jim
_ 发件人: Jim Qu 发送时间: 2017年12月15日 15:32 收件人: amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: [PATCH 2/2] drm/amdgpu: restore uvd fence seq in uvd resume otherwise, uvd block will be never powered up in ring begin_use() callback. uvd ring test will be fail in resume in rumtime pm. Chan

答复: 答复: [PATCH 2/2] drm/amdgpu: save/restore uvd fence sequence number in suspend/resume

2017-12-14 Thread Qu, Jim
end(). In amdgpu_uvd_resume(), code run into 'else' case, it just restore the firmware. I will try your suggestion tomorrow. Thanks JimQu -邮件原件- 发件人: Koenig, Christian 发送时间: 2017年12月14日 22:02 收件人: Qu, Jim ; amd-gfx@lists.freedesktop.org 主题: Re: 答复: [PATCH 2/2] drm/amdgpu: save/rest

答复: [PATCH 2/2] drm/amdgpu: save/restore uvd fence sequence number in suspend/resume

2017-12-14 Thread Qu, Jim
Hi Christian, I remember the amdgpu_fence_driver_start_ring() function is called by amdgpu_ring_init (), so the function should never be called in amdgpu_device_resume(). Thanks JimQu -邮件原件- 发件人: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] 发送时间: 2017年12月14日 20:57 收件人: Qu

答复: [PATCH] drm/amd/amdgpu: fix over-bound accessing in amdgpu_cs_wait_any_fence

2017-11-16 Thread Qu, Jim
Hi Roger: - if (array[first]) - r = array[first]->error; - else + if (first == ~0) r = 0; + else + r = array[first]->error; // The patch looks like change original logic that miss to check array[first]. Thanks JimQu ___

答复: System freeze on display re-activation persists

2017-11-05 Thread Qu, Jim
Hi Martin: The log do not have any useful information. For S3 issue I think you can do: 1. Do you have any other AMD GFX? such as Bonaire or Tonga. Please have a try with the some driver. 2. Do you have a chance to set up com port? The com port is very useful for debugging S3 issue. a. add

答复: [PATCH] drm/amdgpu/scheduler: job ibs should also be freed

2017-10-24 Thread Qu, Jim
gnore this patch. Thanks JimQu 发件人: Liu, Monk 发送时间: 2017年10月25日 11:14 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: RE: [PATCH] drm/amdgpu/scheduler: job ibs should also be freed I don't see why we need this, can you explain more

答复: [PATCH] drm/amd/powerplay: fix copy error in powerplay

2017-09-25 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Rex Zhu 发送时间: 2017年9月26日 10:35 收件人: amd-gfx@lists.freedesktop.org 抄送: Zhu, Rex 主题: [PATCH] drm/amd/powerplay: fix copy error in powerplay cause amdgpu fail to initialize on CZ/ST Change-Id: Ica0527e997

答复: [PATCH] Wait pending flip before setting new frontbuffer when resize screen

2017-08-17 Thread Qu, Jim
@lists.freedesktop.org 抄送: Qu, Jim 主题: [PATCH] Wait pending flip before setting new frontbuffer when resize screen the patch fixs the display can not light up after hotplug with DRI3 enabled, the drmmode_crtc->flip_pending records old fb address which will be freed during setting new frontbuffer,meanwh

答复: [PATCH 1/4] drm/amdgpu/gmc6: disable legacy vga features in gmc init (v2)

2017-07-25 Thread Qu, Jim
Hi Christian: Could you share your minds when you are on second glance? Thanks JimQu 发件人: amd-gfx 代表 Christian König 发送时间: 2017年7月25日 17:17 收件人: Alex Deucher; amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: [PATCH 1/4] drm/amdgpu/gmc6: dis

答复: [PATCH] drm/amdgpu/gfx: keep all compute queues on the same pipe

2017-07-12 Thread Qu, Jim
Patch Acked-by: Jim Qu Thanks JimQu 发件人: Alex Deucher 发送时间: 2017年7月12日 23:56 收件人: Andres Rodriguez 抄送: amd-gfx list; Deucher, Alexander; Qu, Jim 主题: Re: [PATCH] drm/amdgpu/gfx: keep all compute queues on the same pipe On Tue, Jul 11, 2017 at 1:23 PM

答复: [PATCH] drm/amdgpu: refine the logic in amdgpu_need_post()

2017-03-28 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2017年3月29日 0:21 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: [PATCH] drm/amdgpu: refine the logic in amdgpu_need_post() We check the mem config register to make sure

答复: [PATCH 2/2] drm/amd/amdgpu: add atomic helper to suspend/resume functions

2017-03-01 Thread Qu, Jim
人: Grodzovsky, Andrey 发送时间: 2017年3月2日 0:29 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 抄送: Wentland, Harry 主题: RE: [PATCH 2/2] drm/amd/amdgpu: add atomic helper to suspend/resume functions Hi, We in DAL as part of upstream effort also implemented switch to using S3 atomic helpers - http

答复: [PATCH] drm/amd/amdgpu: add atomit helper function into suspend/resume functions

2017-03-01 Thread Qu, Jim
Thanks to Michel. I have sent new patches, please help review. Thanks JimQu 发件人: Michel Dänzer 发送时间: 2017年3月1日 14:27 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] drm/amd/amdgpu: add atomit helper function into suspend/resume functions

CI asic S4 issue on ubuntu16.04.

2017-02-25 Thread Qu, Jim
Hi All: I am investigating a S4 issue on CI which if DC is enabled . driver will be failed in the dpm funtions. (log as bellow), but if DC is disabled , everything goes well. I also found that if driver send PPSMC_MSG_MCLKDPM_FreezeLevel message to smc could cause smc hang when set power state

答复: [PATCH xf86-video-amdgpu] Simplify drmmode_handle_uevents

2016-12-14 Thread Qu, Jim
Reviewed-by: Jim Qu Thanks JimQu 发件人: amd-gfx 代表 Michel Dänzer 发送时间: 2016年12月15日 11:47 收件人: amd-gfx@lists.freedesktop.org 主题: [PATCH xf86-video-amdgpu] Simplify drmmode_handle_uevents From: Michel Dänzer No functional change intended. Signed-off-by

答复: [PATCH] udev_monitor_receive_device() will block when hotplug monitor

2016-12-13 Thread Qu, Jim
Got it! Thanks JimQu 发件人: Michel Dänzer 发送时间: 2016年12月14日 11:03 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] udev_monitor_receive_device() will block when hotplug monitor On 13/12/16 05:33 PM, jimqu wrote: > udev_monitor_receive_dev

答复: [PATCH] udev_monitor_receive_device() will block when hotplug monitor

2016-12-13 Thread Qu, Jim
ping. Thanks JimQu 发件人: jimqu 发送时间: 2016年12月13日 16:33 收件人: amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: [PATCH] udev_monitor_receive_device() will block when hotplug monitor udev_monitor_receive_device() will block and wait for the event of udev

答复: [PATCH 1/2] drm/amdgpu: disable the VRAM manager on special placements v2

2016-11-08 Thread Qu, Jim
Reviewed-by: JimQu Thanks JimQu 发件人: amd-gfx 代表 Christian König 发送时间: 2016年11月8日 21:09 收件人: amd-gfx@lists.freedesktop.org; Qu, Jim; Zhou, David(ChunMing) 主题: Re: [PATCH 1/2] drm/amdgpu: disable the VRAM manager on special placements v2 Am 04.11.2016

答复: 答复: [PATCH 1/2] drm/amdgpu: disable the VRAM manager on special placements v2

2016-11-07 Thread Qu, Jim
Hi Christian: Could the patch for mmap splited pages be applied to ttm? if so, I can sent out the patch. Thanks JimQu 发件人: amd-gfx 代表 Christian König 发送时间: 2016年11月7日 16:12 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 主题: Re: 答复: [PATCH 1/2] drm

答复: [PATCH 1/2] drm/amdgpu: disable the VRAM manager on special placements v2

2016-11-06 Thread Qu, Jim
HI Christian: if (bo->flags & AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS || - amdgpu_vram_page_split == -1) { + place->lpfn || amdgpu_vram_page_split == -1) { pages_per_node = ~0ul; num_nodes = 1; } else { Here , checking place->lpfn , is

答复: [PATCH] drm/amdgpu: fix the issue that nodes[0] is not removed from the allocator

2016-11-01 Thread Qu, Jim
Please ignore this patch. I make a mistake. Thanks JimQu 发件人: jimqu 发送时间: 2016年11月1日 17:21 收件人: amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: [PATCH] drm/amdgpu: fix the issue that nodes[0] is not removed from the allocator Change-Id

答复: [PATCH] drm/amdgpu: fix fence slab teardown

2016-10-24 Thread Qu, Jim
I did observed the issue when replace kernel module use DKMS, and it maybe get error at reboot, got calltrace: [ 3529.525360] = [ 3529.525361] BUG amd_sched_fence (Tainted: GB OE ): Objects remai

答复: [PATCH] drm/amdgpu: avoid drm error log during S3 on RHEL7.3

2016-10-20 Thread Qu, Jim
No problem! Thanks JimQu 发件人: Christian König 发送时间: 2016年10月20日 15:50 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] drm/amdgpu: avoid drm error log during S3 on RHEL7.3 Am 20.10.2016 um 09:00 schrieb jimqu: > Change

答复: [PATCH] drm/amdgpu: atombios stuck executing during S3 stress test

2016-10-20 Thread Qu, Jim
Hi Alex: Yes, feel free to add my RB, Reviewed-by: JimQu Thanks JimQu 发件人: Alex Deucher 发送时间: 2016年10月20日 2:46 收件人: Qu, Jim 抄送: amd-gfx list 主题: Re: [PATCH] drm/amdgpu: atombios stuck executing during S3 stress test On Wed, Oct 19, 2016 at 4:25 AM

答复: [PATCH 2/2] drm/amdgpu: calc addr with domain's gpu_offset

2016-09-08 Thread Qu, Jim
Hi Flora: What is the purpose of these patches? Thanks JimQu 发件人: amd-gfx 代表 Flora Cui 发送时间: 2016年9月9日 14:30:51 收件人: amd-gfx@lists.freedesktop.org 抄送: Cui, Flora 主题: [PATCH 2/2] drm/amdgpu: calc addr with domain's gpu_offset Change-Id: I8112e9d8586610

答复: [PATCH v2] drm/amd/amdgpu: S4 issue for amdgpu

2016-09-08 Thread Qu, Jim
月7日 19:15:22 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: RE: [PATCH v2] drm/amd/amdgpu: S4 issue for amdgpu > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of jimqu > Sent: Saturday, September 03, 2016 2:57 AM >

答复: [PATCH v2] drm/amd/amdgpu: S4 issue for amdgpu

2016-09-07 Thread Qu, Jim
Thanks to guys, I will correct and push it. Thanks JimQu 发件人: amd-gfx 代表 Christian König 发送时间: 2016年9月7日 16:15:03 收件人: Shawn Starr; amd-gfx@lists.freedesktop.org 抄送: Qu, Jim 主题: Re: [PATCH v2] drm/amd/amdgpu: S4 issue for amdgpu Am 07.09.2016 um 10:08

答复: [PATCH] drm/amd/amdgpu: S4 issue for amdgpu

2016-09-02 Thread Qu, Jim
: Qu, Jim 发送时间: 2016年9月2日 9:07:26 收件人: Alex Deucher 抄送: amd-gfx list 主题: 答复: [PATCH] drm/amd/amdgpu: S4 issue for amdgpu Hi Alex: Weird, last day, I used the fiji to check the S4 issue, there are some atom errors, but it did not observed if add atombios_fini/init. today, I change another fiji and

答复: [PATCH] drm/amd/amdgpu: S4 issue for amdgpu

2016-09-01 Thread Qu, Jim
发件人: amd-gfx 代表 Alex Deucher 发送时间: 2016年9月1日 21:42:46 收件人: Qu, Jim 抄送: amd-gfx list 主题: Re: [PATCH] drm/amd/amdgpu: S4 issue for amdgpu On Thu, Sep 1, 2016 at 2:22 AM, jimqu wrote: > reset the asic if adapter is not powerdown when doing freeze() > thaw() and restore(), in or

答复: [PATCH 2/2] drm/amdgpu/vce3: add support for third vce ring

2016-08-24 Thread Qu, Jim
These series Reivewed-by: JimQu Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2016年8月25日 6:31:34 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: [PATCH 2/2] drm/amdgpu/vce3: add support for third vce ring Not of much use at the moment

答复: [PATCH 3/3] drm/amdgpu: reset the asic when hibernating v2

2016-08-23 Thread Qu, Jim
Or, we also can use PM_EVENT_ messages to separate freeze, thaw, suspend, resume, poweroff and restore. Thanks JimQu 发件人: amd-gfx 代表 Michel Dänzer 发送时间: 2016年8月24日 9:03:20 收件人: Alex Deucher 抄送: amd-gfx@lists.freedesktop.org 主题: Re: [PATCH 3/3] drm/amdg

答复: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating

2016-08-23 Thread Qu, Jim
Hi Alex: Are you working on S4 issue ? Thanks JimQu 发件人: amd-gfx 代表 Alex Deucher 发送时间: 2016年8月23日 0:05:24 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating Some blocks require a reset

答复: 答复: [PATCH] drm/amdgpu: fix the wrong value of UVD bo size

2016-08-23 Thread Qu, Jim
OK. Thanks JimQu 发件人: Christian König 发送时间: 2016年8月23日 16:53:50 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 主题: Re: 答复: [PATCH] drm/amdgpu: fix the wrong value of UVD bo size > I will update the patch. Let me do this. I already had a couple of ot

答复: [PATCH] drm/amdgpu: fix the wrong value of UVD bo size

2016-08-23 Thread Qu, Jim
Hi Christian: Yes, I have misunderstand the AMDGPU_UVD_FIRMWARE_OFFSET in amdgpu_uvd_mc_resume(). I will update the patch. Thanks JimQu 发件人: Christian König 发送时间: 2016年8月23日 16:02:11 收件人: Qu, Jim; amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] drm

答复: 答复: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating

2016-08-22 Thread Qu, Jim
人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org; Deucher, Alexander 主题: Re: 答复: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating On Tue, Aug 23, 2016 at 12:18 AM, Qu, Jim wrote: > Hi Alex: > > Are you working on S4 issue ? No, not specifically. Just seemed like a more reliable wa

答复: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating

2016-08-22 Thread Qu, Jim
Hi Alex: I remember that the freeze() is called before hibernation image is made. So is it possible that driver lost some contents when restore hibernation image. Thanks JimQu 发件人: Qu, Jim 发送时间: 2016年8月23日 12:18:59 收件人: Alex Deucher; amd-gfx

答复: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating

2016-08-22 Thread Qu, Jim
Oh.yes, I see it! Reviewed-by: JimQu Thanks JimQu 发件人: Deucher, Alexander 发送时间: 2016年8月23日 10:42:59 收件人: Qu, Jim; Zhou, David(ChunMing); Alex Deucher; amd-gfx@lists.freedesktop.org 主题: RE: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating

答复: [PATCH 1/2] drm/amdgpu: reset the asic when hibernating

2016-08-22 Thread Qu, Jim
I have a question: if driver reset the asic in freeze(), Does not need to re-init the asic in thaw()? Thanks JimQu 发件人: amd-gfx 代表 zhoucm1 发送时间: 2016年8月23日 9:52:42 收件人: Alex Deucher; amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: [PATCH

答复: [PATCH] drm/amd/amdgpu: S3 resumed failed after 4-5 times loop

2016-08-18 Thread Qu, Jim
if it is required, we can continue to optimize driver in the future. Thanks JimQu 发件人: Zhu, Rex 发送时间: 2016年8月18日 23:24:19 收件人: Christian König; Qu, Jim; amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] drm/amd/amdgpu: S3 resumed failed after 4-5 times loop

答复: 答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail

2016-08-14 Thread Qu, Jim
发件人: Michel Dänzer 发送时间: 2016年8月15日 8:44:29 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: 答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail On 13/08/16 03:56 PM, Qu, Jim wrote: > Hi Michel: > > 2. with console_trylock() > --switch VT is no problem. >

答复: 答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail

2016-08-14 Thread Qu, Jim
Hi Christian: OK, I will do it after solve VCE reset problem. Thanks JimQu 发件人: Christian König 发送时间: 2016年8月13日 16:51:49 收件人: Qu, Jim; Michel Dänzer 抄送: amd-gfx@lists.freedesktop.org 主题: Re: 答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail Michel is

答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail

2016-08-12 Thread Qu, Jim
14:54:48 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail On 10/08/16 01:39 PM, Qu, Jim wrote: > HI Michel: > > 1. So far, I not sure which one causes the console_lock() fail, maybe I > need enable kernel mutex debug feature to trace it

答复: [PATCH] drm/amd/amdgpu: S3 resume fail

2016-08-09 Thread Qu, Jim
) has side effect or not? Thanks JimQu 发件人: Michel Dänzer 发送时间: 2016年8月10日 11:28:39 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] drm/amd/amdgpu: S3 resume fail On 10/08/16 12:24 PM, Michel Dänzer wrote: > On 10/08/16 12:04 PM, jimqu wr