[PATCH] drm: Remove complete task from TODO documentation

2018-12-13 Thread Shayenne da Luz Moura
This patch remove the follow complete task from TODO documentation: drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. Should be renamed to drm_mode_config.object_idr. Signed-off-by: Shayenne da Luz Moura --- Documentation/gpu/todo.rst | 3 --- 1 file changed, 3

[RESEND PATCH v2] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-12-13 Thread Shayenne da Luz Moura
This patch solves this TODO task: drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. Should be renamed to drm_mode_config.object_idr. Signed-off-by: Shayenne da Luz Moura --- Changes in v2: - Make commit message more clear and change header file drivers/gpu/drm

[PATCH v2] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-11-06 Thread Shayenne da Luz Moura
This patch solves this TODO task: drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. Should be renamed to drm_mode_config.object_idr. Signed-off-by: Shayenne da Luz Moura --- Changes in v2: - Make commit message more clear and change header file drivers/gpu/drm

[PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Shayenne da Luz Moura
Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', as proposed in the task description in TODO list for KMS cleanups. Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/drm_lease.c | 6 +++--- drivers/gpu/drm/drm_mode_config.c | 4 +

[PATCH v2] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Shayenne da Luz Moura
Break line after NULL to decrease the line size. Signed-off-by: Shayenne da Luz Moura --- Changes in v2: - Remove aditional variable added in v1 and add a line break drivers/gpu/drm/drm_mode_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Shayenne da Luz Moura
Add a new variable to make the drm_mode_object comparison before idr_alloc and decrease line size. Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/drm_mode_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mode_object.c b/drivers/gpu

[PATCH 6/6] drm/qxl: Use 'unsigned int' instead of 'bool'

2018-10-26 Thread Shayenne da Luz Moura
Use 'unsigned int' with bitfield instead of 'bool' to avoid alignment issues and remove checkpatch.pl check: CHECK: Avoid using bool structure members because of possible alignment issues Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_drv.h | 10 +

[PATCH 5/6] drm/qxl: Add space before open parentheses

2018-10-26 Thread Shayenne da Luz Moura
Add space to remove checkpath.pl error: ERROR: space required before the open parenthesis '(' Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drive

[PATCH 4/6] drm/qxl: Use 'unsigned int' instead of 'usigned'

2018-10-26 Thread Shayenne da Luz Moura
Use 'usigned int' instead of 'usigned' to remove the checkpath.pl warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_cmd.c | 2 +- drivers/gpu/drm/qxl/qxl_debugfs.c | 4

[PATCH 3/6] drm/qxl: Remove exceding whiteline

2018-10-26 Thread Shayenne da Luz Moura
Remove extra whiteline to clean the checkpatch.pl check: CHECK: Please don't use multiple blank lines Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_cmd.c | 1 - drivers/gpu/drm/qxl/qxl_debugfs.c | 1 - drivers/gpu/drm/qxl/qxl_dev.h | 1 - drivers/gpu/dr

[PATCH 2/6] drm/qxl: Add line after variable declarations

2018-10-26 Thread Shayenne da Luz Moura
Add whiteline after variable declarations to remove the checkpath.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_cmd.c | 4 drivers/gpu/drm/qxl/qxl_display.c | 2 ++ drivers/gpu/drm/qxl/qxl_draw.c| 2

[PATCH 1/6] drm/qxl: Remove trailing whitespace

2018-10-26 Thread Shayenne da Luz Moura
Remove extra tab and space to clean the checkpath.pl error. ERROR: trailing whitespace Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_dumb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_dumb.c b/drivers/gpu/drm/qxl/qxl_dumb.c

[PATCH 0/6] drm/qxl: Remove checkpatch issues

2018-10-26 Thread Shayenne da Luz Moura
pen parenthesis '(' CHECK: Avoid using bool structure members because of possible alignment issues Shayenne da Luz Moura (6): drm/qxl: Remove trailing whitespace drm/qxl: Add line after variable declarations drm/qxl: Remove exceding whiteline drm/qxl: Use 'unsigned int' ins