RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-17 Thread Zeng, Oak
:50 PM To: amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Quan, Evan Subject: RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons + Felix -Original Message- From: Kim, Jonathan Sent: Wednesday, October 16, 2019 8:49 PM To: amd-gfx@lists.freedesktop.org Cc: felix.keuhl

RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-17 Thread Kim, Jonathan
Kuehling, Felix ; Quan, Evan >> ; Kim, Jonathan ; Kim, >> Jonathan >> Subject: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons >> >> read or writes to df registers when gpu df is in c-states will result >> in hang. df c-states should be disabled

Re: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-17 Thread Yang, Philip
; Kim, Jonathan ; Kim, >> Jonathan >> Subject: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons >> >> read or writes to df registers when gpu df is in c-states will result in >> hang. df c-states should be disabled prior to read or writes then >> re-ena

RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-16 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: Kim, Jonathan > Sent: 2019年10月17日 10:06 > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Quan, Evan > ; Kim, Jonathan ; Kim, > Jonathan > Subject: [PATCH] drm/amdgpu: disable c-states on xgmi perfmon

RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-16 Thread Kim, Jonathan
Thanks Evan. Resent with fixes. -Original Message- From: Quan, Evan Sent: Wednesday, October 16, 2019 9:34 PM To: Kim, Jonathan ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix Subject: RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons Hi Jonathan, At default, vega20

[PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-16 Thread Kim, Jonathan
read or writes to df registers when gpu df is in c-states will result in hang. df c-states should be disabled prior to read or writes then re-enabled after read or writes. v2: use old powerplay routines for vega20 Change-Id: I6d5a83e4fe13e29c73dfb03a94fe7c611e867fec Signed-off-by: Jonathan Kim

RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-16 Thread Quan, Evan
esktop.org > Cc: Kuehling, Felix ; Quan, Evan > > Subject: RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons > > + Felix > > -Original Message- > From: Kim, Jonathan > Sent: Wednesday, October 16, 2019 8:49 PM > To: amd-gfx@lists.freedesktop.org > Cc: fel

RE: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-16 Thread Kim, Jonathan
+ Felix -Original Message- From: Kim, Jonathan Sent: Wednesday, October 16, 2019 8:49 PM To: amd-gfx@lists.freedesktop.org Cc: felix.keuhl...@amd.com; Quan, Evan ; Kim, Jonathan ; Kim, Jonathan Subject: [PATCH] drm/amdgpu: disable c-states on xgmi perfmons read or writes to df

[PATCH] drm/amdgpu: disable c-states on xgmi perfmons

2019-10-16 Thread Kim, Jonathan
read or writes to df registers when gpu df is in c-states will result in hang. df c-states should be disabled prior to read or writes then re-enabled after read or writes. Change-Id: I6d5a83e4fe13e29c73dfb03a94fe7c611e867fec Signed-off-by: Jonathan Kim --- drivers/gpu/drm/amd/amdgpu/df_v3_6.c |