diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-30 12:28:38 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-08-03 09:42:11 +0200 |
| commit | 42452165dc7777e144f8a8550f5fcf484597715d (patch) | |
| tree | 015c69ac5443c22c870e76e934a02696ae90e9dd /include/linux/timerqueue.h | |
| parent | 0b34d58b6c321a30b5a97ec6c9a71e6f472827d2 (diff) | |
| download | cachepc-linux-42452165dc7777e144f8a8550f5fcf484597715d.tar.gz cachepc-linux-42452165dc7777e144f8a8550f5fcf484597715d.zip | |
drm/mgag200: Move register initialization into helper function
The mgag200 driver maps registers into the address space. Move the
code into a separate helper function. No functional changes.
One small difference is in the handling of SDRAM/SGRAM. MGA devices
can come with either SDRAM or SGRAM. So far, the driver checked for
SDRAM, which is the common case. The patch moves this code into a
separate helper and checks for SGRAM, which is the special case. The
test itself is the same as before.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200730102844.10995-3-tzimmermann@suse.de
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
