http://bugs.freedesktop.org/show_bug.cgi?id=11895





------- Comment #5 from [EMAIL PROTECTED]  2007-08-08 23:41 PST -------
seems following commit bring this issue in:

commit d749cc9ae8c50157a1588369222a591410002c26
Author: Eric Anholt <[EMAIL PROTECTED]>
Date:   Mon Aug 6 15:45:37 2007 -0700

    Initialize the AGP structure's base address at init rather than enable.

    Not all drivers call enable (intel), but they would still like to use this
    member in driver code.


index 4618823..df54360 100644
--- a/linux-core/drm_agpsupport.c
+++ b/linux-core/drm_agpsupport.c
@@ -183,6 +183,7 @@ int drm_agp_enable(struct drm_device *dev, struct
drm_agp_mo
 #else
        agp_enable(dev->agp->bridge, mode.mode);
 #endif
+       dev->agp->base = dev->agp->agp_info.aper_base;
        dev->agp->enabled = 1;
        return 0;
 }
@@ -440,7 +441,6 @@ struct drm_agp_head *drm_agp_init(struct drm_device *dev)
        INIT_LIST_HEAD(&head->memory);
        head->cant_use_aperture = head->agp_info.cant_use_aperture;
        head->page_mask = head->agp_info.page_mask;
-       head->base = head->agp_info.aper_base;
        return head;
 }


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to