From: Carsten Haitzler carsten.haitzler@arm.com
In re-jigging the code I didn't return the new prop count but ketp the input prop count number. This fixes that. This make Xiorg start again.
Signed-off-by: Carsten Haitzler Carsten.Haitzler@arm.com --- drivers/gpu/drm/drm_property.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/drm_property.c b/drivers/gpu/drm/drm_property.c index 18435fc9df97..292ea8a4fa5f 100644 --- a/drivers/gpu/drm/drm_property.c +++ b/drivers/gpu/drm/drm_property.c @@ -513,6 +513,7 @@ int drm_mode_getproperty_ioctl(struct drm_device *dev, } }
+ count_values = value_count; copied = 0;
if (drm_property_type_is(property, DRM_MODE_PROP_ENUM) ||