[RESEND PATCH v2] Documentation/ABI: add sysfs interface for s6e63m0 lcd driver

2018-02-25 Thread Aishwarya Pant
Document sysfs attributes of s6e63m0 lcd panel driver by looking through git logs and reading code. Signed-off-by: Aishwarya Pant --- Changes in v2: - Convert spaces to tabs Documentation/ABI/testing/sysfs-class-lcd-s6e63m0 | 27 +++ 1 file changed, 27 insertions(+) create

[PATCH v2] Documentation/ABI: add sysfs interface for s6e63m0 lcd driver

2018-02-06 Thread Aishwarya Pant
Document sysfs attributes of s6e63m0 lcd panel driver by looking through git logs and reading code. Signed-off-by: Aishwarya Pant --- Changes in v2: - Update contact information Documentation/ABI/testing/sysfs-class-lcd-s6e63m0 | 27 +++ 1 file changed, 27 insertions

[PATCH v2 0/3] backlight: document sysfs interfaces

2018-02-06 Thread Aishwarya Pant
contained debug information. Aishwarya Pant (3): backlight: lm3639: document sysfs attributes backlight: adp5520: document sysfs attributes backlight: adp8860: document sysfs attributes .../ABI/testing/sysfs-class-backlight-adp5520 | 31 + .../ABI/testing/sysfs-class

[PATCH v2 1/3] backlight: lm3639: document sysfs attributes

2018-02-06 Thread Aishwarya Pant
Add documentation for sysfs interfaces of Texas Instruments lm3639 backlight + flash led driver chip by looking through git commits and reading code. Signed-off-by: Aishwarya Pant Acked-by: Daniel Thompson --- Changes in v2: - Update contact information Documentation/ABI/testing/sysfs-class

[PATCH v2 2/3] backlight: adp5520: document sysfs attributes

2018-02-06 Thread Aishwarya Pant
Add documentation for sysfs interface of adp5520/adp5501 analog devices backlight driver by reading code and looking through git commit logs. Signed-off-by: Aishwarya Pant Acked-by: Michael Hennerich --- .../ABI/testing/sysfs-class-backlight-adp5520 | 31 ++ 1 file

[PATCH v2 3/3] backlight: adp8860: document sysfs attributes

2018-02-06 Thread Aishwarya Pant
Add documentation for sysfs interface of adp8860 series backlight devices by reading through code and git commits. Signed-off-by: Aishwarya Pant Acked-by: Michael Hennerich --- .../ABI/testing/sysfs-class-backlight-adp8860 | 54 ++ 1 file changed, 54 insertions

Re: [PATCH 1/5] backlight: lp8788: document sysfs attributes

2018-02-05 Thread Aishwarya Pant
On Thu, Feb 01, 2018 at 11:36:04AM +, Daniel Thompson wrote: > On Wed, Jan 31, 2018 at 01:51:21PM +0200, Jani Nikula wrote: > > On Wed, 31 Jan 2018, Daniel Thompson wrote: > > > On Fri, Jan 26, 2018 at 08:20:08PM +0530, Aishwarya Pant wrote: > > >> Add documen

Re: [PATCH 2/5] backlight: lp855x: document sysfs attributes

2018-02-01 Thread Aishwarya Pant
On Thu, Feb 01, 2018 at 11:06:42AM +, Daniel Thompson wrote: > On Fri, Jan 26, 2018 at 08:23:00PM +0530, Aishwarya Pant wrote: > > Add documentation for sysfs interface of Texas Instruments lp855x > > backlight driver by reading code and looking through git commit logs. > &g

[PATCH 2/5] backlight: lp855x: document sysfs attributes

2018-01-28 Thread Aishwarya Pant
Add documentation for sysfs interface of Texas Instruments lp855x backlight driver by reading code and looking through git commit logs. Signed-off-by: Aishwarya Pant --- .../ABI/testing/sysfs-class-backlight-lp855x | 19 +++ 1 file changed, 19 insertions(+) create mode

[PATCH 5/5] backlight: adp8860: document sysfs attributes

2018-01-28 Thread Aishwarya Pant
Add documentation for sysfs interface of adp8860 series backlight devices by reading through code and git commits. Signed-off-by: Aishwarya Pant --- .../ABI/testing/sysfs-class-backlight-adp8860 | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation

[PATCH 0/5] backlight: document sysfs interfaces

2018-01-28 Thread Aishwarya Pant
Patchset contains documentation of the sysfs interfaces for the following five backlight drivers- 1) lp8788 2) lp855x 3) lm3639 4) adp5520 5) adp8860 It was compiled from data sheets, reading code and git history logs. Aishwarya Pant (5): backlight: lp8788: document sysfs attributes

[PATCH 4/5] backlight: adp5520: document sysfs attributes

2018-01-28 Thread Aishwarya Pant
Add documentation for sysfs interface of adp5520/adp5501 analog devices backlight driver by reading code and looking through git commit logs. Signed-off-by: Aishwarya Pant --- .../ABI/testing/sysfs-class-backlight-adp5520 | 31 ++ 1 file changed, 31 insertions

[PATCH 3/5] backlight: lm3639: document sysfs attributes

2018-01-28 Thread Aishwarya Pant
Add documentation for sysfs interfaces of Texas Instruments lm3639 backlight + flash led driver chip by looking through git commits and reading code. Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/sysfs-class-backlight-lm3639 | 13 + 1 file changed, 13 insertions

[PATCH 1/5] backlight: lp8788: document sysfs attributes

2018-01-28 Thread Aishwarya Pant
Add documentation for sysfs interfaces of lp8788 backlight driver by looking through the code and the git commit history. Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/sysfs-class-backlight-lp8788 | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation

[PATCH] Documentation/ABI: add sysfs interface for s6e63m0 lcd driver

2018-01-23 Thread Aishwarya Pant
Document sysfs attributes of s6e63m0 lcd panel driver by looking through git logs and reading code. Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/sysfs-class-lcd-s6e63m0 | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/ABI/testing

[PATCH] drm/msm/mdp5: remove less than 0 comparison for unsigned value

2017-10-11 Thread Aishwarya Pant
pipe is an unsigned int and less than zero comparison for unsigned values is always false. Detected using the following cocci script: @@ unsigned int i; @@ * i < 0 Signed-off-by: Aishwarya Pant --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH] drm/amdgpu: replace dev_* with DRM_DEV_* equivalents

2017-09-29 Thread Aishwarya Pant
This patch was generated using the following cocci script: @@ @@ ( - dev_info + DRM_DEV_INFO (...) | - dev_err + DRM_DEV_ERROR (...) | - dev_dbg + DRM_DEV_DEBUG (...) ) Signed-off-by: Aishwarya Pant --- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 6 ++-- drivers/gpu/drm/amd/amdgpu

[PATCH] drm/core: clean up references to drm_dev_unref()

2017-09-27 Thread Aishwarya Pant
This is a continuation of a previous commit ("drm: introduce drm_dev_{get/put} functions") to replace all references to drm_dev_unref() in drm core files with drm_dev_put(). Signed-off-by: Aishwarya Pant --- This patch is on top of branch drm-misc-next of drm-misc tree. I hope that&#

[PATCH v2 1/2] drm: introduce drm_dev_{get/put} functions

2017-09-26 Thread Aishwarya Pant
-trivial number of users remains for compatibility. The semantic patch scripts/coccinelle/api/drm-get-put.cocci has been updated with the new helper for conversion of drm_dev_unref() to drm_dev_put() Signed-off-by: Aishwarya Pant --- Changes in v2 - Drop drm_dev_ref after replacing all its usages

[PATCH v2 0/2] drm/tilcdc: replace reference/unreference with get/put

2017-09-26 Thread Aishwarya Pant
wide cocci script drm-get-put with the new helper for drm_dev_unref to drm_dev_get conversion Aishwarya Pant (2): drm: introduce drm_dev_{get/put} functions drm/tilcdc: replace reference/unreference() with get/put drivers/gpu/drm/drm_drv.c| 51

[PATCH v2 2/2] drm/tilcdc: replace reference/unreference() with get/put

2017-09-26 Thread Aishwarya Pant
); +drm_dev_put(ex); | -drm_framebuffer_reference(ex); +drm_framebuffer_get(ex); ) Signed-off-by: Aishwarya Pant --- No changes in v2 drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 6 +++--- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers

Re: [Outreachy kernel] [PATCH] drm/gem: use new idr deletion interface to cleanup drm_gem_handle_delete()

2017-09-26 Thread Aishwarya Pant
On Tue, Sep 26, 2017 at 10:20:47AM +0200, Daniel Vetter wrote: > On Tue, Sep 26, 2017 at 12:17:28AM +0530, Aishwarya Pant wrote: > > The IDR deletion interface now returns the deleted entry or NULL if it was > > not > > present. So we don't have to do the extra wor

Re: [PATCH] drm/gem: use new idr deletion interface to cleanup drm_gem_handle_delete()

2017-09-26 Thread Aishwarya Pant
On Tue, Sep 26, 2017 at 10:12:12AM +0100, Chris Wilson wrote: > Quoting Aishwarya Pant (2017-09-25 19:47:28) > > The IDR deletion interface now returns the deleted entry or NULL if it was > > not > > present. So we don't have to do the extra work of checking if we h

[PATCH] drm/gem: use new idr deletion interface to cleanup drm_gem_handle_delete()

2017-09-26 Thread Aishwarya Pant
d-off-by: Aishwarya Pant --- drivers/gpu/drm/drm_gem.c | 21 ++--- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index c55f338..f62757a 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_

[PATCH 2/2] drm/tilcdc: replace reference/unreference() with get/put

2017-09-22 Thread Aishwarya Pant
); +drm_dev_put(ex); | -drm_framebuffer_reference(ex); +drm_framebuffer_get(ex); ) Signed-off-by: Aishwarya Pant --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 6 +++--- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/tilcdc

[PATCH 1/2] drm: introduce drm_dev_{get/put} functions

2017-09-22 Thread Aishwarya Pant
Reference counting functions in the kernel typically use get/put suffixes. For maintaining coding style consistency, introduce drm_dev_{get/put} functions and let the old APIs (with ref/unref suffixes) remain for compatibility. Signed-off-by: Aishwarya Pant --- drivers/gpu/drm/drm_drv.c | 64

[PATCH 0/2] drm/tilcdc: replace reference/unreference with get/put

2017-09-22 Thread Aishwarya Pant
the tilcdc patch: @@ expression ex; @@ ( -drm_framebuffer_unreference(ex); +drm_framebuffer_put(ex); | -drm_dev_unref(ex); +drm_dev_put(ex); | -drm_framebuffer_reference(ex); +drm_framebuffer_get(ex); ) Aishwarya Pant (2): drm: introduce drm_dev_{get/put} functions drm/tilcdc: replace