dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE
@ 2018-10-02 21:50 Manasi Navare
  2018-10-03 19:32 ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Manasi Navare @ 2018-10-02 21:50 UTC (permalink / raw)
  To: intel-gfx, dri-devel; +Cc: Daniel Vetter

This patch explains the DRM_MODE_PROP_IMMUTABLE flag a bit better
by telling which function to call if kernel wants to update
drm object's immutable properties.

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
---
 include/drm/drm_property.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h
index 5b9efff35d6d..4a0a80d658c7 100644
--- a/include/drm/drm_property.h
+++ b/include/drm/drm_property.h
@@ -153,7 +153,8 @@ struct drm_property {
 	 *     userspace. The kernel is allowed to update the value of these
 	 *     properties. This is generally used to expose probe state to
 	 *     userspace, e.g. the EDID, or the connector path property on DP
-	 *     MST sinks.
+	 *     MST sinks. Kernel can update the value of an immutable property
+	 *     by calling drm_object_property_set_value().
 	 */
 	uint32_t flags;
 
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH] drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE
  2018-10-02 21:50 [PATCH] drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE Manasi Navare
@ 2018-10-03 19:32 ` Daniel Vetter
  2018-10-09 19:27   ` Manasi Navare
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vetter @ 2018-10-03 19:32 UTC (permalink / raw)
  To: Manasi Navare; +Cc: Daniel Vetter, intel-gfx, dri-devel

On Tue, Oct 02, 2018 at 02:50:55PM -0700, Manasi Navare wrote:
> This patch explains the DRM_MODE_PROP_IMMUTABLE flag a bit better
> by telling which function to call if kernel wants to update
> drm object's immutable properties.
> 
> Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

> ---
>  include/drm/drm_property.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h
> index 5b9efff35d6d..4a0a80d658c7 100644
> --- a/include/drm/drm_property.h
> +++ b/include/drm/drm_property.h
> @@ -153,7 +153,8 @@ struct drm_property {
>  	 *     userspace. The kernel is allowed to update the value of these
>  	 *     properties. This is generally used to expose probe state to
>  	 *     userspace, e.g. the EDID, or the connector path property on DP
> -	 *     MST sinks.
> +	 *     MST sinks. Kernel can update the value of an immutable property
> +	 *     by calling drm_object_property_set_value().
>  	 */
>  	uint32_t flags;
>  
> -- 
> 2.18.0
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH] drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE
  2018-10-03 19:32 ` Daniel Vetter
@ 2018-10-09 19:27   ` Manasi Navare
  0 siblings, 0 replies; 3+ messages in thread
From: Manasi Navare @ 2018-10-09 19:27 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: Daniel Vetter, intel-gfx, dri-devel

Thanks for the review.
Pushed to drm-misc.

Manasi

On Wed, Oct 03, 2018 at 09:32:49PM +0200, Daniel Vetter wrote:
> On Tue, Oct 02, 2018 at 02:50:55PM -0700, Manasi Navare wrote:
> > This patch explains the DRM_MODE_PROP_IMMUTABLE flag a bit better
> > by telling which function to call if kernel wants to update
> > drm object's immutable properties.
> > 
> > Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
> 
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> 
> > ---
> >  include/drm/drm_property.h | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h
> > index 5b9efff35d6d..4a0a80d658c7 100644
> > --- a/include/drm/drm_property.h
> > +++ b/include/drm/drm_property.h
> > @@ -153,7 +153,8 @@ struct drm_property {
> >  	 *     userspace. The kernel is allowed to update the value of these
> >  	 *     properties. This is generally used to expose probe state to
> >  	 *     userspace, e.g. the EDID, or the connector path property on DP
> > -	 *     MST sinks.
> > +	 *     MST sinks. Kernel can update the value of an immutable property
> > +	 *     by calling drm_object_property_set_value().
> >  	 */
> >  	uint32_t flags;
> >  
> > -- 
> > 2.18.0
> > 
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-10-09 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-02 21:50 [PATCH] drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE Manasi Navare
2018-10-03 19:32 ` Daniel Vetter
2018-10-09 19:27   ` Manasi Navare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox