drm: support up to 128 drm devices
Subsystems (2)
PATCH 1/1 drm: support up to 128 drm devices
From: Christian König <[email protected]>
This makes room for up to 128 DRM devices.
Signed-off-by Christian König <[email protected]>
Signed-off-by James Zhu <[email protected]>
--- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_drv.c +1 -1
@@ -137,7 +137,7 @@ static int drm_minor_alloc(struct drm_device *dev, unsigned int type) r =idr_alloc (&drm_minors_idr,NULL ,64 * type, -64 * (type +1 ), +64 * (type +2 ),GFP_NOWAIT );spin_unlock_irqrestore (&drm_minor_lock, flags); }
Signature · 1 line
2.34.1