aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2020-07-30 12:28:38 +0200
committerThomas Zimmermann <[email protected]>2020-08-03 09:42:11 +0200
commit42452165dc7777e144f8a8550f5fcf484597715d (patch)
tree015c69ac5443c22c870e76e934a02696ae90e9dd /tools/perf/scripts/python
parent0b34d58b6c321a30b5a97ec6c9a71e6f472827d2 (diff)
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 <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions