drm/mgag200: Add module parameter to pin all buffers at offset 0
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 26 Nov 2019 10:19:50 +0000 (11:19 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Jan 2020 10:53:19 +0000 (11:53 +0100)
commit3cacb2086e41bbdf4a43e494d47d05db356992b9
treee695c0fe603c505255198488b35b986f8c856e6b
parent0fb5f69e19643569b6d42ce437a830e95555f1e5
drm/mgag200: Add module parameter to pin all buffers at offset 0

For hardware that does not interpret the startadd field correctly,
add the module parameter 'hw_bug_no_startadd', which enables the
workaround.

v3:
* style and typo fixes
v2:
* ask user for feedback if the option is active

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: John Donnelly <john.p.donnelly@oracle.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191126101950.11989-1-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.c