aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-06-01 13:25:17 +0200
committerThomas Zimmermann <[email protected]>2022-06-07 09:39:54 +0200
commitb62d943e9686e791dd39f8bde302fc27446cdca9 (patch)
treedc05ebabd25938439ebab8d913acc86eabd772d7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentd45e32c9d98ce7c22a4bafe69cee58165b59533b (diff)
drm/mgag200: Implement new init logic
Rework mgag200_regs_init() and mgag200_mm_init() into device preinit and init functions. The preinit function, mgag200_device_preinit(), requests and maps a device's I/O and video memory. The init function, mgag200_device_init() initializes the state of struct mga_device. Splitting the initialization between the two functions is necessary to perform per-model operations between the two calls, such as reading the unique revision ID on G200SEs. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Tested-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions