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)
commit429e1fc1b2c257f35b6a1318eb3a1ffb80bc6640
tree33e9c5bf8312974f5d735e861ec1e18b22d0a9a6
parentb499914eb83765a27e3b43f216e9d1bdf4265418
drm/i915/gem: Make drop_pages() return bool

Commit e4e806253003 ("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