drm/mgag200: Added resolution and bandwidth limits for various G200e products.
At the larger resolutions, the g200e series sometimes struggles with maintaining a proper output. Problems like flickering or black bands appearing on screen can occur. In order to avoid this, limitations regarding resolutions and bandwidth have been added for the different variations of the g200e series. This code was ported from the old xorg mga driver. Signed-off-by: Julia Lemire <jlemire@matrox.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
433555031e
commit
abbee62387
@@ -176,7 +176,7 @@ static int mgag200_device_init(struct drm_device *dev,
|
||||
|
||||
/* stash G200 SE model number for later use */
|
||||
if (IS_G200_SE(mdev))
|
||||
mdev->reg_1e24 = RREG32(0x1e24);
|
||||
mdev->unique_rev_id = RREG32(0x1e24);
|
||||
|
||||
ret = mga_vram_init(mdev);
|
||||
if (ret)
|
||||
|
Reference in New Issue
Block a user