Backmerge tag 'v4.7-rc2' into drm-next
[deliverable/linux.git] / drivers / gpu / drm / drm_crtc.c
index 37427b2bb9fce84b3d3a68d9d6be5e08d2e38d72..1e28eeefcd65f4dec459c0c29614bcabbf15f916 100644 (file)
@@ -2821,8 +2821,6 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,
                        goto out;
                }
 
-               drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
-
                /*
                 * Check whether the primary plane supports the fb pixel format.
                 * Drivers not implementing the universal planes API use a
@@ -4841,7 +4839,8 @@ bool drm_property_change_valid_get(struct drm_property *property,
                if (value == 0)
                        return true;
 
-               return _object_find(property->dev, value, property->values[0]) != NULL;
+               *ref = _object_find(property->dev, value, property->values[0]);
+               return *ref != NULL;
        }
 
        for (i = 0; i < property->num_values; i++)
This page took 0.02468 seconds and 5 git commands to generate.