Thanks Andy, The attached patch can fix this bug. Please review. Best Regards Rex -----Original Message----- From: Andy Furniss [mailto:adf.lists@gmail.com] Sent: Monday, January 09, 2017 4:18 AM To: Alex Deucher; Zhu, Rex Cc: amd-gfx list Subject: Re: [PATCH 4/4] drm/amd/powerplay: add profiling mode in dpm level Alex Deucher wrote: > On Fri, Dec 23, 2016 at 3:45 AM, Rex Zhu wrote: >> Change-Id: I4a46440882cd94fe5e77e3f351aaccc218a2ece5 > > Patches 1-3: > Reviewed-by: Alex Deucher > > patch 4: > Please add a better patch description and explain what profiling mode > is good for, etc. This on drm-next-4.10-wip regresses setting profile a bit on R9285. It works eg. if in auto then doing echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level is OK and echo auto > ... is also OK. The issue if I am in auto and echo auto > .... then I don't get my prompt back. echo high from elsewhere will make it return - but it doesn't set high.