diff options
| author | Manasi Navare <[email protected]> | 2019-12-11 13:24:33 -0800 |
|---|---|---|
| committer | Manasi Navare <[email protected]> | 2019-12-29 23:55:23 -0800 |
| commit | cf1d0180f5713f4bc113a8a56aa964e9d1fe3cf4 (patch) | |
| tree | fba16bd09cc9482bfd09438564cf2ba62bd9ada3 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 8c4ebd0d38c36a337606889f7c39ab5a372463a6 (diff) | |
drm/fbdev: Fallback to non tiled mode if all tiles not present
In case of tiled displays, if we hotplug just one connector,
fbcon currently just selects the preferred mode and if it is
tiled mode then that becomes a problem if rest of the tiles are
not present.
So in the fbdev driver on hotplug when we probe the client modeset,
if we dont find all the connectors for all tiles, then on a connector
with one tile, just fallback to the first available non tiled mode
to display over a single connector.
On the hotplug of the consecutive tiled connectors, if the tiled mode
no longer exists because of fbcon size limitation, then return
no modes for consecutive tiles but retain the non tiled mode
on the 0th tile.
Use the same logic in case of connected boot case as well.
This has been tested with Dell UP328K tiled monitor.
v3:
* Check Num tiled conns that are connected (Manasi)
v2:
* Set the modes on consecutive hotplugged tiles to no mode
if tiled mode is pruned (Dave)
v1:
* Just handle the 1st connector hotplug case
* v1 Reviewed-by: Dave Airlie <[email protected]>
Bugzilla: https://gitlab.freedesktop.org/drm/intel/issues/5
Suggested-by: Ville Syrjälä <[email protected]>
Suggested-by: Dave Airlie <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Dave Airlie <[email protected]>
Signed-off-by: Manasi Navare <[email protected]>
Reviewed-by: Dave Airlie <[email protected]> (v2)
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions