[PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-30 Thread Ville Syrjälä
On Thu, Mar 29, 2012 at 06:27:21PM -0300, Paulo Zanoni wrote: > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > index c3d429a..84880a7 100644 > --- a/include/drm/drm_crtc.h > +++ b/include/drm/drm_crtc.h > @@ -36,6 +36,8 @@ > struct drm_device; > struct drm_mode_set; > struct

[PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-30 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:27, Paulo Zanoni wrote: > From: Paulo Zanoni > > For now, only connectors have it. In the future, all objects that need > properties should use it. Since the strucutre is referenced inside > *structure > struct drm_mode_object, we will be able to deal with object

Re: [PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-30 Thread Ville Syrjälä
On Thu, Mar 29, 2012 at 06:27:21PM -0300, Paulo Zanoni wrote: diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index c3d429a..84880a7 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -36,6 +36,8 @@ struct drm_device; struct drm_mode_set; struct

[PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-29 Thread Paulo Zanoni
From: Paulo Zanoni For now, only connectors have it. In the future, all objects that need properties should use it. Since the strucutre is referenced inside struct drm_mode_object, we will be able to deal with object properties without knowing the real type of the

[PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-29 Thread Paulo Zanoni
From: Paulo Zanoni paulo.r.zan...@intel.com For now, only connectors have it. In the future, all objects that need properties should use it. Since the strucutre is referenced inside struct drm_mode_object, we will be able to deal with object properties without knowing the real type of the object.

Re: [PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:27, Paulo Zanoni przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com For now, only connectors have it. In the future, all objects that need properties should use it. Since the strucutre is referenced inside *structure struct drm_mode_object,