android_kernel_motorola_sm6375/drivers/gpu
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Manasi Navare 9ed7329798 drm/fbdev: Fallback to non tiled mode if all tiles not present
[ Upstream commit f25c7a006cd1c07254780e3406e45cee4842b933 ]

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.

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]>

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]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
2020-02-24 08:36:41 +01:00
..
drm drm/fbdev: Fallback to non tiled mode if all tiles not present 2020-02-24 08:36:41 +01:00
host1x gpu: host1x: Allocate gather copy for host1x 2019-12-31 16:44:29 +01:00
ipu-v3
vga
Makefile