• Rob Clark's avatar
    drm/msm: avoid flood of kernel logs on faults · 6814dbf9
    Rob Clark authored
    87e956e9 changed the fault handler to return -ENOSYS, which causes the
    iommu driver to print out a huge splat.  Which wouldn't be quite so bad
    if nothing ever faulted.  But seems like some EXA composite operations
    generate quite a lot of (seemingly harmless) faults.  That is probably a
    userspace problem, but the huge increase in verbosity from iommu fault
    dumps makes things kind of unusable.
    
    We probably should actually log *some* message (not conditional on
    drm.debug).  But ratelimit it.
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    6814dbf9
msm_iommu.c 3.36 KB