mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
drm/i915 disallow physical batchbuffers for KMS
Even the horrible gen3 XvMC code has learned to do this right by the time xf86-video-intel releases learned to do kernel modesetting. So we can just disallow this. Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
8781342df7
commit
53ca26cab8
@ -3567,7 +3567,8 @@ int i915_gem_init(struct drm_device *dev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Allow hardware batchbuffers unless told otherwise. */
|
||||
/* Allow hardware batchbuffers unless told otherwise, but not for KMS. */
|
||||
if (!drm_core_check_feature(dev, DRIVER_MODESET))
|
||||
dev_priv->dri1.allow_batchbuffer = 1;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user