]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Warn once if trying to set start address on broken hardware.
authorJocelyn Falempe <jfalempe@redhat.com>
Wed, 4 May 2022 13:40:26 +0000 (15:40 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Thu, 12 May 2022 13:15:24 +0000 (15:15 +0200)
commit298ff33715af90978fe97ea2dde4ccf6fdd8d692
treef78787532f1af0b9b0c70b19a977e93aa0300867
parent3a9263282993e5009c6fbdde3c3c5e36e6690680
drm/mgag200: Warn once if trying to set start address on broken hardware.

Some MGA200 hardware is broken and can't use a start address > 0.

v2: Warn if startaddr is not 0, and hw doesn't support it.
  (instead of removing MGAG200_FLAG_HW_BUG_NO_STARTADD)

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504134026.283417-4-jfalempe@redhat.com
drivers/gpu/drm/mgag200/mgag200_mode.c