diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-19 14:38:10 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-06-23 16:34:24 +0200 |
commit | d43b3cdcc6029eead6976f3abfe94f8c5840ea7f (patch) | |
tree | 0aadbf8b315517cb2d94195674bfca100390c3b4 | |
parent | 311eca6400474832e7ec62faa032f6bc95f47f63 (diff) | |
download | linux-stable-d43b3cdcc6029eead6976f3abfe94f8c5840ea7f.tar.gz linux-stable-d43b3cdcc6029eead6976f3abfe94f8c5840ea7f.tar.bz2 linux-stable-d43b3cdcc6029eead6976f3abfe94f8c5840ea7f.zip |
drm/atomic: log on attempt to set legacy DPMS property
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221019143736.267324-5-contact@emersion.fr
-rw-r--r-- | drivers/gpu/drm/drm_atomic_uapi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c index 78fa8cadc01d..e2373d1cfebc 100644 --- a/drivers/gpu/drm/drm_atomic_uapi.c +++ b/drivers/gpu/drm/drm_atomic_uapi.c @@ -711,6 +711,9 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector, * is done in legacy setprop path for us. Disallow (for * now?) atomic writes to DPMS property: */ + drm_dbg_atomic(dev, + "legacy [PROP:%d:%s] can only be set via legacy uAPI\n", + property->base.id, property->name); return -EINVAL; } else if (property == config->tv_select_subconnector_property) { state->tv.select_subconnector = val; |