]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Make drop_pages() return bool
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 3 May 2022 06:15:56 +0000 (23:15 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 10 May 2022 16:39:15 +0000 (09:39 -0700)
commitc7d9138755a047dc8ef307b9d58ac97bc4fb7eff
tree33e9c5bf8312974f5d735e861ec1e18b22d0a9a6
parente986bda2fd7e3e0eaa63de6d775d6fc91b2aef16
drm/i915/gem: Make drop_pages() return bool

Commit 71676245eae2 ("drm/i915: Change shrink ordering to use locking
around unbinding.") changed the return type to int without changing the
return values or their meaning to "0 is success". Move it back to
boolean.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220503061556.513175-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c