diff options
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/intel_display.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c index 3ff9f822..a81cfe69 100644 --- a/linux-core/intel_display.c +++ b/linux-core/intel_display.c @@ -1207,6 +1207,12 @@ void intel_modeset_init(struct drm_device *dev) dev->mode_config.max_width = 4096; dev->mode_config.max_height = 4096; + /* set memory base */ + if (IS_I9XX(dev)) + dev->mode_config.fb_base = pci_resource_start(dev->pdev, 2); + else + dev->mode_config.fb_base = pci_resource_start(dev->pdev, 0); + if (IS_MOBILE(dev) || IS_I9XX(dev)) num_pipe = 2; else |