summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-10-03 17:57:31 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-10-09 21:02:19 +0300
commit1d1e4ded216017f8febd91332ee337f0e0e79285 (patch)
tree6bf6076eada3471575d1c489c8ddcf29acf04d82 /tools/perf/scripts/python/bin
parenteb4d490729a5fd8dc5a76d334f8d01fec7c14bbe (diff)
downloadlinux-1d1e4ded216017f8febd91332ee337f0e0e79285.tar.gz
linux-1d1e4ded216017f8febd91332ee337f0e0e79285.zip
drm/i915/fb: Fix the set_tiling vs. addfb race, again
intel_frontbuffer_get() is what locks out subsequent set_tiling changes to the bo. Thus the fence vs. modifier check must be done after intel_frontbuffer_get(), or else a concurrent set_tiling ioctl might sneak in and change the fence after the check has been done. Close the race again. See commit dd689287b977 ("drm/i915: Prevent concurrent tiling/framebuffer modifications") for the previous instance. v2: Reorder intel_user_framebuffer_destroy() to match the unwind (Jani) Cc: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Fixes: 10690b8a49bc ("drm/i915/display: Add intel_fb_bo_framebuffer_fini") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20251003145734.7634-3-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions