diff options
author | Nirmoy Das <nirmoy.das@intel.com> | 2022-09-20 19:06:28 +0200 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-09-21 10:45:08 +0100 |
commit | fb7818989976317cc2e78008aa2df7b9fe423c86 (patch) | |
tree | 90bd1aa5a6c3f01a389d0806dd37e91f5caf2e3d /drivers/usb/cdns3/cdns3-debug.h | |
parent | 0d2d201095e9f141d6a9fb44320afce761f8b5c2 (diff) |
drm/i915: Do not cleanup obj with NULL bo->resource
For delayed BO release i915_ttm_delete_mem_notify()
gets called twice, once with proper bo->resource and
another time with NULL. We shouldn't do anything for
the 2nd time as we already cleaned up the obj once.
References: https://gitlab.freedesktop.org/drm/intel/-/issues/6850
Fixes: ad74457a6b5a96 ("drm/i915/dgfx: Release mmap on rpm suspend")
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220920170628.3391-1-nirmoy.das@intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions