RE: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco reset

2019-05-22 Thread Deng, Emily
ect: Re: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco >reset > >[CAUTION: External Email] > >On Wed, May 22, 2019 at 11:48 PM Alex Deucher >wrote: >> >> On Wed, May 22, 2019 at 11:27 PM Emily Deng >wrote: >> > >> >> Please include

RE: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco reset

2019-05-22 Thread Deng, Emily
the patch to the drm-next. Best wishes Emily Deng >-Original Message- >From: Quan, Evan >Sent: Thursday, May 23, 2019 11:46 AM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Cc: Deng, Emily >Subject: RE: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco >r

Re: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco reset

2019-05-22 Thread Alex Deucher
On Wed, May 22, 2019 at 11:48 PM Alex Deucher wrote: > > On Wed, May 22, 2019 at 11:27 PM Emily Deng wrote: > > > > Please include a patch description. > > > Signed-off-by: Emily Deng > > --- > > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 +- > >

Re: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco reset

2019-05-22 Thread Alex Deucher
On Wed, May 22, 2019 at 11:27 PM Emily Deng wrote: > Please include a patch description. > Signed-off-by: Emily Deng > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 +- > drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 + >

RE: [PATCH v2] drm/amdgpu: Need to set the baco cap before baco reset

2019-05-22 Thread Quan, Evan
I would actually expect the followings if (!amdgpu_sriov_vf(adev) && amdgpu_asic_need_reset_on_init(adev)) { --> no touch for this +if (amdgpu_passthrough(adev) && adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->set_asic_baco_cap) { + r =