drm/msm: add max-freq gpu param to uapi
authorRob Clark <robdclark@gmail.com>
Tue, 9 Feb 2016 17:05:30 +0000 (12:05 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Feb 2016 20:25:54 +0000 (06:25 +1000)
commit4102a9e5325941223fbfa0a56175e9efb3d4385a
tree3160d8a86b770f5d6495fe517fe5940fdf5a8b78
parent10c1b6183a163aca59ba92b88f2b4c4cecd20d4c
drm/msm: add max-freq gpu param to uapi

We need this in userspace for interpreting some of the perf ctrs.

Note possibly not quite sufficient if we had some frequency mgmt
approach other than race-to-idle.  Not really sure what the best
thing to do if we did.  Although displaying results as a percentage
of max frequence seems sensible(ish) if we did.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
include/uapi/drm/msm_drm.h