]> 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)
commit5cc54b9fa2448250381556cbf0f01336c96a862d
tree3160d8a86b770f5d6495fe517fe5940fdf5a8b78
parentbead1afbb760065b5eb0282d3911566b41ebe32a
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