|
@@ -79,7 +79,7 @@ int via_final_context(struct drm_device *dev, int context)
|
|
|
|
|
|
/* Linux specific until context tracking code gets ported to BSD */
|
|
/* Linux specific until context tracking code gets ported to BSD */
|
|
/* Last context, perform cleanup */
|
|
/* Last context, perform cleanup */
|
|
- if (list_is_singular(&dev->ctxlist) && dev->dev_private) {
|
|
|
|
|
|
+ if (list_is_singular(&dev->ctxlist)) {
|
|
DRM_DEBUG("Last Context\n");
|
|
DRM_DEBUG("Last Context\n");
|
|
drm_irq_uninstall(dev);
|
|
drm_irq_uninstall(dev);
|
|
via_cleanup_futex(dev_priv);
|
|
via_cleanup_futex(dev_priv);
|