• Daniel Vetter's avatar
    drm/cma-helper: Fix locking in drm_fb_cma_debugfs_show · 9e75c0ef
    Daniel Vetter authored
    This function takes two locks, both of them the wrong ones. This
    wasn't an oversight from my fb locking rework since both patches
    landed in parallel. We really only need fb_lock when walking that
    list, since everything we can reach from that is refcounted properly
    already.
    
    v2: Drop unused dev spotted by 0day.
    
    Cc: Rob Clark <robdclark@gmail.com>
    Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    9e75c0ef
drm_gem_cma_helper.c 15.4 KB