drm/mgag200: Move G200SE's unique id into model-specific data
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 30 Jul 2020 10:28:43 +0000 (12:28 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 Aug 2020 07:42:52 +0000 (09:42 +0200)
commitfb18825fa0380b7ee913925996b2d3477d57628c
tree3c059e0d6547b0b52a0114e2fc8c2d2c16fc12f4
parent9053cad2f0935d3614b49926de571c677fa38528
drm/mgag200: Move G200SE's unique id into model-specific data

The unique revision id is only useful for G200SE devices. Store the
value in model-specific data within struct mga_device. While at it,
the patch also adds an init helper for the value.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200730102844.10995-8-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.c
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_mode.c