Merge branch 'drm-tile-fix' into 'master'

drm: Fix tiled mode detection

See merge request plymouth/plymouth!36
This commit is contained in:
Ray Strode 2019-05-28 14:53:05 +00:00
commit f7142e72f3

View file

@ -459,7 +459,8 @@ ply_renderer_connector_get_rotation_and_tiled (ply_renderer_backend_t *back
output->rotation = connector_orientation_prop_to_rotation (prop, connector->prop_values[i]);
if ((prop->flags & DRM_MODE_PROP_BLOB) &&
strcmp (prop->name, "TILE") == 0)
strcmp (prop->name, "TILE") == 0 &&
connector->prop_values[i] != 0)
output->tiled = true;
if ((prop->flags & DRM_MODE_PROP_ENUM) &&