diff options
| author | David Lechner <[email protected]> | 2017-08-03 11:19:08 -0500 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-08-03 19:48:15 +0200 |
| commit | f461bd2b494bdf27ed7f9ea03101f7119ed7c695 (patch) | |
| tree | 8dae2ed953a5a22e092a76d70c39bb3855a7cfab /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f3a73544da732e28368ce12d6682ff8531824aaa (diff) | |
drm/fb-helper: add new drm_setup_crtcs_fb() function
This adds a new drm_setup_crtcs_fb() function to handle the parts of
drm_setup_crtcs() that touch fb_helper->fb and fb_helper->fbdev. When
drm_setup_crtcs() is called during initialization, these fields are NULL
because they have not been allocated yet.
There is currently a hack at the end of drm_fb_helper_single_fb_probe()
that sets fb_helper->fb, so it is moved to the new drm_setup_crtcs_fb()
function.
This is also done in preparation for addition setup that requires access
to fb_helper->fbdev.
Signed-off-by: David Lechner <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions