Re: [PATCH v2 3/3] drm: remove driver date from struct drm_driver and all drivers

2024-12-09 Thread Louis Chauvet
ate member from struct > drm_driver, its initialization from drivers, along with the common > DRIVER_DATE macros. > > v2: Also update drivers/accel (kernel test robot) > > Reviewed-by: Javier Martinez Canillas > Acked-by: Alex Deucher > Acked-by: Simon Ser > Acked-by: J

Re: [PATCH 2/2] drm: Move crtc->{x, y, mode, enabled} to legacy sub-structure

2024-10-03 Thread Louis Chauvet
Le 03/10/24 - 18:29, Ville Syrjälä a écrit : > On Thu, Oct 03, 2024 at 05:07:35PM +0200, Louis Chauvet wrote: > > > > > > > diff --git a/drivers/gpu/drm/vkms/vkms_crtc.c > > > > > b/drivers/gpu/drm/vkms/vkms_crtc.c > > > > > index a40295c18b4

Re: [PATCH 2/2] drm: Move crtc->{x, y, mode, enabled} to legacy sub-structure

2024-10-03 Thread Louis Chauvet
call `drm_atomic_helper_commit_modeset_disables`, which call `drm_atomic_helper_calc_timestamping_constants` which call `drm_calc_timestamping_constants` for every CRTC. I tested kms_vblank, all of them are SUCCESS/SKIP, do you know other tests that can trigger bugs? -- Louis Chauvet, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH 2/2] drm: Move crtc->{x, y, mode, enabled} to legacy sub-structure

2024-10-03 Thread Louis Chauvet
u16 crtc_width = crtc_state->base.crtc->legacy.mode.hdisplay; u16 crtc_height = crtc_state->base.mode.vdisplay; u16 crtc_width = crtc_state->base.mode.hdisplay; > struct vkms_writeback_job *active_wb; > struct vkms_frame_info *wb_frame_info; > u32 wb_format = fb->format->format; [...] -- Louis Chauvet, Bootlin Embedded Linux and Kernel engineering https://bootlin.com