projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311eca6
)
drm/atomic: log on attempt to set legacy DPMS property
author
Simon Ser
<contact@emersion.fr>
Wed, 19 Oct 2022 14:38:10 +0000
(14:38 +0000)
committer
Simon Ser
<contact@emersion.fr>
Fri, 23 Jun 2023 14:34:24 +0000
(16:34 +0200)
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
drivers/gpu/drm/drm_atomic_uapi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_atomic_uapi.c
b/drivers/gpu/drm/drm_atomic_uapi.c
index
78fa8ca
..
e2373d1
100644
(file)
--- 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;