summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_gem.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-04-11 16:11:32 +0100
committerMark Brown <broonie@kernel.org>2023-04-11 16:11:32 +0100
commit53e59b5c4645236f0014d3cc5c24bc71ad3f6120 (patch)
tree64c6005d6ffd496454fffb05b584ffb7011e12b4 /include/drm/drm_gem.h
parent60bbee7db43b97bf8c0978cc91f78d1746351871 (diff)
parenta27e71a66ee0f887fefcc31b85a804b0905fa865 (diff)
downloadlinux-53e59b5c4645236f0014d3cc5c24bc71ad3f6120.tar.gz
linux-53e59b5c4645236f0014d3cc5c24bc71ad3f6120.tar.bz2
linux-53e59b5c4645236f0014d3cc5c24bc71ad3f6120.zip
Add support for Rockchip RK860X regulators
Merge series from Cristian Ciocaltea <cristian.ciocaltea@collabora.com>: This patch series introduces support for the Rockchip RK860X regulators, while also providing a few fixes and improvements to the existing fan53555 driver. RK8600/RK8601 are quite similar to the FAN53555 regulators. RK8602/RK8603 are a bit different, having a wider output voltage selection range, from 0.5 V to 1.5 V in 6.25 mV steps. They are used in the Rock 5B board to power the ARM Cortex-A76 cores and the NPU.
Diffstat (limited to 'include/drm/drm_gem.h')
-rw-r--r--include/drm/drm_gem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h
index 772a4adf5287..f1f00fc2dba6 100644
--- a/include/drm/drm_gem.h
+++ b/include/drm/drm_gem.h
@@ -476,7 +476,9 @@ int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
void drm_gem_lru_init(struct drm_gem_lru *lru, struct mutex *lock);
void drm_gem_lru_remove(struct drm_gem_object *obj);
void drm_gem_lru_move_tail(struct drm_gem_lru *lru, struct drm_gem_object *obj);
-unsigned long drm_gem_lru_scan(struct drm_gem_lru *lru, unsigned nr_to_scan,
+unsigned long drm_gem_lru_scan(struct drm_gem_lru *lru,
+ unsigned int nr_to_scan,
+ unsigned long *remaining,
bool (*shrink)(struct drm_gem_object *obj));
#endif /* __DRM_GEM_H__ */