]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf04c1a72e308b9f11c7c0e0d5ca25d68dfeacde8
tree3160d8a86b770f5d6495fe517fe5940fdf5a8b78
parent947ca4dc25d14438602c5ed2f2e49d7621441d33
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