]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4868b6ef18f0d8b3e72b3647be867d251f58cf53
tree3c059e0d6547b0b52a0114e2fc8c2d2c16fc12f4
parent1959c05cbba6081dedf01580b9c4701229c985cc
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