diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-02 13:50:26 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-07 11:11:55 +0200 |
commit | 6bb18c9be6d256d7e8e24e7a676df2e2fd72522c (patch) | |
tree | 73a1d472ab406386cabeeaa00e1391ab866ed4bc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3e9d787371eaa842682bf4fc86ae9475548d9cee (diff) |
drm/ast: Init cursors before creating modesetting structures
The cursor helpers reserve buffer objects in VRAM and update their
content. So although tied to modesetting, cursor helpers are more
of a memory manager. The modesetting's cursor plane requires this
functionality, so initialize cursors before modesetting.
While at it, also add an error check for ast_cursor_init().
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702115029.5281-12-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions