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
Showing
- drivers/gpu/drm/mgag200/mgag200_drv.c 13 additions, 6 deletionsdrivers/gpu/drm/mgag200/mgag200_drv.c
- drivers/gpu/drm/mgag200/mgag200_drv.h 6 additions, 2 deletionsdrivers/gpu/drm/mgag200/mgag200_drv.h
- drivers/gpu/drm/mgag200/mgag200_mode.c 11 additions, 7 deletionsdrivers/gpu/drm/mgag200/mgag200_mode.c
Loading
Please register or sign in to comment