dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Dynamically change enumeration list of DRM enumeration property
@ 2020-05-26  4:31 Yogish Kulkarni
  2020-05-26  6:56 ` Daniel Vetter
  2020-05-26  7:39 ` Pekka Paalanen
  0 siblings, 2 replies; 17+ messages in thread
From: Yogish Kulkarni @ 2020-05-26  4:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 918 bytes --]

Hi,

Is it possible to dynamically change enumeration list of  DRM enumeration
property ? Motivation behind this question is to understand whether it is
possible to create connector enum property (e.g a property which will list
supported output encodings -  like yuv420, yuv422 etc) whose list of
supported enum values could be changed dynamically e.g. based on which sink
is connected.

I think there is existing EDID connector property whose value changes based
on connected sink. EDID is a BLOB property, I am trying to understand if
this is also possible for ENUM type property. There is
"drm_property_replace_blob" to replace blob but I wasn't able to find any
API which could replace list of supported enums. Alternatively, would it be
good idea to destroy custom enum property created by a driver and create
new enum property with new list of supported enums e.g when there is a
HOTPLUG event.

Thanks,
-Yogish

[-- Attachment #1.2: Type: text/html, Size: 1080 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-06-05  7:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  4:31 Dynamically change enumeration list of DRM enumeration property Yogish Kulkarni
2020-05-26  6:56 ` Daniel Vetter
2020-05-26  7:39 ` Pekka Paalanen
2020-05-26 11:51   ` Yogish Kulkarni
2020-05-26 12:14   ` Daniel Vetter
2020-05-28  6:59     ` Yogish Kulkarni
2020-05-28  8:24       ` Daniel Vetter
2020-05-28 12:08         ` Yogish Kulkarni
2020-05-28 12:48           ` Pekka Paalanen
2020-06-01  3:52             ` Yogish Kulkarni
2020-06-01  8:49               ` Pekka Paalanen
2020-06-03  5:20                 ` Yogish Kulkarni
2020-06-03  9:12                   ` Pekka Paalanen
2020-06-03  9:57                     ` Ville Syrjälä
2020-06-03 17:12                       ` Emil Velikov
2020-06-03 20:20                     ` Jonas Karlman
2020-06-05  7:53                       ` Pekka Paalanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).