Re: [PATCH] drm/vkms: Fix flush_work() without INIT_WORK().

2019-01-23 Thread Shayenne Moura
work, vkms_crc_work_handle); > > crtc->state = &vkms_state->base; > crtc->state->crtc = crtc; > -- > 1.8.3.1 > Thank you for your patch! Reviewed-by: Shayenne Moura ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH 0/2] drm/vkms: Bugfix for igt-tests

2019-01-30 Thread Shayenne Moura
This patchset contains patches to fix the extra frame bug on kms_flip igt-test. First patch solves the extra vblank frame that breaks many tests on kms_flip and second patch solves the race condition caused by the solution added in the first one. Shayenne Moura (2): drm/vkms: Bugfix extra

[PATCH 2/2] drm: vkms: Bugfix racing hrtimer vblank handle

2019-01-30 Thread Shayenne Moura
amp update is correct when finish the vblank handle. Signed-off-by: Shayenne Moura Signed-off-by: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_crtc.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_crtc.c b/drivers/gpu/drm/vkms/vkms_crt

[PATCH 1/2] drm/vkms: Bugfix extra vblank frame

2019-01-30 Thread Shayenne Moura
present the next vblank. Since this is how hw timestamp registers work and what the vblank core expects. Signed-off-by: Shayenne Moura Signed-off-by: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_crtc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/vkms/vkms_crtc.c b/drivers

Re: [PATCH 0/2] drm/vkms: Bugfix for igt-tests

2019-02-01 Thread Shayenne Moura
hardware has an error, and could not return the accurate vblank. Now, we need to know if our `vkms_get_vblank_timestamp` should return false and when. Em qua, 30 de jan de 2019 às 14:05, Shayenne Moura escreveu: > > This patchset contains patches to fix the extra frame bug on kms_flip >

[PATCH] drm/doc: Remove solved "VBlank issues"

2019-02-06 Thread Shayenne Moura
Remove the list of broken tests on VKMS solved by patchset https://patchwork.freedesktop.org/series/55994/ Signed-off-by: Shayenne Moura --- Documentation/gpu/vkms.rst | 11 --- 1 file changed, 11 deletions(-) diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst index

[PATCH] drm/vkms: WARN when hrtimer_forward_now fails

2019-02-06 Thread Shayenne Moura
Make the variable have the same type of function hrtimer_forward_now return. Add a warn to verify the hrtimer_forward_now return. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/vkms/vkms_crtc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vkms

[PATCH] drm/doc: Remove solved KMS cleanup task

2019-02-08 Thread Shayenne Moura
Remove KMS cleanup task from documentation solved by patchset https://patchwork.freedesktop.org/series/54310/ Signed-off-by: Shayenne Moura --- Documentation/gpu/todo.rst | 4 1 file changed, 4 deletions(-) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index

[PATCH 0/7] drm: KMS cleanup remove drm_mode_object dependency

2018-12-18 Thread Shayenne Moura
This patch serie removes drm_mode_object dependency from drm_display_mode struct. This is part of KMS cleanup. Shayenne Moura (7): drm: msm: Delete base.id prints drm: Remove use of drm_mode_object drm: omapdrm: Delete base.id prints drm: i915: Delete base.id prints drm: sti: Delete

[PATCH 1/7] drm: msm: Delete base.id prints

2018-12-18 Thread Shayenne Moura
This patch removes base.id prints from drm_display_mode objects in msm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 4 ++-- drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c | 4 ++-- drivers/gpu/drm/msm

[PATCH 2/7] drm: Remove use of drm_mode_object

2018-12-18 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/drm_crtc_helper.c | 5 ++--- drivers/gpu/drm/drm_modes.c | 9 - 2 files

[PATCH 3/7] drm: omapdrm: Delete base.id prints

2018-12-18 Thread Shayenne Moura
This patch removes base.id prints from drm_display_mode objects in omapdrm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/omapdrm/omap_connector.c | 4 ++-- drivers/gpu/drm/omapdrm/omap_crtc.c | 4 ++-- 2 files

[PATCH 7/7] drm: Complete remove drm_mode_object dependency

2018-12-18 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type. Signed-off-by: Shayenne Moura --- include/drm/drm_modes.h | 21 +++-- 1 file changed, 3

[PATCH 6/7] drm: meson: Delete base.id prints

2018-12-18 Thread Shayenne Moura
This patch removes base.id prints from drm_display_mode objects in meson files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 5/7] drm: sti: Delete base.id prints

2018-12-18 Thread Shayenne Moura
This patch removes base.id prints from drm_display_mode objects in sti files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/sti/sti_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[PATCH 4/7] drm: i915: Delete base.id prints

2018-12-18 Thread Shayenne Moura
This patch removes base.id prints from drm_display_mode objects in i915 files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/i915/i915_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH 0/7] drm: KMS cleanup remove drm_mode_object dependency

2018-12-19 Thread Shayenne Moura
On 12/19, Jani Nikula wrote: > On Tue, 18 Dec 2018, Shayenne Moura wrote: > > This patch serie removes drm_mode_object dependency from > > drm_display_mode struct. This is part of KMS cleanup. > > For future reference: > > Please use git-send-email or fix t

Re: [PATCH 4/7] drm: i915: Delete base.id prints

2018-12-19 Thread Shayenne Moura
On 12/19, Daniel Vetter wrote: > On Tue, Dec 18, 2018 at 11:38:21AM -0200, Shayenne Moura wrote: > > This patch removes base.id prints from drm_display_mode > > > > objects in i915 files. It removes dependency from drm_mode_object. > > > &

Re: [PATCH 7/7] drm: Complete remove drm_mode_object dependency

2018-12-19 Thread Shayenne Moura
On 12/19, Daniel Vetter wrote: > On Tue, Dec 18, 2018 at 11:38:36AM -0200, Shayenne Moura wrote: > > This patch finalizes the KMS cleanup task dependency from drm_display_mode > > It removes the use of drm_mode_object from drm_display_mode struct > > and it removes the use of

[PATCH 1/7] drm: msm: Cleanup drm_display_mode print string

2018-12-19 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in msm files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 10 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c | 9 + drivers/gpu/drm

[PATCH 0/7] drm: Remove drm_mode_object dependency from drm_display_mode

2018-12-19 Thread Shayenne Moura
explicitly has never landed in upstream kernel mode setting support. Shayenne Moura (7): drm: msm: Cleanup drm_display_mode print string drm: omapdrm: Cleanup drm_display_mode print str drm: meson: Cleanup on drm_display_mode print str drm: sti: Cleanup drm_display_mode print str drm: i915

[PATCH 2/7] drm: omapdrm: Cleanup drm_display_mode print str

2018-12-19 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in omapdrm files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/omapdrm/omap_connector.c | 9 ++--- drivers/gpu/drm/omapdrm/omap_crtc.c | 8 ++-- 2 files changed, 4 insertions

[PATCH 4/7] drm: sti: Cleanup drm_display_mode print str

2018-12-19 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in sti files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/sti/sti_crtc.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_crtc.c

[PATCH 3/7] drm: meson: Cleanup on drm_display_mode print str

2018-12-19 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in meson files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/meson

[PATCH 5/7] drm: i915: Cleanup drm_display_mode print str

2018-12-19 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in i915 files. It modifies the print style to standardize the use of DRM_MODE_FMT. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/i915/i915_debugfs.c | 9 + 1 file changed, 1 insertion

[PATCH 6/7] drm: Remove use of drm_mode_object

2018-12-19 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/drm_crtc_helper.c | 5 ++--- drivers/gpu/drm/drm_modes.c | 5 - 2 files

[PATCH 7/7] drm: Complete remove drm_mode_object dependency

2018-12-19 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura --- include/drm/drm_modes.h

[PATCH v2 0/7] drm: Remove drm_mode_object dependency from drm_display_mode

2018-12-20 Thread Shayenne Moura
This patch serie removes drm_mode_object dependency from drm_display_mode struct. This is part of KMS cleanup. Shayenne Moura (7): drm: msm: Cleanup drm_display_mode print str drm: omapdrm: Cleanup drm_display_mode print str drm: meson: Cleanup on drm_display_mode print str drm: sti

[PATCH v2 1/7] drm: msm: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in msm files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel). - Make the commit message more clear drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c

[PATCH v2 2/7] drm: omapdrm: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in omapdrm files. Signed-off-by: Shayenne Moura Reviewed-by: Sebastian Reichel --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear drivers/gpu/drm

[PATCH v2 3/7] drm: meson: Cleanup on drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in meson files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear drivers/gpu/drm/meson/meson_dw_hdmi.c | 12

[PATCH v2 5/7] drm: i915: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in i915 files. It modifies the print style to standardize the use of DRM_MODE_FMT. Signed-off-by: Shayenne Moura Reviewed-by: Jani Nikula --- Changes in v2: - Use DRM_MODE_FMT/ARG macros

[PATCH v2 4/7] drm: sti: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in sti files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear drivers/gpu/drm/sti/sti_crtc.c | 16

[PATCH v2 6/7] drm: Remove use of drm_mode_object

2018-12-20 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter --- Changes in v2: - No change drivers/gpu/drm/drm_crtc_helper.c | 5

[PATCH v2 7/7] drm: Complete remove drm_mode_object dependency

2018-12-20 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter

[PATCH v3 1/7] drm: msm: Cleanup drm_display_mode print str

2019-01-10 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in msm files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel). - Make the commit message more clear Changes in v3: - Resolve typo in v2 patch

[PATCH v3 2/7] drm: omapdrm: Cleanup drm_display_mode print str

2019-01-10 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in omapdrm files. Signed-off-by: Shayenne Moura Reviewed-by: Sebastian Reichel --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear Changes in v3

[PATCH v3 3/7] drm: meson: Cleanup on drm_display_mode print str

2019-01-10 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in meson files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear Changes in v3: - No changes drivers/gpu/drm

[PATCH v3 5/7] drm: i915: Cleanup drm_display_mode print str

2019-01-10 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in i915 files. It modifies the print style to standardize the use of DRM_MODE_FMT. Signed-off-by: Shayenne Moura Reviewed-by: Jani Nikula --- Changes in v2: - Use DRM_MODE_FMT/ARG macros

[PATCH v3 6/7] drm: Remove use of drm_mode_object

2019-01-10 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter --- Changes in v2 and v3: - No change drivers/gpu/drm/drm_crtc_helper.c

[PATCH v3 7/7] drm: Complete remove drm_mode_object dependency

2019-01-10 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter

[PATCH v3 0/7] drm: Remove drm_mode_object dependency from drm_display_mode

2019-01-10 Thread Shayenne Moura
This patch serie removes drm_mode_object dependency from drm_display_mode struct. This is part of KMS cleanup. --- Changes in v3: - Solve typo in first patch in v2 Changes in v2: - Make alterations suggested by Daniel and commit messages clear Shayenne Moura (7): drm: msm: Cleanup

[PATCH v3 4/7] drm: sti: Cleanup drm_display_mode print str

2019-01-10 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in sti files. Signed-off-by: Shayenne Moura Acked-by: Benjamin Gaignard --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear Changes in v3: - No

[PATCH v4 0/3] drm: Remove drm_mode_object dependency from drm_display_mode

2019-01-10 Thread Shayenne Moura
merged Shayenne Moura (3): drm: msm: Cleanup drm_display_mode print str drm: Remove use of drm_mode_object drm: Complete remove drm_mode_object dependency drivers/gpu/drm/drm_crtc_helper.c | 5 ++--- drivers/gpu/drm/drm_modes.c | 9 drivers/gpu/drm/msm

[PATCH v4 1/3] drm: msm: Cleanup drm_display_mode print str

2019-01-10 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in msm files. Reported-by: kbuild test robot Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel). - Make the commit message more clear Changes in v3

[PATCH v4 2/3] drm: Remove use of drm_mode_object

2019-01-10 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter --- Changes in v2, v3, and v4: - No changes drivers/gpu/drm

[PATCH v4 3/3] drm: Complete remove drm_mode_object dependency

2019-01-10 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter

[PATCH v5 0/3] drm: Remove drm_mode_object dependency from drm_display_mode

2019-01-11 Thread Shayenne Moura
merged Changes in v5: - Add patch to cleanup armada driver Shayenne Moura (3): drm: armada: Cleanup drm_display_mode print str drm: Remove use of drm_mode_object drm: Complete remove drm_mode_object dependency drivers/gpu/drm/armada/armada_crtc.c | 8 +--- drivers/gpu/drm

[PATCH v5 1/3] drm: armada: Cleanup drm_display_mode print str

2019-01-11 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in armada files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/armada/armada_crtc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/gpu/drm/armada

[PATCH v5 2/3] drm: Remove use of drm_mode_object

2019-01-11 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter --- drivers/gpu/drm/drm_crtc_helper.c | 5 ++--- drivers/gpu/drm/drm_modes.c

[PATCH v5 3/3] drm: Complete remove drm_mode_object dependency

2019-01-11 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter

[PATCH] drm/vkms: Solve bug on kms_crc_cursor tests

2019-02-25 Thread Shayenne Moura
interrupt, and return an inaccurate value. Solve this getting the actual vblank frame directly from the vblank->count inside the `struct drm_crtc`, instead of using the `drm_accurate_vblank_count` function. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/vkms/vkms_crc.c | 4 +++- drivers/

Re: [PATCH] drm/vkms: Solve bug on kms_crc_cursor tests

2019-03-01 Thread Shayenne Moura
Em qui, 28 de fev de 2019 às 11:03, Ville Syrjälä escreveu: > > On Thu, Feb 28, 2019 at 11:11:07AM +0100, Daniel Vetter wrote: > > On Mon, Feb 25, 2019 at 11:26:06AM -0300, Shayenne Moura wrote: > > > vkms_crc_work_handle needs the value of the actual frame to > > &g

Re: [PATCH] drm/vkms: Solve bug on kms_crc_cursor tests

2019-03-01 Thread Shayenne Moura
Em sex, 1 de mar de 2019 às 12:26, Ville Syrjälä escreveu: > > On Fri, Mar 01, 2019 at 11:55:11AM -0300, Shayenne Moura wrote: > > Em qui, 28 de fev de 2019 às 11:03, Ville Syrjälä > > escreveu: > > > > > > On Thu, Feb 28, 2019 at 11:11:07AM +0100, Daniel

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

2018-10-31 Thread Shayenne Moura
On 10/31, Daniel Vetter wrote: > On Wed, Oct 31, 2018 at 4:13 PM Jani Nikula > wrote: > > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura > > wrote: > > > Add a new variable to make the drm_mode_object comparison before > > > idr_alloc and decrease line size. > > > > > > Signed-off-by: Shayenne

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

2018-10-31 Thread Shayenne Moura
On 10/31, Julia Lawall wrote: > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > > Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', > > as proposed in the task description in TODO list for KMS cleanups. > > Is object_idr a field that already exists? If so, "Rename" i

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

2018-10-31 Thread Shayenne Moura
On 10/31, Julia Lawall wrote: > > > On Wed, 31 Oct 2018, Shayenne Moura wrote: > > > On 10/31, Julia Lawall wrote: > > > > > > > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > > > > > > Rename 'drm_mode_config.crt