[Freedreno] [PATCH v3 3/4] drm/msm: re-factor devfreq code

2018-08-30 Thread Sharat Masetty
The devfreq framework requires the drivers to provide busy time estimations. The GPU driver relies on the hardware performance counteres for the busy time estimations, but different hardware revisions have counters which can be sourced from different clocks. So the busy time estimation will be targ

[Freedreno] [PATCH v3 3/4] drm/msm: re-factor devfreq code

2018-05-31 Thread Sharat Masetty
devfreq framework requires the drivers to provide busy time estimations. The GPU driver relies on the hardware performance counters for the busy time estimations, but different hardware revisions have counters which can be sourced from different clocks. So the busy time estimation will be target de