|
@@ -23,6 +23,7 @@
|
|
|
#include <linux/export.h>
|
|
|
#include <drm/drmP.h>
|
|
|
#include <drm/drm_mode_object.h>
|
|
|
+#include <drm/drm_atomic.h>
|
|
|
|
|
|
#include "drm_crtc_internal.h"
|
|
|
|
|
@@ -273,7 +274,7 @@ int drm_object_property_get_value(struct drm_mode_object *obj,
|
|
|
* their value in obj->properties->values[].. mostly to avoid
|
|
|
* having to deal w/ EDID and similar props in atomic paths:
|
|
|
*/
|
|
|
- if (drm_core_check_feature(property->dev, DRIVER_ATOMIC) &&
|
|
|
+ if (drm_drv_uses_atomic_modeset(property->dev) &&
|
|
|
!(property->flags & DRM_MODE_PROP_IMMUTABLE))
|
|
|
return drm_atomic_get_property(obj, property, val);
|
|
|
|