kernel_optimize_test/drivers/gpu/drm/mgag200
Thomas Zimmermann 1591fadf85 drm/mgag200: Add workaround for HW that does not support 'startadd'
There's at least one system that does not interpret the value of
the device's 'startadd' field correctly, which leads to incorrectly
displayed scanout buffers. Always placing the active scanout buffer
at offset 0 works around the problem.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reported-by: John Donnelly <john.p.donnelly@oracle.com>
Tested-by: John Donnelly <john.p.donnelly@oracle.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: 81da87f63a ("drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin")
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: "Y.C. Chen" <yc_chen@aspeedtech.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "José Roberto de Souza" <jose.souza@intel.com>
Cc: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v5.3+
Link: https://gitlab.freedesktop.org/drm/misc/issues/7
Link: https://patchwork.freedesktop.org/patch/msgid/20191126101529.20356-4-tzimmermann@suse.de
2019-11-27 08:11:11 +01:00
..
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/mgag200: Replace struct mga_fbdev with generic framebuffer emulation 2019-07-09 10:25:47 +02:00
mgag200_cursor.c drm/mgag200: Allocate cursor BOs at high end of video memory 2019-10-04 10:01:12 +02:00
mgag200_drv.c drm/mgag200: Add workaround for HW that does not support 'startadd' 2019-11-27 08:11:11 +01:00
mgag200_drv.h drm/mgag200: Add workaround for HW that does not support 'startadd' 2019-11-27 08:11:11 +01:00
mgag200_i2c.c drm/mgag200: drop use of drmP.h 2019-06-30 09:58:08 +02:00
mgag200_main.c drm/mgag200: Store flags from PCI driver data in device structure 2019-11-27 08:11:02 +01:00
mgag200_mode.c drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00
mgag200_reg.h
mgag200_ttm.c drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00