drm/i915: Convert intel_crt connector properties to atomic.
No properties are supported, so just use the helper and reject everything. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1491815239-10685-5-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
2e222edabf
commit
eadc1db859
|
@ -777,13 +777,6 @@ out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int intel_crt_set_property(struct drm_connector *connector,
|
|
||||||
struct drm_property *property,
|
|
||||||
uint64_t value)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void intel_crt_reset(struct drm_encoder *encoder)
|
void intel_crt_reset(struct drm_encoder *encoder)
|
||||||
{
|
{
|
||||||
struct drm_i915_private *dev_priv = to_i915(encoder->dev);
|
struct drm_i915_private *dev_priv = to_i915(encoder->dev);
|
||||||
|
@ -814,10 +807,9 @@ static const struct drm_connector_funcs intel_crt_connector_funcs = {
|
||||||
.late_register = intel_connector_register,
|
.late_register = intel_connector_register,
|
||||||
.early_unregister = intel_connector_unregister,
|
.early_unregister = intel_connector_unregister,
|
||||||
.destroy = intel_crt_destroy,
|
.destroy = intel_crt_destroy,
|
||||||
.set_property = intel_crt_set_property,
|
.set_property = drm_atomic_helper_connector_set_property,
|
||||||
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
|
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
|
||||||
.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
|
.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
|
||||||
.atomic_get_property = intel_connector_atomic_get_property,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct drm_connector_helper_funcs intel_crt_connector_helper_funcs = {
|
static const struct drm_connector_helper_funcs intel_crt_connector_helper_funcs = {
|
||||||
|
|
Loading…
Reference in New Issue