aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2020-07-30 12:28:39 +0200
committerThomas Zimmermann <[email protected]>2020-08-03 09:42:19 +0200
commit2021708e0d6eed7b5a8bd11071ae1ac40df6c060 (patch)
tree6cea610320bc9eba23e8f38bb1dfb10b411fbf1e /tools/perf/scripts/python
parent42452165dc7777e144f8a8550f5fcf484597715d (diff)
drm/mgag200: Initialize PCI registers early during device setup
So far, PCI option registers were initialized as part of modesetting, which is late in the process. As these registers control fundamental operation, they should be set early. The patch moves the PCI option handling into device register setup, before even the device MMIO memory is being mapped. No functional changes made. Moving the PCI code next to the device-register setup also allows to remove the has_sdram field from struct mga_device. The state is now local to the init helper. 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