mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: drm/i915: Fix copy'n'pasteo that broke VT switch if flushing was non-empty.
This commit is contained in:
commit
d9d060a98f
1 changed files with 1 additions and 1 deletions
|
@ -2314,7 +2314,7 @@ i915_gem_idle(struct drm_device *dev)
|
|||
while (!list_empty(&dev_priv->mm.flushing_list)) {
|
||||
struct drm_i915_gem_object *obj_priv;
|
||||
|
||||
obj_priv = list_first_entry(&dev_priv->mm.active_list,
|
||||
obj_priv = list_first_entry(&dev_priv->mm.flushing_list,
|
||||
struct drm_i915_gem_object,
|
||||
list);
|
||||
obj_priv->obj->write_domain &= ~I915_GEM_GPU_DOMAINS;
|
||||
|
|
Loading…
Reference in a new issue