mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 17:00:12 +01:00
the old init path needs to set WAGP_ENABLE by default
This commit is contained in:
parent
4b3ee6c50e
commit
727e88c4f4
1 changed files with 3 additions and 0 deletions
|
|
@ -814,6 +814,9 @@ static int mga_do_init_dma(drm_device_t * dev, drm_mga_init_t * init)
|
|||
}
|
||||
|
||||
if (! dev_priv->used_new_dma_init) {
|
||||
|
||||
dev_priv->wagp_enable = MGA_WAGP_ENABLE;
|
||||
|
||||
dev_priv->status = drm_core_findmap(dev, init->status_offset);
|
||||
if (!dev_priv->status) {
|
||||
DRM_ERROR("failed to find status page!\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue