• Rob Clark's avatar
    drm/msm: extend the submit ioctl to pass in flags · d9c181e2
    Rob Clark authored
    We'll want to be able to pass in flags, such as asking for explicit
    fencing, and possibly other things down the road.  Fortunately we
    don't need a full 32b for the pipe-id.  So use the upper 16 bits
    for flags (which could be extended or reduced later if needed, so
    start adding flags from the high bits).
    
    Since anything with the upper bits set would not be a valid pipe-id,
    an old userspace would not set any of the upper bits, and an old
    kernel would reject it as an invalid pipe-id.
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    d9c181e2
msm_gem_submit.c 10.9 KB