-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/mgag200: Initialize each model in separate function
Add a separate initializer function for each model. Add separate devic structures for G200 and G200SE, which require additional information. Also move G200's and G200SE's helpers for reading the BIOS and version id into model-specific code. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Tested-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220601112522.5774-3-tzimmermann@suse.de
- Loading branch information
Thomas Zimmermann
committed
Jun 7, 2022
1 parent
73f54d5
commit 85397f6
Showing
13 changed files
with
603 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
mgag200-y := mgag200_drv.o mgag200_i2c.o mgag200_mm.o mgag200_mode.o mgag200_pll.o | ||
mgag200-y := \ | ||
mgag200_drv.o \ | ||
mgag200_g200.o \ | ||
mgag200_g200eh.o \ | ||
mgag200_g200eh3.o \ | ||
mgag200_g200er.o \ | ||
mgag200_g200ev.o \ | ||
mgag200_g200ew3.o \ | ||
mgag200_g200se.o \ | ||
mgag200_g200wb.o \ | ||
mgag200_i2c.o \ | ||
mgag200_mm.o \ | ||
mgag200_mode.o \ | ||
mgag200_pll.o | ||
|
||
obj-$(CONFIG_DRM_MGAG200) += mgag200.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.