mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm: Set non-desktop property to true for writeback and virtual connectors
The non-desktop property "Indicates the output should be ignored for purposes of displaying a standard desktop environment or console." That sounds like it should be true for all writeback and virtual connectors as you shouldn't render a desktop to them, so set it by default. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
e8a0f3edf2
commit
d9567195b5
@@ -307,7 +307,8 @@ static int drm_connector_init_only(struct drm_device *dev,
|
||||
|
||||
drm_object_attach_property(&connector->base,
|
||||
config->non_desktop_property,
|
||||
0);
|
||||
(connector_type != DRM_MODE_CONNECTOR_VIRTUAL &&
|
||||
connector_type != DRM_MODE_CONNECTOR_WRITEBACK) ? 0 : 1);
|
||||
drm_object_attach_property(&connector->base,
|
||||
config->tile_property,
|
||||
0);
|
||||
|
||||
Reference in New Issue
Block a user