]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/gpu/drm/drm_auth.c
drm/i915/skl: drop workarounds for F0 revision
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / drm_auth.c
index 4153e8a193af39c01d6ff20326818d052cef4287..6b143514a5668a7c401f4c87194e0764ec05a893 100644 (file)
@@ -251,7 +251,7 @@ void drm_master_release(struct drm_file *file_priv)
        if (!drm_is_current_master(file_priv))
                goto out;
 
-       if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
+       if (drm_core_check_feature(dev, DRIVER_LEGACY)) {
                /*
                 * Since the master is disappearing, so is the
                 * possibility to lock.