diff options
| author | José Roberto de Souza <[email protected]> | 2018-04-18 16:41:58 -0700 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2018-04-24 17:11:13 +0300 |
| commit | df9e6521749ab33cde306e8a4350b0ac7889220a (patch) | |
| tree | 392a01da9981d88e9bb4dfffd308b7f2b8186a16 /tools/perf/scripts/python/stat-cpi.py | |
| parent | aaab22bcd157a0d081d3a747475fb26f4c549157 (diff) | |
drm/i915/fbdev: Enable late fbdev initial configuration
If the initial fbdev configuration (intel_fbdev_initial_config()) runs
and there still no sink connected it will cause
drm_fb_helper_initial_config() to return 0 as no error happened (but
internally the return is -EAGAIN). Because no framebuffer was
allocated, when a sink is connected intel_fbdev_output_poll_changed()
will not execute drm_fb_helper_hotplug_event() that would trigger
another try to do the initial fbdev configuration.
So here allowing drm_fb_helper_hotplug_event() to be executed when there
is no framebuffer allocated and fbdev was not set up yet.
This issue also happens when a MST DP sink is connected since boot, as
the MST topology is discovered in parallel if
intel_fbdev_initial_config() is executed before the first sink MST is
discovered it will cause this same issue.
This is a follow-up patch of
https://patchwork.freedesktop.org/patch/196089/
Changes from v1:
- not creating a dump framebuffer anymore, instead just allowing
drm_fb_helper_hotplug_event() to execute when fbdev is not setup yet.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104158
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104425
Cc: Rodrigo Vivi <[email protected]>
Cc: [email protected] # v4.15+
Signed-off-by: Chris Wilson <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Tested-by: Paul Menzel <[email protected]>
Tested-by: frederik <[email protected]> # 4.15.17
Tested-by: Ian Pilcher <[email protected]>
Acked-by: Chris Wilson <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions