diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-27 13:25:11 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-27 13:25:11 +0100 |
| commit | fed738703be77b2ff979335d0a8dab4efb59bc64 (patch) | |
| tree | c107a9507433e06ffc231a847cdf3e6ce1b09fec /drivers/gpu/drm | |
| parent | 1432683838d9122c62bf4a0fa139fcf26968911e (diff) | |
| parent | 5bff6e212ff5715e86f51c6038ec5b1548f0d8a3 (diff) | |
| download | linux-next-fed738703be77b2ff979335d0a8dab4efb59bc64.tar.gz linux-next-fed738703be77b2ff979335d0a8dab4efb59bc64.zip | |
Merge branch 'mm-nonmm-unstable' of https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Diffstat (limited to 'drivers/gpu/drm')
| -rw-r--r-- | drivers/gpu/drm/drm_modeset_lock.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_modeset_lock.c b/drivers/gpu/drm/drm_modeset_lock.c index 2c806b0146d6..e14814c30d8c 100644 --- a/drivers/gpu/drm/drm_modeset_lock.c +++ b/drivers/gpu/drm/drm_modeset_lock.c @@ -149,11 +149,7 @@ void drm_modeset_lock_all(struct drm_device *dev) int ret; ctx = kzalloc_obj(*ctx, GFP_KERNEL | __GFP_NOFAIL); - if (WARN_ON(!ctx)) - return; - mutex_lock(&config->mutex); - drm_modeset_acquire_init(ctx, 0); retry: |
