RE: [v2 3/7] drm: Add gamma mode property

2019-04-08 Thread Shankar, Uma
g; >Syrjala, Ville ; Lankhorst, Maarten > >Subject: Re: [v2 3/7] drm: Add gamma mode property > >Hi Uma. > >> --- a/include/drm/drm_crtc.h >> +++ b/include/drm/drm_crtc.h >> @@ -256,6 +256,13 @@ struct drm_crtc_state { >> struct drm_property_

Re: [v2 3/7] drm: Add gamma mode property

2019-04-01 Thread Sam Ravnborg
Hi Uma. > --- a/include/drm/drm_crtc.h > +++ b/include/drm/drm_crtc.h > @@ -256,6 +256,13 @@ struct drm_crtc_state { > struct drm_property_blob *gamma_mode_caps; > > /** > + * @gamma_mode: > + * > + * FIXME > + */ > + struct drm_property_blob *gamma_mode;

[v2 3/7] drm: Add gamma mode property

2019-04-01 Thread Uma Shankar
Add Gamma Mode property to set the gamma mode (Interploated, Split, Multi Segmented etc) from the list obtained through the gamma mode caps property. Create the blob and send to driver for programming the luts to the appropriate registers and setting the chosen gamma mode. Signed-off-by: Uma