• Rob Clark's avatar
    drm/msm: add timestamp param · 6c77d1ab
    Rob Clark authored
    We need this for GL_TIMESTAMP queries.
    
    Note: currently only supported on a4xx.. a3xx doesn't have this
    always-on counter.  I think we could emulate it with the one CP
    counter that is available, but for now it is of limited usefulness
    on a3xx (since we can't seem to do time-elapsed queries in any sane
    way with the existing firmware on a3xx, and if you are trying to do
    profiling on a tiler you want time-elapsed).  We can add that later
    if it becomes useful.
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    6c77d1ab
adreno_gpu.c 12 KB