projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
881ee98
)
i915: Clean up sarea pointers on leavevt
author
Keith Packard
<
[email protected]
>
Mon, 3 Nov 2008 07:38:20 +0000
(23:38 -0800)
committer
Dave Airlie
<
[email protected]
>
Tue, 11 Nov 2008 07:43:14 +0000
(17:43 +1000)
This corresponds to the setup of the sarea pointers in DMA initialization,
though neither is exactly the point at which the sarea is set up or torn down.
Signed-off-by: Keith Packard <
[email protected]
>
Signed-off-by: Eric Anholt <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/i915/i915_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_dma.c
b/drivers/gpu/drm/i915/i915_dma.c
index 256e22963ae4d3949c9384aaec1921195d878ee6..79944460d70a0b93b0a8342e0729766399eb7bb1 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_dma.c
+++ b/
drivers/gpu/drm/i915/i915_dma.c
@@
-154,6
+154,9
@@
static int i915_dma_cleanup(struct drm_device * dev)
if (I915_NEED_GFX_HWS(dev))
i915_free_hws(dev);
+ dev_priv->sarea = NULL;
+ dev_priv->sarea_priv = NULL;
+
return 0;
}