|
@@ -22,6 +22,7 @@
|
|
|
#include <sound/asoundef.h>
|
|
|
|
|
|
#include <drm/drmP.h>
|
|
|
+#include <drm/drm_atomic_helper.h>
|
|
|
#include <drm/drm_crtc_helper.h>
|
|
|
#include <drm/drm_edid.h>
|
|
|
#include <drm/drm_of.h>
|
|
@@ -1396,10 +1397,13 @@ static void tda998x_connector_destroy(struct drm_connector *connector)
|
|
|
}
|
|
|
|
|
|
static const struct drm_connector_funcs tda998x_connector_funcs = {
|
|
|
- .dpms = drm_helper_connector_dpms,
|
|
|
+ .dpms = drm_atomic_helper_connector_dpms,
|
|
|
+ .reset = drm_atomic_helper_connector_reset,
|
|
|
.fill_modes = drm_helper_probe_single_connector_modes,
|
|
|
.detect = tda998x_connector_detect,
|
|
|
.destroy = tda998x_connector_destroy,
|
|
|
+ .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
|
|
|
+ .atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
|
|
|
};
|
|
|
|
|
|
static int tda998x_bind(struct device *dev, struct device *master, void *data)
|