RE: [PATCH v2 6/7] drm/amdgpu: Make gfx_off control by GFX ip

2018-06-19 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Wednesday, June 13, 2018 7:37 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH v2 6/7] drm/amdgpu: Make g

[PATCH v2 6/7] drm/amdgpu: Make gfx_off control by GFX ip

2018-06-13 Thread Rex Zhu
gfx off should be controlled by GFX IP. Powerplay only export interface to gfx ip. This logic is same as uvd/vce cg/pg. 1. Delete the gfx pg/off ctrl code in pp_set_powergating_state this ip function is for smu pg enablement. 2. call set_powergating_by_smu to enable/disalbe power off feature.