drm_device managed resources
Subsystems (35)
PATCH 46/52 drm/gm12u320: Simplify upload work
In reply to Daniel VetterInstead of having a work item that never stops (which really should be a kthread), with a dedicated workqueue to not upset anyone else, use a delayed work. A bunch of changes:
- We can throw out all the custom wakeup and requeue logic and state tracking. If we schedule the work with a 0 delay it'll get scheduled immediately.
- Persistent state (frame & draw_status_timeout) need to be moved out of the work.
- diff is bigger than the changes, biggest chunk is reindenting the work fn because it lost its while loop.
Lots of code deleting as consequence all over. Specifically we can delete the drm_driver.release code now!
--- drivers/gpu/drm/tiny/gm12u320.c | 170 +++++++++++++------------------- 1 file changed, 67 insertions(+), 103 deletions(-)
drivers/gpu/drm/tiny/gm12u320.c +67 -103
@@ -89,13 +89,12 @@ struct gm12u320_device {unsigned char *cmd_buf;unsigned char *data_buf[GM12U320_BLOCK_COUNT ];struct { -bool run; -struct workqueue_struct *workq; -struct work_struct work; -wait_queue_head_t waitq; +struct delayed_work work;struct mutex lock;struct drm_framebuffer *fb;struct drm_rect rect; +int frame; +int draw_status_timeout; } fb_update; };
@@ -183,19 +182,9 @@ static int gm12u320_usb_alloc(struct gm12u320_device *gm12u320) data_block_footer, DATA_BLOCK_FOOTER_SIZE); } - gm12u320->fb_update.workq =create_singlethread_workqueue (DRIVER_NAME ); -if (!gm12u320->fb_update.workq) -return -ENOMEM ; -return 0 ; } -static void gm12u320_usb_free (struct gm12u320_device *gm12u320) -{ -if (gm12u320->fb_update.workq) -destroy_workqueue (gm12u320->fb_update.workq); -} -static int gm12u320_misc_request (struct gm12u320_device *gm12u320,u8 req_a,u8 req_b,u8 arg_a,u8 arg_b,u8 arg_c,u8 arg_d)
@@ -338,80 +327,76 @@ static void gm12u320_copy_fb_to_blocks(struct gm12u320_device *gm12u320)static void gm12u320_fb_update_work (struct work_struct *work) {struct gm12u320_device *gm12u320 = - container_of(work, struct gm12u320_device, fb_update.work); -int draw_status_timeout =FIRST_FRAME_TIMEOUT ; + container_of(to_delayed_work(work), struct gm12u320_device, + fb_update.work);int block, block_size, len; -int frame =0 ;int ret =0 ; -while (gm12u320->fb_update.run) { -gm12u320_copy_fb_to_blocks (gm12u320); - -for (block =0 ; block <GM12U320_BLOCK_COUNT ; block++) { -if (block ==GM12U320_BLOCK_COUNT -1 ) - block_size =DATA_LAST_BLOCK_SIZE ; -else - block_size =DATA_BLOCK_SIZE ; - -/* Send data command to device */ -memcpy (gm12u320->cmd_buf, cmd_data,CMD_SIZE ); - gm12u320->cmd_buf[8 ] = block_size &0xff ; - gm12u320->cmd_buf[9 ] = block_size >>8 ; - gm12u320->cmd_buf[20 ] =0xfc - block *4 ; - gm12u320->cmd_buf[21 ] = block | (frame <<7 ); - - ret =usb_bulk_msg (gm12u320->udev, -usb_sndbulkpipe (gm12u320->udev,DATA_SND_EPT ), - gm12u320->cmd_buf,CMD_SIZE , &len, -CMD_TIMEOUT ); -if (ret || len !=CMD_SIZE ) - goto err; - -/* Send data block to device */ - ret =usb_bulk_msg (gm12u320->udev, -usb_sndbulkpipe (gm12u320->udev,DATA_SND_EPT ), - gm12u320->data_buf[block], block_size, - &len,DATA_TIMEOUT ); -if (ret || len != block_size) - goto err; - -/* Read status */ - ret =usb_bulk_msg (gm12u320->udev, -usb_rcvbulkpipe (gm12u320->udev,DATA_RCV_EPT ), - gm12u320->cmd_buf,READ_STATUS_SIZE , &len, -CMD_TIMEOUT ); -if (ret || len !=READ_STATUS_SIZE ) - goto err; - } +gm12u320_copy_fb_to_blocks (gm12u320); + +for (block =0 ; block <GM12U320_BLOCK_COUNT ; block++) { +if (block ==GM12U320_BLOCK_COUNT -1 ) + block_size =DATA_LAST_BLOCK_SIZE ; +else + block_size =DATA_BLOCK_SIZE ; + +/* Send data command to device */ +memcpy (gm12u320->cmd_buf, cmd_data,CMD_SIZE ); + gm12u320->cmd_buf[8 ] = block_size &0xff ; + gm12u320->cmd_buf[9 ] = block_size >>8 ; + gm12u320->cmd_buf[20 ] =0xfc - block *4 ; + gm12u320->cmd_buf[21 ] = + block | (gm12u320->fb_update.frame <<7 ); -/* Send draw command to device */ -memcpy (gm12u320->cmd_buf, cmd_draw,CMD_SIZE ); ret =usb_bulk_msg (gm12u320->udev,usb_sndbulkpipe (gm12u320->udev,DATA_SND_EPT ), - gm12u320->cmd_buf,CMD_SIZE , &len,CMD_TIMEOUT ); + gm12u320->cmd_buf,CMD_SIZE , &len, +CMD_TIMEOUT );if (ret || len !=CMD_SIZE ) goto err; +/* Send data block to device */ + ret =usb_bulk_msg (gm12u320->udev, +usb_sndbulkpipe (gm12u320->udev,DATA_SND_EPT ), + gm12u320->data_buf[block], block_size, + &len,DATA_TIMEOUT ); +if (ret || len != block_size) + goto err; +/* Read status */ ret =usb_bulk_msg (gm12u320->udev,usb_rcvbulkpipe (gm12u320->udev,DATA_RCV_EPT ), gm12u320->cmd_buf,READ_STATUS_SIZE , &len, - draw_status_timeout); +CMD_TIMEOUT );if (ret || len !=READ_STATUS_SIZE ) goto err; - - draw_status_timeout =CMD_TIMEOUT ; - frame = !frame; - -/* -* We must draw a frame every 2s otherwise the projector -* switches back to showing its logo. -*/ -wait_event_timeout (gm12u320->fb_update.waitq, - !gm12u320->fb_update.run || - gm12u320->fb_update.fb !=NULL , -IDLE_TIMEOUT ); } + +/* Send draw command to device */ +memcpy (gm12u320->cmd_buf, cmd_draw,CMD_SIZE ); + ret =usb_bulk_msg (gm12u320->udev, +usb_sndbulkpipe (gm12u320->udev,DATA_SND_EPT ), + gm12u320->cmd_buf,CMD_SIZE , &len,CMD_TIMEOUT ); +if (ret || len !=CMD_SIZE ) + goto err; + +/* Read status */ + ret =usb_bulk_msg (gm12u320->udev, +usb_rcvbulkpipe (gm12u320->udev,DATA_RCV_EPT ), + gm12u320->cmd_buf,READ_STATUS_SIZE , &len, + gm12u320->fb_update.draw_status_timeout); +if (ret || len !=READ_STATUS_SIZE ) + goto err; + + gm12u320->fb_update.draw_status_timeout =CMD_TIMEOUT ; + gm12u320->fb_update.frame = !gm12u320->fb_update.frame; + +/* +* We must draw a frame every 2s otherwise the projector +* switches back to showing its logo. +*/ +schedule_delayed_work (&gm12u320->fb_update.work,IDLE_TIMEOUT ); +return ; err:/* Do not log errors caused by module unload or device unplug */
@@ -446,36 +431,24 @@ static void gm12u320_fb_mark_dirty(struct drm_framebuffer *fb,mutex_unlock (&gm12u320->fb_update.lock);if (wakeup) -wake_up (&gm12u320->fb_update.waitq); +schedule_delayed_work (&gm12u320->fb_update.work,0 );if (old_fb)drm_framebuffer_put (old_fb); } -static void gm12u320_start_fb_update (struct gm12u320_device *gm12u320) -{ -mutex_lock (&gm12u320->fb_update.lock); - gm12u320->fb_update.run = true; -mutex_unlock (&gm12u320->fb_update.lock); - -queue_work (gm12u320->fb_update.workq, &gm12u320->fb_update.work); -} -static void gm12u320_stop_fb_update (struct gm12u320_device *gm12u320) { -mutex_lock (&gm12u320->fb_update.lock); - gm12u320->fb_update.run = false; -mutex_unlock (&gm12u320->fb_update.lock); +struct drm_framebuffer *old_fb; -wake_up (&gm12u320->fb_update.waitq); -cancel_work_sync (&gm12u320->fb_update.work); +cancel_delayed_work_sync (&gm12u320->fb_update.work);mutex_lock (&gm12u320->fb_update.lock); -if (gm12u320->fb_update.fb) { -drm_framebuffer_put (gm12u320->fb_update.fb); - gm12u320->fb_update.fb =NULL ; - } + old_fb = gm12u320->fb_update.fb; + gm12u320->fb_update.fb =NULL ;mutex_unlock (&gm12u320->fb_update.lock); + +drm_framebuffer_put (old_fb); }static int gm12u320_set_ecomode (struct gm12u320_device *gm12u320)
@@ -583,11 +556,11 @@ static void gm12u320_pipe_enable(struct drm_simple_display_pipe *pipe,struct drm_crtc_state *crtc_state, struct drm_plane_state *plane_state) { - struct gm12u320_device *gm12u320 = pipe->crtc.dev->dev_private; struct drm_rect rect = { 0, 0, GM12U320_USER_WIDTH, GM12U320_HEIGHT }; +struct gm12u320_device *gm12u320 = pipe->crtc.dev->dev_private; + gm12u320->fb_update.draw_status_timeout =FIRST_FRAME_TIMEOUT ;gm12u320_fb_mark_dirty (plane_state->fb, &rect); -gm12u320_start_fb_update (gm12u320); }static void gm12u320_pipe_disable (struct drm_simple_display_pipe *pipe)
@@ -622,13 +595,6 @@ static const uint64_t gm12u320_pipe_modifiers[] = {DRM_FORMAT_MOD_INVALID }; -static void gm12u320_driver_release (struct drm_device *dev) -{ -struct gm12u320_device *gm12u320 = dev->dev_private; - -gm12u320_usb_free (gm12u320); -} -DEFINE_DRM_GEM_FOPS (gm12u320_fops);static struct drm_driver gm12u320_drm_driver = {
@@ -640,7 +606,6 @@ static struct drm_driver gm12u320_drm_driver = { .major = DRIVER_MAJOR, .minor = DRIVER_MINOR, - .release = gm12u320_driver_release, .fops = &gm12u320_fops, DRM_GEM_SHMEM_DRIVER_OPS, };
@@ -670,9 +635,8 @@ static int gm12u320_usb_probe(struct usb_interface *interface,return -ENOMEM ; gm12u320->udev =interface_to_usbdev (interface); -INIT_WORK (&gm12u320->fb_update.work, gm12u320_fb_update_work); +INIT_DELAYED_WORK (&gm12u320->fb_update.work, gm12u320_fb_update_work);mutex_init (&gm12u320->fb_update.lock); -init_waitqueue_head (&gm12u320->fb_update.waitq); dev = &gm12u320->dev; ret =devm_drm_dev_init (&interface->dev, dev, &gm12u320_drm_driver);
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 47/52 drm/repaper: Drop explicit drm_mode_config_cleanup call
In reply to Daniel VetterAllows us to drop the drm_driver.release callback.
--- drivers/gpu/drm/tiny/repaper.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/gpu/drm/tiny/repaper.c +0 -8
@@ -909,13 +909,6 @@ static const struct drm_mode_config_funcs repaper_mode_config_funcs = { .atomic_commit = drm_atomic_helper_commit, }; -static void repaper_release (struct drm_device *drm) -{ -DRM_DEBUG_DRIVER ("\n" ); - -drm_mode_config_cleanup (drm); -} -static const uint32_t repaper_formats[] = {DRM_FORMAT_XRGB8888 , };
@@ -953,7 +946,6 @@ DEFINE_DRM_GEM_CMA_FOPS(repaper_fops);static struct drm_driver repaper_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &repaper_fops, - .release = repaper_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .name ="repaper" , .desc ="Pervasive Displays RePaper e-ink panels" ,
Signature · 6 lines
2.24.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 47/52] drm/repaper: Drop explicit drm_mode_config_cleanup call
Den 19.02.2020 11.21, skrev Daniel Vetter:
Quoted 5 lines
Allows us to drop the drm_driver.release callback.
Signed-off-by Daniel Vetter <[email protected]>Cc "Noralf Trønnes" <[email protected]>---
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 48/52 drm/mipi-dbi: Move drm_mode_config_init into mipi library
In reply to Daniel Vetter7/7 drivers agree that's the right choice, let's do this.
This avoids duplicating the same old error checking code over all 7 drivers, which is the motivation here.
--- drivers/gpu/drm/drm_mipi_dbi.c | 4 ++++ drivers/gpu/drm/tiny/hx8357d.c | 2 -- drivers/gpu/drm/tiny/ili9225.c | 2 -- drivers/gpu/drm/tiny/ili9341.c | 2 -- drivers/gpu/drm/tiny/ili9486.c | 2 -- drivers/gpu/drm/tiny/mi0283qt.c | 2 -- drivers/gpu/drm/tiny/st7586.c | 2 -- drivers/gpu/drm/tiny/st7735r.c | 2 -- 8 files changed, 4 insertions(+), 14 deletions(-)
drivers/gpu/drm/drm_mipi_dbi.c +4 -0
@@ -510,6 +510,10 @@ int mipi_dbi_dev_init_with_formats(struct mipi_dbi_dev *dbidev,if (!dbidev->dbi.command)return -EINVAL ; + ret =drm_mode_config_init (drm); +if (ret) +return ret; + dbidev->tx_buf =devm_kmalloc (drm->dev, tx_buf_size,GFP_KERNEL );if (!dbidev->tx_buf)return -ENOMEM ;
drivers/gpu/drm/tiny/hx8357d.c +0 -2
@@ -239,8 +239,6 @@ static int hx8357d_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - dc =devm_gpiod_get (dev,"dc" ,GPIOD_OUT_LOW );if (IS_ERR (dc)) {DRM_DEV_ERROR (dev,"Failed to get gpio 'dc'\n" );
drivers/gpu/drm/tiny/ili9225.c +0 -2
@@ -390,8 +390,6 @@ static int ili9225_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - dbi->reset =devm_gpiod_get (dev,"reset" ,GPIOD_OUT_HIGH );if (IS_ERR (dbi->reset)) {DRM_DEV_ERROR (dev,"Failed to get gpio 'reset'\n" );
drivers/gpu/drm/tiny/ili9341.c +0 -2
@@ -197,8 +197,6 @@ static int ili9341_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - dbi->reset =devm_gpiod_get_optional (dev,"reset" ,GPIOD_OUT_HIGH );if (IS_ERR (dbi->reset)) {DRM_DEV_ERROR (dev,"Failed to get gpio 'reset'\n" );
drivers/gpu/drm/tiny/ili9486.c +0 -2
@@ -211,8 +211,6 @@ static int ili9486_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - dbi->reset =devm_gpiod_get (dev,"reset" ,GPIOD_OUT_HIGH );if (IS_ERR (dbi->reset)) {DRM_DEV_ERROR (dev,"Failed to get gpio 'reset'\n" );
drivers/gpu/drm/tiny/mi0283qt.c +0 -2
@@ -201,8 +201,6 @@ static int mi0283qt_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - dbi->reset =devm_gpiod_get_optional (dev,"reset" ,GPIOD_OUT_HIGH );if (IS_ERR (dbi->reset)) {DRM_DEV_ERROR (dev,"Failed to get gpio 'reset'\n" );
drivers/gpu/drm/tiny/st7586.c +0 -2
@@ -331,8 +331,6 @@ static int st7586_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - bufsize = (st7586_mode.vdisplay +2 ) /3 * st7586_mode.hdisplay; dbi->reset =devm_gpiod_get (dev,"reset" ,GPIOD_OUT_HIGH );
drivers/gpu/drm/tiny/st7735r.c +0 -2
@@ -212,8 +212,6 @@ static int st7735r_probe(struct spi_device *spi) }drmm_add_final_kfree (drm, dbidev); -drm_mode_config_init (drm); - dbi->reset =devm_gpiod_get (dev,"reset" ,GPIOD_OUT_HIGH );if (IS_ERR (dbi->reset)) {DRM_DEV_ERROR (dev,"Failed to get gpio 'reset'\n" );
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 48/52] drm/mipi-dbi: Move drm_mode_config_init into mipi library
Den 19.02.2020 11.21, skrev Daniel Vetter:
Quoted 7 lines
7/7 drivers agree that's the right choice, let's do this.
This avoids duplicating the same old error checking code over all 7 drivers, which is the motivation here.
Signed-off-by Daniel Vetter <[email protected]>---
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 49/52 drm/mipi-dbi: Drop explicit drm_mode_config_cleanup call
In reply to Daniel VetterAllows us to drop the drm_driver.release callback from all drivers, and remove the mipi_dbi_release() function.
--- drivers/gpu/drm/drm_mipi_dbi.c | 16 ---------------- drivers/gpu/drm/tiny/hx8357d.c | 1 - drivers/gpu/drm/tiny/ili9225.c | 1 - drivers/gpu/drm/tiny/ili9341.c | 1 - drivers/gpu/drm/tiny/ili9486.c | 1 - drivers/gpu/drm/tiny/mi0283qt.c | 1 - drivers/gpu/drm/tiny/st7586.c | 1 - drivers/gpu/drm/tiny/st7735r.c | 1 - include/drm/drm_mipi_dbi.h | 1 - 9 files changed, 24 deletions(-)
drivers/gpu/drm/drm_mipi_dbi.c +0 -16
@@ -582,22 +582,6 @@ int mipi_dbi_dev_init(struct mipi_dbi_dev *dbidev, }EXPORT_SYMBOL (mipi_dbi_dev_init); -/** -* mipi_dbi_release - DRM driver release helper -* @drm: DRM device -* -* This function finalizes and frees &mipi_dbi. -* -* Drivers can use this as their &drm_driver->release callback. -*/ -void mipi_dbi_release (struct drm_device *drm) -{ -DRM_DEBUG_DRIVER ("\n" ); - -drm_mode_config_cleanup (drm); -} -EXPORT_SYMBOL (mipi_dbi_release); -/** * mipi_dbi_hw_reset - Hardware reset of controller * @dbi: MIPI DBI structure
drivers/gpu/drm/tiny/hx8357d.c +0 -1
@@ -196,7 +196,6 @@ DEFINE_DRM_GEM_CMA_FOPS(hx8357d_fops);static struct drm_driver hx8357d_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &hx8357d_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .debugfs_init = mipi_dbi_debugfs_init, .name ="hx8357d" ,
drivers/gpu/drm/tiny/ili9225.c +0 -1
@@ -346,7 +346,6 @@ DEFINE_DRM_GEM_CMA_FOPS(ili9225_fops);static struct drm_driver ili9225_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &ili9225_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .name ="ili9225" , .desc ="Ilitek ILI9225" ,
drivers/gpu/drm/tiny/ili9341.c +0 -1
@@ -152,7 +152,6 @@ DEFINE_DRM_GEM_CMA_FOPS(ili9341_fops);static struct drm_driver ili9341_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &ili9341_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .debugfs_init = mipi_dbi_debugfs_init, .name ="ili9341" ,
drivers/gpu/drm/tiny/ili9486.c +0 -1
@@ -165,7 +165,6 @@ DEFINE_DRM_GEM_CMA_FOPS(ili9486_fops);static struct drm_driver ili9486_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &ili9486_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .debugfs_init = mipi_dbi_debugfs_init, .name ="ili9486" ,
drivers/gpu/drm/tiny/mi0283qt.c +0 -1
@@ -156,7 +156,6 @@ DEFINE_DRM_GEM_CMA_FOPS(mi0283qt_fops);static struct drm_driver mi0283qt_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &mi0283qt_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .debugfs_init = mipi_dbi_debugfs_init, .name ="mi0283qt" ,
drivers/gpu/drm/tiny/st7586.c +0 -1
@@ -285,7 +285,6 @@ DEFINE_DRM_GEM_CMA_FOPS(st7586_fops);static struct drm_driver st7586_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &st7586_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .debugfs_init = mipi_dbi_debugfs_init, .name ="st7586" ,
drivers/gpu/drm/tiny/st7735r.c +0 -1
@@ -157,7 +157,6 @@ DEFINE_DRM_GEM_CMA_FOPS(st7735r_fops);static struct drm_driver st7735r_driver = { .driver_features =DRIVER_GEM |DRIVER_MODESET |DRIVER_ATOMIC , .fops = &st7735r_fops, - .release = mipi_dbi_release,DRM_GEM_CMA_VMAP_DRIVER_OPS , .debugfs_init = mipi_dbi_debugfs_init, .name ="st7735r" ,
include/drm/drm_mipi_dbi.h +0 -1
@@ -152,7 +152,6 @@ int mipi_dbi_dev_init_with_formats(struct mipi_dbi_dev *dbidev,int mipi_dbi_dev_init (struct mipi_dbi_dev *dbidev,const struct drm_simple_display_pipe_funcs *funcs,const struct drm_display_mode *mode,unsigned int rotation); -void mipi_dbi_release (struct drm_device *drm);void mipi_dbi_pipe_update (struct drm_simple_display_pipe *pipe,struct drm_plane_state *old_state); void mipi_dbi_enable_flush(struct mipi_dbi_dev *dbidev,
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 49/52] drm/mipi-dbi: Drop explicit drm_mode_config_cleanup call
Den 19.02.2020 11.21, skrev Daniel Vetter:
Quoted 14 lines
Allows us to drop the drm_driver.release callback from all drivers, and remove the
mipi_dbi_release()function.Signed-off-by Daniel Vetter <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Eric Anholt <[email protected]>Cc David Lechner <[email protected]>Cc Kamlesh Gurudasani <[email protected]>Cc "Noralf Trønnes" <[email protected]>Cc Sam Ravnborg <[email protected]>
Quoted 1 line
---
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 50/52 drm/udl: Drop explicit drm_mode_config_cleanup call
In reply to Daniel VetterIt's right above the drm_dev_put().
This allows us to delete a bit of onion unwinding in udl_modeset_init().
--- drivers/gpu/drm/udl/udl_drv.c | 1 - drivers/gpu/drm/udl/udl_drv.h | 1 - drivers/gpu/drm/udl/udl_modeset.c | 21 ++++++--------------- 3 files changed, 6 insertions(+), 17 deletions(-)
drivers/gpu/drm/udl/udl_drv.c +0 -1
@@ -37,7 +37,6 @@ DEFINE_DRM_GEM_FOPS(udl_driver_fops);static void udl_driver_release (struct drm_device *dev) {udl_fini (dev); -udl_modeset_cleanup (dev); }static struct drm_driver driver = {
drivers/gpu/drm/udl/udl_drv.h +0 -1
@@ -68,7 +68,6 @@ struct udl_device {/* modeset */ int udl_modeset_init (struct drm_device *dev); -void udl_modeset_cleanup (struct drm_device *dev);struct drm_connector *udl_connector_init (struct drm_device *dev);struct urb *udl_get_urb (struct drm_device *dev);
drivers/gpu/drm/udl/udl_modeset.c +6 -15
@@ -468,7 +468,9 @@ int udl_modeset_init(struct drm_device *dev)struct drm_connector *connector;int ret; -drm_mode_config_init (dev); + ret =drm_mode_config_init (dev); +if (ret) +return ret; dev->mode_config.min_width =640 ; dev->mode_config.min_height =480 ;
@@ -482,10 +484,8 @@ int udl_modeset_init(struct drm_device *dev) dev->mode_config.funcs = &udl_mode_funcs; connector =udl_connector_init (dev); -if (IS_ERR (connector)) { - ret =PTR_ERR (connector); - goto err_drm_mode_config_cleanup; - } +if (IS_ERR (connector)) +return PTR_ERR (connector); format_count =ARRAY_SIZE (udl_simple_display_pipe_formats);
@@ -494,18 +494,9 @@ int udl_modeset_init(struct drm_device *dev) udl_simple_display_pipe_formats, format_count, NULL, connector);if (ret) - goto err_drm_mode_config_cleanup; +return ret;drm_mode_config_reset (dev);return 0 ; - -err_drm_mode_config_cleanup: -drm_mode_config_cleanup (dev); -return ret; -} - -void udl_modeset_cleanup (struct drm_device *dev) -{ -drm_mode_config_cleanup (dev); }
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 51/52 drm/udl: drop drm_driver.release hook
In reply to Daniel VetterThere's only two functions called from that:drm_kms_helper_poll_fini() and udl_free_urb_list(). Both of these are also called from the ubs_driver->disconnect hook, so entirely pointless to do the same again in the ->release hook.
Furthermore by the time we clean up the drm_driver we really shouldn't be touching hardware anymore, so stopping the poll worker and freeing the urb allocations in ->disconnect is the right thing to do.
Now disconnect still cleans things up before unregistering the driver, but that's a different issue.
--- drivers/gpu/drm/udl/udl_drv.c | 6 ------ drivers/gpu/drm/udl/udl_drv.h | 1 - drivers/gpu/drm/udl/udl_main.c | 10 ---------- 3 files changed, 17 deletions(-)
drivers/gpu/drm/udl/udl_drv.c +0 -6
@@ -34,14 +34,8 @@ static int udl_usb_resume(struct usb_interface *interface)DEFINE_DRM_GEM_FOPS (udl_driver_fops); -static void udl_driver_release (struct drm_device *dev) -{ -udl_fini (dev); -} -static struct drm_driver driver = { .driver_features =DRIVER_ATOMIC |DRIVER_GEM |DRIVER_MODESET , - .release = udl_driver_release,/* gem hooks */ .gem_create_object = udl_driver_gem_create_object,
drivers/gpu/drm/udl/udl_drv.h +0 -1
@@ -76,7 +76,6 @@ int udl_submit_urb(struct drm_device *dev, struct urb *urb, size_t len);void udl_urb_completion (struct urb *urb);int udl_init (struct udl_device *udl); -void udl_fini (struct drm_device *dev); int udl_render_hline(struct drm_device *dev, int log_bpp, struct urb **urb_ptr, const char *front, char **urb_buf_ptr,
drivers/gpu/drm/udl/udl_main.c +0 -10
@@ -351,13 +351,3 @@ int udl_drop_usb(struct drm_device *dev)udl_free_urb_list (dev);return 0 ; } - -void udl_fini (struct drm_device *dev) -{ -struct udl_device *udl =to_udl (dev); - -drm_kms_helper_poll_fini (dev); - -if (udl->urbs.count) -udl_free_urb_list (dev); -}
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 52/52 drm: Add docs for managed resources
In reply to Daniel VetterAll collected together to provide a consistent story in one patch, instead of the somewhat bumpy refactor-evolution leading to this.
Also some thoughts on what the next steps could be:
- Create a macro called devm_drm_dev_alloc() which essentially wraps the kzalloc(); devm_drm_dev_init(); drmm_add_final_kfree() combo. Needs to be a macro since we'll have to do some typeof trickery and casting to make this fully generic for all drivers that embed struct drm_device into their own thing.
- A lot of the simple drivers now have essentially just drm_dev_unplug(); drm_atomic_helper_shutdown(); as their $bus_driver->remove hook. We could create a devm_mode_config_reset which sets drm_atomic_helper_shutdown as it's cleanup action, and a devm_drm_dev_register with drm_dev_unplug as it's cleanup action, and simple drivers wouldn't have a need for a ->remove function at all, and we could delete them.
- For more complicated drivers we need drmm_ versions of a _lot_ more things. All the userspace visible objects (crtc, plane, encoder, crtc), anything else hanging of those (maybe a drmm_get_edid, at least for panels and other built-in stuff).
Also some more thoughts on why we're not reusing devm_ with maybe a fake struct device embedded into the drm_device (we can't use the kdev, since that's in each drm_minor).
- Code review gets extremely tricky, since every time you see a devm_ you need to carefully check whether the fake device (with the drm_device lifetim) or the real device (with the lifetim of the underlying physical device and driver binding) are used. That's not going to help at all, and we have enormous amounts of drivers who use devm_ where they really shouldn't. Having different types makes sure the compiler type checks this for us and ensures correctness.
- The set of functions are very much non-overlapping. E.g. devm_ioremap makes total sense, drmm_ioremap has the wrong lifetime, since hw resources need to be cleaned out at driver unbind and wont outlive that like a drm_device. Similar, but other way round for drmm_connector_init (which is the only correct version, devm_ for drm_connector is just buggy). Simply not having the wrong version again prevents bugs.
Finally I guess this opens a huge todo for all the drivers. I'm semi-tempted to do a tree-wide s/devm_kzalloc/drmm_kzalloc/ since most likely that'll fix an enormous amount of bugs and most likely not cause any issues at all (aside from maybe holding onto memory slightly too long).
--- Documentation/gpu/drm-internals.rst | 6 +++ drivers/gpu/drm/drm_drv.c | 18 +++++++-- drivers/gpu/drm/drm_managed.c | 63 ++++++++++++++++++++++++++++- include/drm/drm_drv.h | 4 ++ include/drm/drm_managed.h | 47 +++++++++++++++++++++ 5 files changed, 134 insertions(+), 4 deletions(-)
Documentation/gpu/drm-internals.rst +6 -0
@@ -138,6 +138,12 @@ Managed Resources .. kernel-doc:: drivers/gpu/drm/drm_managed.c :doc: managed resources +.. kernel-doc:: drivers/gpu/drm/drm_managed.c + :export: + +.. kernel-doc:: include/drm/drm_managed.h + :internal: + Bus-specific Device Registration and PCI Support ------------------------------------------------
drivers/gpu/drm/drm_drv.c +15 -3
@@ -258,9 +258,15 @@ void drm_minor_release(struct drm_minor *minor)* any other resources allocated at device initialization and drop the driver's * reference to &drm_device using drm_dev_put(). * -* Note that the lifetime rules for &drm_device instance has still a lot of -* historical baggage. Hence use the reference counting provided by -* drm_dev_get() and drm_dev_put() only carefully. +* Note that any allocation or resource which is visible to userspace must be +* released only when the final drm_dev_put() is called, and not when the +* driver is unbound from the underlying physical struct &device. Best to use +* &drm_device managed resources with drmm_add_action(), drmm_kmalloc() and +* related functions. +* +* devres managed resources like devm_kmalloc() can only be used for resources +* directly related to the underlying hardware device, and only used in code +* paths fully protected by drm_dev_enter() and drm_dev_exit(). * * Display driver example * ~~~~~~~~~~~~~~~~~~~~~~
@@ -604,6 +610,9 @@ static void drm_dev_init_release(struct drm_device *dev, void *res)* arbitrary offset, you must supply a &drm_driver.release callback and control * the finalization explicitly. * +* Note that drivers must call drmm_add_final_kfree() after this function has +* completed successfully. +* * RETURNS: * 0 on success, or error code on failure. */
@@ -705,6 +714,9 @@ static void devm_drm_dev_init_release(void *data)* Managed drm_dev_init(). The DRM device initialized with this function is * automatically put on driver detach using drm_dev_put(). * +* Note that drivers must call drmm_add_final_kfree() after this function has +* completed successfully. +* * RETURNS: * 0 on success, or error code on failure. */
drivers/gpu/drm/drm_managed.c +62 -1
102 lines not on this page · raw message
include/drm/drm_drv.h +4 -0
@@ -266,6 +266,10 @@ struct drm_driver {* * Optional callback for destroying device data after the final * reference is released, i.e. the device is being destroyed. +* +* This is deprecated, clean up all memory allocations associated with a +* &drm_device using drmm_add_action(), drmm_kmalloc() and related +* managed resources functions. */ void (*release) (struct drm_device *);
include/drm/drm_managed.h +47 -0
71 lines not on this page · raw message
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 52/52] drm: Add docs for managed resources
Hi Daniel,
Thank you for the patch.
Quoted 10 lines · Daniel Vetter
All collected together to provide a consistent story in one patch, instead of the somewhat bumpy refactor-evolution leading to this.
Also some thoughts on what the next steps could be:
- Create a macro called
devm_drm_dev_alloc()which essentially wraps thekzalloc();devm_drm_dev_init();drmm_add_final_kfree()combo. Needs to be a macro since we'll have to do some typeof trickery and casting to make this fully generic for all drivers that embed structdrm_deviceinto their own thing.
Do you think it would be hard to do this already, in order to avoid drmm_add_final_kfree() ?
Quoted 8 lines
- A lot of the simple drivers now have essentially just
drm_dev_unplug();drm_atomic_helper_shutdown(); as their $bus_driver->remove hook. We could create adevm_mode_config_resetwhich setsdrm_atomic_helper_shutdownas it's cleanup action, and adevm_drm_dev_registerwithdrm_dev_unplugas it's cleanup action, and simple drivers wouldn't have a need for a ->remove function at all, and we could delete them.
Quoted 4 lines
- For more complicated drivers we need
drmm_versions of a _lot_ more things. All the userspace visible objects (crtc, plane, encoder, crtc), anything else hanging of those (maybe adrmm_get_edid, at least for panels and other built-in stuff).
I think it will get messy if we try to use the managed API for too many things.
Quoted 103 lines
Also some more thoughts on why we're not reusing
devm_with maybe a fake struct device embedded into thedrm_device(we can't use the kdev, since that's in eachdrm_minor).- Code review gets extremely tricky, since every time you see a
devm_you need to carefully check whether the fake device (with thedrm_devicelifetim) or the real device (with the lifetim of the underlying physical device and driver binding) are used. That's not going to help at all, and we have enormous amounts of drivers who usedevm_where they really shouldn't. Having different types makes sure the compiler type checks this for us and ensures correctness.- The set of functions are very much non-overlapping. E.g.
devm_ioremapmakes total sense,drmm_ioremaphas the wrong lifetime, since hw resources need to be cleaned out at driver unbind and wont outlive that like adrm_device. Similar, but other way round fordrmm_connector_init(which is the only correct version,devm_fordrm_connectoris just buggy). Simply not having the wrong version again prevents bugs.Finally I guess this opens a huge todo for all the drivers. I'm semi-tempted to do a tree-wide s/devm_kzalloc/drmm_kzalloc/ since most likely that'll fix an enormous amount of bugs and most likely not cause any issues at all (aside from maybe holding onto memory slightly too long).
Signed-off-by Daniel Vetter <[email protected]>--- Documentation/gpu/drm-internals.rst | 6 +++ drivers/gpu/drm/drm_drv.c | 18 +++++++-- drivers/gpu/drm/drm_managed.c | 63 ++++++++++++++++++++++++++++- include/drm/drm_drv.h | 4 ++ include/drm/drm_managed.h | 47 +++++++++++++++++++++ 5 files changed, 134 insertions(+), 4 deletions(-)Documentation/gpu/drm-internals.rst +6
-0@@ -138,6 +138,12 @@ Managed Resources .. kernel-doc:: drivers/gpu/drm/drm_managed.c :doc: managed resources +.. kernel-doc:: drivers/gpu/drm/drm_managed.c + :export: + +.. kernel-doc:: include/drm/drm_managed.h + :internal: + Bus-specific Device Registration and PCI Support ------------------------------------------------drivers/gpu/drm/drm_drv.c +15
-3@@ -258,9 +258,15 @@ void drm_minor_release(struct drm_minor *minor)* any other resources allocated at device initialization and drop the driver's * reference to &drm_device using drm_dev_put(). * -* Note that the lifetime rules for &drm_device instance has still a lot of -* historical baggage. Hence use the reference counting provided by -* drm_dev_get() and drm_dev_put() only carefully. +* Note that any allocation or resource which is visible to userspace must be +* released only when the final drm_dev_put() is called, and not when the +* driver is unbound from the underlying physical struct &device. Best to use +* &drm_device managed resources with drmm_add_action(), drmm_kmalloc() and +* related functions. +* +* devres managed resources like devm_kmalloc() can only be used for resources +* directly related to the underlying hardware device, and only used in code +* paths fully protected by drm_dev_enter() and drm_dev_exit(). * * Display driver example * ~~~~~~~~~~~~~~~~~~~~~~ @@ -604,6 +610,9 @@ static void drm_dev_init_release(struct drm_device *dev, void *res)* arbitrary offset, you must supply a &drm_driver.release callback and control * the finalization explicitly. * +* Note that drivers must call drmm_add_final_kfree() after this function has +* completed successfully. +* * RETURNS: * 0 on success, or error code on failure. */ @@ -705,6 +714,9 @@ static void devm_drm_dev_init_release(void *data)* Managed drm_dev_init(). The DRM device initialized with this function is * automatically put on driver detach using drm_dev_put(). * +* Note that drivers must call drmm_add_final_kfree() after this function has +* completed successfully. +* * RETURNS: * 0 on success, or error code on failure. */ drivers/gpu/drm/drm_managed.c +0
-0@@ -17,10 +17,22 @@/** * DOC: managed resources *
drivers/gpu/drm/drm_managed.c line 28
Quoted 10 lines
drivers/gpu/drm/drm_managed.c +7
-1-* Inspired by sturct &device managed resources, but tied to the lifetime of +* Inspired by struct &device managed resources, but tied to the lifetime of * struct &drm_device, which can outlive the underlying physical device, usually * when userspace has some open files and other handles to resources still open. +* +* Release actions can be added with drmm_add_action(), memory allocations can +* be done directly with drmm_kmalloc() and the related functions. Everything +* will be released on the final drm_dev_put() in reverse order of how the +* release actions have been added and memory has been allocated at driver load +* time.
Maybe drop "at driver load time" as it could also happen later ?
drivers/gpu/drm/drm_managed.c line 32
Quoted 4 lines
drivers/gpu/drm/drm_managed.c +4
-0+* +* Note that release actions and managed memory can also be added and removed +* during the lifetime of the driver, all the functions are fully concurrent +* safe. But it is recommended to use managed resources only when they change
s/only when they/only for resources that/ ?
Quoted 26 lines
drivers/gpu/drm/drm_managed.c +14
-0+* rarely, if ever, during the lifetime of the &drm_device instance. */ +struct drmres_node {struct list_head entry;drmres_release_t release;@@ -102,6 +114,18 @@ void add_dr(struct drm_device *dev, struct drmres *dr) dr, dr->node.name, (unsigned long) dr->node.size); } +/** +* drmm_add_final_kfree - add release action for the final kfree() +* @dev: DRM device +* @data: pointer to the kmalloc allocation containing @dev +* +* Since the allocation containing the struct &drm_device must be allocated +* before it can be initialized with drm_dev_init() there's no way to allocate +* that memory with drmm_kmalloc(). To side-step this chicken-egg problem the +* pointer for this final kfree() must be specified by calling this function. It +* will be released in the final drm_dev_put() for @dev, after all other release +* actions installed through drmm_add_action() have been processed. +*/ void drmm_add_final_kfree (struct drm_device *dev,void *parent) {WARN_ON (dev->managed.final_kfree);
drivers/gpu/drm/drm_managed.c int __drmm_add_action(struct drm_device *dev, · line 160
Quoted 5 lines
drivers/gpu/drm/drm_managed.c +2
-0@@ -132,6 +156,14 @@ int __drmm_add_action(struct drm_device *dev, }EXPORT_SYMBOL (__drmm_add_action); +/** +* drmm_add_action - remave a managed release action to a &drm_device
s/remave/remove/
drivers/gpu/drm/drm_managed.c int __drmm_add_action(struct drm_device *dev, · line 165
Quoted 5 lines
drivers/gpu/drm/drm_managed.c +5
-0+* @dev: DRM device +* @action: release function +* @data: opaque pointer, passed to @action +* +* This function removes a release action added by drmm_add_action.
s/drmm_add_action/drmm_add_action()/
Quoted 22 lines
drivers/gpu/drm/drm_managed.c +11
-0+*/ void drmm_remove_action (struct drm_device *dev,drmres_release_t action,void *data)@@ -160,6 +192,16 @@ void drmm_remove_action(struct drm_device *dev, }EXPORT_SYMBOL (drmm_remove_action); +/** +* drmm_kmalloc - &drm_device managed kmalloc() +* @dev: DRM device +* @size: size of the memory allocation +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kmalloc(). The allocated memory is +* automatically freed on the final drm_dev_put(). Memory can also be freed +* before the final drm_dev_put() by calling drmm_kfree(). +*/ void *drmm_kmalloc (struct drm_device *dev,size_t size,gfp_t gfp) {struct drmres *dr;
drivers/gpu/drm/drm_managed.c void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) · line 223
Quoted 7 lines
drivers/gpu/drm/drm_managed.c +4
-0@@ -175,6 +217,16 @@ void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) }EXPORT_SYMBOL (drmm_kmalloc); +/** +* drmm_kstrdup - &drm_device managed kstrdup() +* @dev: DRM device +* @size: 0 terminated string to be duplicated
s/0 terminated/0-terminated/
Quoted 30 lines
drivers/gpu/drm/drm_managed.c +15
-0+* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kstrdup(). The allocated memory is +* automatically freed on the final drm_dev_put() and works exactly like a +* memory allocation obtained by drmm_kmalloc(). +*/ char *drmm_kstrdup (struct drm_device *dev,const char *s,gfp_t gfp) {size_t size;@@ -191,6 +243,15 @@ char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp) }EXPORT_SYMBOL_GPL (drmm_kstrdup); +/** +* drmm_kfree - &drm_device managed kfree() +* @dev: DRM device +* @data: memory allocation to be freed +* +* This is a &drm_device managed version of kfree() which can be used to +* release memory allocated through drmm_kmalloc() or any of its related +* functions before the final drm_dev_put() of @dev. +*/ void drmm_kfree (struct drm_device *dev,void *data) {struct drmres *dr =NULL , *tmp;include/drm/drm_drv.h +0
-0
include/drm/drm_drv.h struct drm_driver { · line 272
Quoted 7 lines
include/drm/drm_drv.h +4
-0@@ -266,6 +266,10 @@ struct drm_driver {* * Optional callback for destroying device data after the final * reference is released, i.e. the device is being destroyed. +* +* This is deprecated, clean up all memory allocations associated with a +* &drm_device using drmm_add_action(), drmm_kmalloc() and related +* managed resources functions.
I'm afraid we can't necessarily do this. Drivers may create multiple userspace-facing devices, or other resources used within the kernel (for instance a driver could expose both a DRM and a V4L2 device, or registers clocks used by other devices). We thus need a .release() function in the general case to handle this, as the top-level structure needs to be reference-counted.
I agree this isn't the norm, so we can document the .release() function as being rarely used, and recommend the drmm_* API, but we can't deprecate it completely.
Quoted 8 lines
include/drm/drm_drv.h +0
-0*/ void (*release) (struct drm_device *);include/drm/drm_managed.h +0
-0
include/drm/drm_managed.h struct drm_device; · line 17
Quoted 10 lines
include/drm/drm_managed.h +7
-0@@ -8,6 +8,19 @@ struct drm_device;typedef void (*drmres_release_t )(struct drm_device *dev,void *res); +/** +* drmm_add_action - add a managed release action to a &drm_device +* @dev: DRM device +* @action: function which should be called when @dev is released +* @data: opaque pointer, passed to @action +* +* This function adds the @release action wwith optional parameter @data to the
s/wwith/with/
Quoted 23 lines
include/drm/drm_managed.h +16
-0+* list of cleanup actions for @dev. The cleanup actions will be run in reverse +* order in the final drm_dev_put() call for @dev. +* +* A release action can be removed before @dev is released by calling +* drmm_remove_action() with matching parameters for @action and @data. +*/ #define drmm_add_action (dev, action, data) \ __drmm_add_action(dev, action, data, #action)@@ -22,12 +35,45 @@ void drmm_remove_action(struct drm_device *dev,void drmm_add_final_kfree (struct drm_device *dev,void *parent);void *drmm_kmalloc (struct drm_device *dev,size_t size,gfp_t gfp) __malloc; + +/** +* drmm_kzalloc - &drm_device managed kzalloc() +* @dev: DRM device +* @size: size of the memory allocation +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kzalloc(). The allocated memory is +* automatically freed on the final drm_dev_put(). Memory can also be freed +* before the final drm_dev_put() by calling drmm_kfree().
include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 57
Quoted 10 lines
include/drm/drm_managed.h +6
-0+*/ static inline void *drmm_kzalloc (struct drm_device *dev,size_t size,gfp_t gfp) {return drmm_kmalloc (dev, size, gfp | __GFP_ZERO); } + +/** +* drmm_kmalloc_array - &drm_device managed kmalloc_array() +* @dev: DRM device +* @size: 0 terminated string to be duplicated
s/0 terminated/0-terminated/
include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 70
Quoted 13 lines
include/drm/drm_managed.h +11
-0+* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kmalloc_array(). The allocated +* memory is automatically freed on the final drm_dev_put() and works exactly +* like a memory allocation obtained by drmm_kmalloc(). +*/ static inline void *drmm_kmalloc_array (struct drm_device *dev,size_t n,size_t size,gfp_t flags) + +/** +* drmm_kcalloc - &drm_device managed kcalloc() +* @dev: DRM device +* @size: 0 terminated string to be duplicated
Ditto.
Quoted 17 lines
include/drm/drm_managed.h +7
-0+* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kcalloc(). The allocated memory is +* automatically freed on the final drm_dev_put() and works exactly like a +* memory allocation obtained by drmm_kmalloc(). +*/ {size_t bytes;@@ -41,6 +87,7 @@ static inline void *drmm_kcalloc(struct drm_device *dev, {return drmm_kmalloc_array (dev, n, size, flags | __GFP_ZERO); } +char *drmm_kstrdup (struct drm_device *dev,const char *s,gfp_t gfp);void drmm_kfree (struct drm_device *dev,void *data);
Signature · 7 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 52/52] drm: Add docs for managed resources
Quoted 11 lines · Laurent Pinchart
Hi Daniel,
Thank you for the patch.
Quoted 5 lines · Daniel Vetter
All collected together to provide a consistent story in one patch, instead of the somewhat bumpy refactor-evolution leading to this.
Also some thoughts on what the next steps could be:
Quoted 8 lines
Quoted 5 lines
- Create a macro called
devm_drm_dev_alloc()which essentially wraps thekzalloc();devm_drm_dev_init();drmm_add_final_kfree()combo. Needs to be a macro since we'll have to do some typeof trickery and casting to make this fully generic for all drivers that embed structdrm_deviceinto their own thing.Do you think it would be hard to do this already, in order to avoid
drmm_add_final_kfree()?
It's another 31 patches on top of this 52 patch series. Not hard per se, but there's a lot going on already here, and a lot of this is very tricky stuff that required endless amounts of reviewing everything. I'd like to do the more automated stuff as a follow-up if possible, I'm pretty sure I've not see a huge amount of exceptions from the normal pattern. Iirc vgem and vkms need a rework to invert their cleanup logic, so add 2 more patches for those. Everything else follows the standard pattern iirc.
Quoted 8 lines
Quoted 8 lines
- A lot of the simple drivers now have essentially just
drm_dev_unplug();drm_atomic_helper_shutdown(); as their $bus_driver->remove hook. We could create adevm_mode_config_resetwhich setsdrm_atomic_helper_shutdownas it's cleanup action, and adevm_drm_dev_registerwithdrm_dev_unplugas it's cleanup action, and simple drivers wouldn't have a need for a ->remove function at all, and we could delete them.
Quoted 7 lines
Quoted 4 lines
- For more complicated drivers we need
drmm_versions of a _lot_ more things. All the userspace visible objects (crtc, plane, encoder, crtc), anything else hanging of those (maybe adrmm_get_edid, at least for panels and other built-in stuff).I think it will get messy if we try to use the managed API for too many things.
Hm why? I kinda plan to use it for everything you'd want to clean up from drm_driver.release.
Quoted 107 lines
Quoted 107 lines
Also some more thoughts on why we're not reusing
devm_with maybe a fake struct device embedded into thedrm_device(we can't use the kdev, since that's in eachdrm_minor).- Code review gets extremely tricky, since every time you see a
devm_you need to carefully check whether the fake device (with thedrm_devicelifetim) or the real device (with the lifetim of the underlying physical device and driver binding) are used. That's not going to help at all, and we have enormous amounts of drivers who usedevm_where they really shouldn't. Having different types makes sure the compiler type checks this for us and ensures correctness.- The set of functions are very much non-overlapping. E.g.
devm_ioremapmakes total sense,drmm_ioremaphas the wrong lifetime, since hw resources need to be cleaned out at driver unbind and wont outlive that like adrm_device. Similar, but other way round fordrmm_connector_init(which is the only correct version,devm_fordrm_connectoris just buggy). Simply not having the wrong version again prevents bugs.Finally I guess this opens a huge todo for all the drivers. I'm semi-tempted to do a tree-wide s/devm_kzalloc/drmm_kzalloc/ since most likely that'll fix an enormous amount of bugs and most likely not cause any issues at all (aside from maybe holding onto memory slightly too long).
Signed-off-by Daniel Vetter <[email protected]>--- Documentation/gpu/drm-internals.rst | 6 +++ drivers/gpu/drm/drm_drv.c | 18 +++++++-- drivers/gpu/drm/drm_managed.c | 63 ++++++++++++++++++++++++++++- include/drm/drm_drv.h | 4 ++ include/drm/drm_managed.h | 47 +++++++++++++++++++++ 5 files changed, 134 insertions(+), 4 deletions(-)Documentation/gpu/drm-internals.rst +6
-0@@ -138,6 +138,12 @@ Managed Resources .. kernel-doc:: drivers/gpu/drm/drm_managed.c :doc: managed resources +.. kernel-doc:: drivers/gpu/drm/drm_managed.c + :export: + +.. kernel-doc:: include/drm/drm_managed.h + :internal: + Bus-specific Device Registration and PCI Support ------------------------------------------------drivers/gpu/drm/drm_drv.c +15
-3@@ -258,9 +258,15 @@ void drm_minor_release(struct drm_minor *minor)* any other resources allocated at device initialization and drop the driver's * reference to &drm_device using drm_dev_put(). * -* Note that the lifetime rules for &drm_device instance has still a lot of -* historical baggage. Hence use the reference counting provided by -* drm_dev_get() and drm_dev_put() only carefully. +* Note that any allocation or resource which is visible to userspace must be +* released only when the final drm_dev_put() is called, and not when the +* driver is unbound from the underlying physical struct &device. Best to use +* &drm_device managed resources with drmm_add_action(), drmm_kmalloc() and +* related functions. +* +* devres managed resources like devm_kmalloc() can only be used for resources +* directly related to the underlying hardware device, and only used in code +* paths fully protected by drm_dev_enter() and drm_dev_exit(). * * Display driver example * ~~~~~~~~~~~~~~~~~~~~~~ @@ -604,6 +610,9 @@ static void drm_dev_init_release(struct drm_device *dev, void *res)* arbitrary offset, you must supply a &drm_driver.release callback and control * the finalization explicitly. * +* Note that drivers must call drmm_add_final_kfree() after this function has +* completed successfully. +* * RETURNS: * 0 on success, or error code on failure. */ @@ -705,6 +714,9 @@ static void devm_drm_dev_init_release(void *data)* Managed drm_dev_init(). The DRM device initialized with this function is * automatically put on driver detach using drm_dev_put(). * +* Note that drivers must call drmm_add_final_kfree() after this function has +* completed successfully. +* * RETURNS: * 0 on success, or error code on failure. */ drivers/gpu/drm/drm_managed.c +1
-1@@ -17,10 +17,22 @@/** * DOC: managed resources * -* Inspired by sturct &device managed resources, but tied to the lifetime of +* Inspired by struct &device managed resources, but tied to the lifetime of * struct &drm_device, which can outlive the underlying physical device, usually * when userspace has some open files and other handles to resources still open.
Quoted 8 lines
drivers/gpu/drm/drm_managed.c line 28
Quoted 6 lines
drivers/gpu/drm/drm_managed.c +6
-0+* +* Release actions can be added with drmm_add_action(), memory allocations can +* be done directly with drmm_kmalloc() and the related functions. Everything +* will be released on the final drm_dev_put() in reverse order of how the +* release actions have been added and memory has been allocated at driver load +* time. Maybe drop "at driver load time" as it could also happen later ?
Maybe "since driver loading started with drm_dev_init()"?
Quoted 126 lines
drivers/gpu/drm/drm_managed.c line 32
Quoted 4 lines
drivers/gpu/drm/drm_managed.c +4
-0+* +* Note that release actions and managed memory can also be added and removed +* during the lifetime of the driver, all the functions are fully concurrent +* safe. But it is recommended to use managed resources only when they change s/only when they/only for resources that/ ?
Quoted 26 lines
drivers/gpu/drm/drm_managed.c +14
-0+* rarely, if ever, during the lifetime of the &drm_device instance. */ +struct drmres_node {struct list_head entry;drmres_release_t release;@@ -102,6 +114,18 @@ void add_dr(struct drm_device *dev, struct drmres *dr) dr, dr->node.name, (unsigned long) dr->node.size); } +/** +* drmm_add_final_kfree - add release action for the final kfree() +* @dev: DRM device +* @data: pointer to the kmalloc allocation containing @dev +* +* Since the allocation containing the struct &drm_device must be allocated +* before it can be initialized with drm_dev_init() there's no way to allocate +* that memory with drmm_kmalloc(). To side-step this chicken-egg problem the +* pointer for this final kfree() must be specified by calling this function. It +* will be released in the final drm_dev_put() for @dev, after all other release +* actions installed through drmm_add_action() have been processed. +*/ void drmm_add_final_kfree (struct drm_device *dev,void *parent) {WARN_ON (dev->managed.final_kfree);drivers/gpu/drm/drm_managed.c int __drmm_add_action(struct drm_device *dev, · line 160
Quoted 5 lines
drivers/gpu/drm/drm_managed.c +2
-0@@ -132,6 +156,14 @@ int __drmm_add_action(struct drm_device *dev, }EXPORT_SYMBOL (__drmm_add_action); +/** +* drmm_add_action - remave a managed release action to a &drm_device s/remave/remove/
drivers/gpu/drm/drm_managed.c int __drmm_add_action(struct drm_device *dev, · line 165
Quoted 5 lines
drivers/gpu/drm/drm_managed.c +5
-0+* @dev: DRM device +* @action: release function +* @data: opaque pointer, passed to @action +* +* This function removes a release action added by drmm_add_action. s/drmm_add_action/drmm_add_action()/
Quoted 22 lines
drivers/gpu/drm/drm_managed.c +11
-0+*/ void drmm_remove_action (struct drm_device *dev,drmres_release_t action,void *data)@@ -160,6 +192,16 @@ void drmm_remove_action(struct drm_device *dev, }EXPORT_SYMBOL (drmm_remove_action); +/** +* drmm_kmalloc - &drm_device managed kmalloc() +* @dev: DRM device +* @size: size of the memory allocation +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kmalloc(). The allocated memory is +* automatically freed on the final drm_dev_put(). Memory can also be freed +* before the final drm_dev_put() by calling drmm_kfree(). +*/ void *drmm_kmalloc (struct drm_device *dev,size_t size,gfp_t gfp) {struct drmres *dr;drivers/gpu/drm/drm_managed.c void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) · line 223
Quoted 7 lines
drivers/gpu/drm/drm_managed.c +4
-0@@ -175,6 +217,16 @@ void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) }EXPORT_SYMBOL (drmm_kmalloc); +/** +* drmm_kstrdup - &drm_device managed kstrdup() +* @dev: DRM device +* @size: 0 terminated string to be duplicated s/0 terminated/0-terminated/
Quoted 30 lines
drivers/gpu/drm/drm_managed.c +15
-0+* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kstrdup(). The allocated memory is +* automatically freed on the final drm_dev_put() and works exactly like a +* memory allocation obtained by drmm_kmalloc(). +*/ char *drmm_kstrdup (struct drm_device *dev,const char *s,gfp_t gfp) {size_t size;@@ -191,6 +243,15 @@ char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp) }EXPORT_SYMBOL_GPL (drmm_kstrdup); +/** +* drmm_kfree - &drm_device managed kfree() +* @dev: DRM device +* @data: memory allocation to be freed +* +* This is a &drm_device managed version of kfree() which can be used to +* release memory allocated through drmm_kmalloc() or any of its related +* functions before the final drm_dev_put() of @dev. +*/ void drmm_kfree (struct drm_device *dev,void *data) {struct drmres *dr =NULL , *tmp;include/drm/drm_drv.h +0
-0include/drm/drm_drv.h struct drm_driver { · line 272
Quoted 7 lines
include/drm/drm_drv.h +4
-0@@ -266,6 +266,10 @@ struct drm_driver {* * Optional callback for destroying device data after the final * reference is released, i.e. the device is being destroyed. +* +* This is deprecated, clean up all memory allocations associated with a +* &drm_device using drmm_add_action(), drmm_kmalloc() and related +* managed resources functions. I'm afraid we can't necessarily do this. Drivers may create multiple userspace-facing devices, or other resources used within the kernel (for instance a driver could expose both a DRM and a V4L2 device, or registers clocks used by other devices). We thus need a .release() function in the general case to handle this, as the top-level structure needs to be reference-counted.
Quoted 3 lines
I agree this isn't the norm, so we can document the .release() function as being rarely used, and recommend the drmm_* API, but we can't deprecate it completely.
drmm_add_action(drm_device, put_the_overall_thing, the_overall_thing); is what I have in mind for anyone that still needs a ->release function for special stuff.
So instead of a single release function you get an unlimited number of them, and the single release function becomes kinda pointless.
Agreed on all your other minor suggestions, I'll go ahead and add them. -Daniel
Quoted 96 lines
Quoted 9 lines
include/drm/drm_drv.h +0
-0*/ void (*release) (struct drm_device *);include/drm/drm_managed.h +0
-0include/drm/drm_managed.h struct drm_device; · line 17
Quoted 10 lines
include/drm/drm_managed.h +7
-0@@ -8,6 +8,19 @@ struct drm_device;typedef void (*drmres_release_t )(struct drm_device *dev,void *res); +/** +* drmm_add_action - add a managed release action to a &drm_device +* @dev: DRM device +* @action: function which should be called when @dev is released +* @data: opaque pointer, passed to @action +* +* This function adds the @release action wwith optional parameter @data to the s/wwith/with/
Quoted 23 lines
include/drm/drm_managed.h +16
-0+* list of cleanup actions for @dev. The cleanup actions will be run in reverse +* order in the final drm_dev_put() call for @dev. +* +* A release action can be removed before @dev is released by calling +* drmm_remove_action() with matching parameters for @action and @data. +*/ #define drmm_add_action (dev, action, data) \ __drmm_add_action(dev, action, data, #action)@@ -22,12 +35,45 @@ void drmm_remove_action(struct drm_device *dev,void drmm_add_final_kfree (struct drm_device *dev,void *parent);void *drmm_kmalloc (struct drm_device *dev,size_t size,gfp_t gfp) __malloc; + +/** +* drmm_kzalloc - &drm_device managed kzalloc() +* @dev: DRM device +* @size: size of the memory allocation +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kzalloc(). The allocated memory is +* automatically freed on the final drm_dev_put(). Memory can also be freed +* before the final drm_dev_put() by calling drmm_kfree(). include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 57
Quoted 10 lines
include/drm/drm_managed.h +6
-0+*/ static inline void *drmm_kzalloc (struct drm_device *dev,size_t size,gfp_t gfp) {return drmm_kmalloc (dev, size, gfp | __GFP_ZERO); } + +/** +* drmm_kmalloc_array - &drm_device managed kmalloc_array() +* @dev: DRM device +* @size: 0 terminated string to be duplicated s/0 terminated/0-terminated/
include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 70
Quoted 13 lines
include/drm/drm_managed.h +11
-0+* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kmalloc_array(). The allocated +* memory is automatically freed on the final drm_dev_put() and works exactly +* like a memory allocation obtained by drmm_kmalloc(). +*/ static inline void *drmm_kmalloc_array (struct drm_device *dev,size_t n,size_t size,gfp_t flags) + +/** +* drmm_kcalloc - &drm_device managed kcalloc() +* @dev: DRM device +* @size: 0 terminated string to be duplicated Ditto.
Quoted 10 lines
include/drm/drm_managed.h +6
-0+* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kcalloc(). The allocated memory is +* automatically freed on the final drm_dev_put() and works exactly like a +* memory allocation obtained by drmm_kmalloc(). +*/ {size_t bytes;include/drm/drm_managed.h static inline void *drmm_kcalloc(struct drm_device *dev, · line 93
Quoted 7 lines
include/drm/drm_managed.h +1
-0@@ -41,6 +87,7 @@ static inline void *drmm_kcalloc(struct drm_device *dev, {return drmm_kmalloc_array (dev, n, size, flags | __GFP_ZERO); } +char *drmm_kstrdup (struct drm_device *dev,const char *s,gfp_t gfp);void drmm_kfree (struct drm_device *dev,void *data);--
Regards,Laurent Pinchart
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 52/52] drm: Add docs for managed resources
In reply to Daniel VetterHi Daniel.
In general I think I could follow the documentation, this is good. If the overall design is the best possible I cannot say, but looks sane to me.
I like the drmm_ naming as a counterpart to devm_, each handling resources with different lifetimes.
What I miss in all of this is how do other subsystems deal with the different lifetime of their stuff?
Or maybe only drm really has this issue?
Anything we could learn from others?
Some more or less clueless comments in the following. Filter as usual.
And a bikeshedding detail.
"dev" is in my vocalubary a "struct device". So each time I see a "dev" I think a struct device.
drm or ddev makes me think of struct drm_device - with the former being my favorite.
Sam
Quoted 5 lines
+ * Note that any allocation or resource which is visible to userspace must be
+ * released only when the finaldrm_dev_put()is called, and not when the
+ * driver is unbound from the underlying physical struct &device. Best to use
+ *&drm_devicemanaged resources withdrmm_add_action(),drmm_kmalloc()and
+ * related functions.
Best to use => Maybe "It is recommended to use ..."
Quoted 4 lines
+ *
+ * devres managed resources likedevm_kmalloc()can only be used for resources
+ * directly related to the underlying hardware device, and only used in code
+ * paths fully protected bydrm_dev_enter()anddrm_dev_exit().
Maybe this is obvious to others, but maybe add just a bit more about what is required to be "fully protected". Or maybe this is already documented somewhere else?
In drm_dev_enter() the term "critical section" is used.
I gues this is the section that is fully protected.
drivers/gpu/drm/drm_managed.c line 20
Quoted 10 lines
drivers/gpu/drm/drm_managed.c +1
-1@@ -17,10 +17,22 @@/** * DOC: managed resources * -* Inspired by sturct &device managed resources, but tied to the lifetime of +* Inspired by struct &device managed resources, but tied to the lifetime of
Maybe fix this when the text is added.
drivers/gpu/drm/drm_managed.c void add_dr(struct drm_device *dev, struct drmres *dr)
Quoted 8 lines
drivers/gpu/drm/drm_managed.c +8
-0+/** +* drmm_add_final_kfree - add release action for the final kfree() +* @dev: DRM device +* @data: pointer to the kmalloc allocation containing @dev +* +* Since the allocation containing the struct &drm_device must be allocated +* before it can be initialized with drm_dev_init() there's no way to allocate +* that memory with drmm_kmalloc().
To side-step this chicken-egg problem the
drivers/gpu/drm/drm_managed.c void add_dr(struct drm_device *dev, struct drmres *dr) · line 127
Quoted 3 lines
drivers/gpu/drm/drm_managed.c +3
-0+* pointer for this final kfree() must be specified by calling this function. It +* will be released in the final drm_dev_put() for @dev, after all other release +* actions installed through drmm_add_action() have been processed.
Or maybe
Use drmm_add_final_kfree() to record that the allocation must be released as the last step when the final drm_dev_put() for @dev is called.
drivers/gpu/drm/drm_managed.c int __drmm_add_action(struct drm_device *dev, · line 160
Quoted 10 lines
drivers/gpu/drm/drm_managed.c +3
-0+*/ void drmm_add_final_kfree (struct drm_device *dev,void *parent) {WARN_ON (dev->managed.final_kfree);@@ -132,6 +156,14 @@ int __drmm_add_action(struct drm_device *dev, }EXPORT_SYMBOL (__drmm_add_action); +/** +* drmm_add_action - remave a managed release action to a &drm_device
s/remave/remove/
"action to a &drm_device" => "action from a &drm_device"?
drivers/gpu/drm/drm_managed.c void drmm_remove_action(struct drm_device *dev, · line 203
Quoted 13 lines
drivers/gpu/drm/drm_managed.c +9
-0@@ -160,6 +192,16 @@ void drmm_remove_action(struct drm_device *dev, }EXPORT_SYMBOL (drmm_remove_action); +/** +* drmm_kmalloc - &drm_device managed kmalloc() +* @dev: DRM device +* @size: size of the memory allocation +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kmalloc(). The allocated memory is +* automatically freed on the final drm_dev_put(). Memory can also be freed +* before the final drm_dev_put() by calling drmm_kfree().
RETURNS: ?
Quoted 7 lines
drivers/gpu/drm/drm_managed.c +1
-0+*/ void *drmm_kmalloc (struct drm_device *dev,size_t size,gfp_t gfp) {struct drmres *dr;@@ -175,6 +217,16 @@ void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) }EXPORT_SYMBOL (drmm_kmalloc);
drivers/gpu/drm/drm_managed.c void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) · line 228
Quoted 10 lines
drivers/gpu/drm/drm_managed.c +9
-0+/** +* drmm_kstrdup - &drm_device managed kstrdup() +* @dev: DRM device +* @size: 0 terminated string to be duplicated +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kstrdup(). The allocated memory is +* automatically freed on the final drm_dev_put() and works exactly like a +* memory allocation obtained by drmm_kmalloc().
RETURNS: ?
Quoted 15 lines
drivers/gpu/drm/drm_managed.c +1
-0+*/ char *drmm_kstrdup (struct drm_device *dev,const char *s,gfp_t gfp) {size_t size;@@ -191,6 +243,15 @@ char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp) }EXPORT_SYMBOL_GPL (drmm_kstrdup);include/drm/drm_managed.h +0
-0
include/drm/drm_managed.h struct drm_device; · line 17
Quoted 10 lines
include/drm/drm_managed.h +7
-0@@ -8,6 +8,19 @@ struct drm_device;typedef void (*drmres_release_t )(struct drm_device *dev,void *res); +/** +* drmm_add_action - add a managed release action to a &drm_device +* @dev: DRM device +* @action: function which should be called when @dev is released +* @data: opaque pointer, passed to @action +* +* This function adds the @release action wwith optional parameter @data to the
s/wwith/with/
Quoted 13 lines
include/drm/drm_managed.h +6
-0+* list of cleanup actions for @dev. The cleanup actions will be run in reverse +* order in the final drm_dev_put() call for @dev. +* +* A release action can be removed before @dev is released by calling +* drmm_remove_action() with matching parameters for @action and @data. +*/ #define drmm_add_action (dev, action, data) \ __drmm_add_action(dev, action, data, #action)@@ -22,12 +35,45 @@ void drmm_remove_action(struct drm_device *dev,void drmm_add_final_kfree (struct drm_device *dev,void *parent);void *drmm_kmalloc (struct drm_device *dev,size_t size,gfp_t gfp) __malloc;
include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 47
Quoted 10 lines
include/drm/drm_managed.h +10
-0+ +/** +* drmm_kzalloc - &drm_device managed kzalloc() +* @dev: DRM device +* @size: size of the memory allocation +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kzalloc(). The allocated memory is +* automatically freed on the final drm_dev_put(). Memory can also be freed +* before the final drm_dev_put() by calling drmm_kfree().
RETURNS: ?
Quoted 5 lines
include/drm/drm_managed.h +1
-0+*/ static inline void *drmm_kzalloc (struct drm_device *dev,size_t size,gfp_t gfp) {return drmm_kmalloc (dev, size, gfp | __GFP_ZERO); }
include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 62
Quoted 10 lines
include/drm/drm_managed.h +10
-0+ +/** +* drmm_kmalloc_array - &drm_device managed kmalloc_array() +* @dev: DRM device +* @size: 0 terminated string to be duplicated +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kmalloc_array(). The allocated +* memory is automatically freed on the final drm_dev_put() and works exactly +* like a memory allocation obtained by drmm_kmalloc().
RETURNS: ?
include/drm/drm_managed.h void drmm_remove_action(struct drm_device *dev, · line 75
Quoted 13 lines
include/drm/drm_managed.h +11
-0+*/ static inline void *drmm_kmalloc_array (struct drm_device *dev,size_t n,size_t size,gfp_t flags) + +/** +* drmm_kcalloc - &drm_device managed kcalloc() +* @dev: DRM device +* @size: 0 terminated string to be duplicated +* @gfp: GFP allocation flags +* +* This is a &drm_device managed version of kcalloc(). The allocated memory is +* automatically freed on the final drm_dev_put() and works exactly like a +* memory allocation obtained by drmm_kmalloc().
RETURNS: ?
Quoted 19 lines
include/drm/drm_managed.h +2
-0+*/ {size_t bytes;@@ -41,6 +87,7 @@ static inline void *drmm_kcalloc(struct drm_device *dev, {return drmm_kmalloc_array (dev, n, size, flags | __GFP_ZERO); } +char *drmm_kstrdup (struct drm_device *dev,const char *s,gfp_t gfp);void drmm_kfree (struct drm_device *dev,void *data);Signature · 6 lines
2.24.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 52/52] drm: Add docs for managed resources
Hi Daniel.
Quoted 4 lines
What I miss in all of this is how do other subsystems deal with the different lifetime of their stuff?
Or maybe only drm really has this issue?
Anything we could learn from others?
Reading through the thread - this is all covered in more than sufficient details in other mails. So forget this comment.
Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm_device managed resources
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: drm_device managed resources
URL : https://patchwork.freedesktop.org/series/73633/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 913ef020101d mm/sl[uo]b: export __kmalloc_track(_node)_caller -:57: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 28 lines checked5b8201a378ad drm/i915: Don't clear drvdata in ->release
-:35: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 9 lines checked7ffeeed91dd5 drm: add managed resources tied to drm_device
-:104: WARNING:NEEDLESS_IF: kfree(NULL) is safe and this check is probably not required #104: FILE: drivers/gpu/drm/drm_drv.c:843:
+ if (dev->managed.final_kfree)
+ kfree(dev->managed.final_kfree);
-:123: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #123:
new file mode 100644
-:172: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #172: FILE: drivers/gpu/drm/drm_managed.c:45:
+{
+
-:178: CHECK:SPACING: No space is necessary after a cast #178: FILE: drivers/gpu/drm/drm_managed.c:51:
+ dr, dr->node.name, (unsigned long) dr->node.size);
-:189: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #189: FILE: drivers/gpu/drm/drm_managed.c:62:
+static __always_inline struct drmres * alloc_dr(drmres_release_t release,
-:217: CHECK:SPACING: No space is necessary after a cast #217: FILE: drivers/gpu/drm/drm_managed.c:90:
+ dr, dr->node.name, (unsigned long) dr->node.size);
-:229: CHECK:SPACING: No space is necessary after a cast #229: FILE: drivers/gpu/drm/drm_managed.c:102:
+ dr, dr->node.name, (unsigned long) dr->node.size);
-:246: ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)" #246: FILE: drivers/gpu/drm/drm_managed.c:119:
+ dr = alloc_dr(action, data ? sizeof(void*) : 0,
-:252: CHECK:SPACING: No space is necessary after a cast #252: FILE: drivers/gpu/drm/drm_managed.c:125:
+ void_ptr = (void **) dr->data;
-:259: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #259: FILE: drivers/gpu/drm/drm_managed.c:132:
+
+}
-:318: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment #318: FILE: include/drm/drm_device.h:79:
+ spinlock_t lock;
-:330: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'include/drm/drm_managed.h', please use '/*' instead #330: FILE: include/drm/drm_managed.h:1:
+// SPDX-License-Identifier: GPL-2.0
-:330: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #330: FILE: include/drm/drm_managed.h:1:
+// SPDX-License-Identifier: GPL-2.0
-:378: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 2 errors, 5 warnings, 7 checks, 290 lines checked06b9d9ecc4bb drm: Set final_kfree in drm_dev_alloc
-:15: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0a6659bdc5e8 ("drm/bochs: new driver")' #15:
commit 0a6659bdc5e8221da99eebb176fd9591435e38de
-:25: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit b1df3a2b24a9 ("drm/virtio: add drm_driver.release callback.")' #25:
commit b1df3a2b24a917f8853d43fe9683c0e360d2c33a
-:41: WARNING:BAD_SIGN_OFF: Duplicate signature
#41:
Cc: Oleksandr Andrushchenko <[email protected]>
-:42: WARNING:BAD_SIGN_OFF: Duplicate signature #42:
Cc: [email protected]
-:84: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 2 errors, 3 warnings, 0 checks, 29 lines checked910313be66e8 drm/mipi_dbi: Use drmm_add_final_kfree in all drivers
-:186: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 111 lines checked1922e341743c drm/udl: Use drmm_add_final_kfree
-:48: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 21 lines checked2d7273b79215 drm/udl: Use drmm_add_final_kfree
-:38: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 9 lines checkede39595f35360 drm/qxl: Use drmm_add_final_kfree
-:46: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 22 lines checkedde874f4d1c0f drm/i915: Use drmm_add_final_kfree
-:177: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 114 lines checked88fd13f769d2 drm/cirrus: Use drmm_add_final_kfree
-:26: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:29: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:73: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 3 warnings, 0 checks, 40 lines checked5774e47048f1 drm/v3d: Use drmm_add_final_kfree
-:121: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 95 lines checked8978c7ce4cb1 drm/tidss: Use drmm_add_final_kfree
-:40: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 22 lines checked6b7e106ad130 drm/mcde: Use drmm_add_final_kfree
-:38: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 21 lines checked4be113f9f517 drm/vgem: Use drmm_add_final_kfree
-:65: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 38 lines checked55caa9d14bf2 drm/vkms: Use drmm_add_final_kfree
-:85: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 61 lines checkedd26af393fb38 drm/repaper: Use drmm_add_final_kfree
-:47: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 27 lines checked7f7340798ec9 drm/inigenic: Use drmm_add_final_kfree
-:42: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 25 lines checkedc9576f3a393f drm/gm12u320: Use drmm_add_final_kfree
-:38: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 21 lines checked8faf6ae9f858 drm/<drivers>: Use drmm_add_final_kfree
-:75: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 42 lines checkeddd0f91d8ffee drm: Cleanups after drmm_add_final_kfree rollout
-:59: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 38 lines checked028bfa683312 drm: Handle dev->unique with drmm_
-:71: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #71: FILE: include/drm/drm_managed.h:24:
}
+char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp);
-:73: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 1 checks, 45 lines checked5e79da2824c6 drm: Use drmm_ for drm_dev_init cleanup
-:32: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #32: FILE: drivers/gpu/drm/drm_drv.c:591:
+ * enabled. Slightly awkward, but can't really be helped. */
-:104: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 0 checks, 81 lines checked 1917e51b84f6 drm: manage drm_minor cleanup with drmm_ -:183: CHECK:SPACING: No space is necessary after a cast #183: FILE: drivers/gpu/drm/drm_managed.c:148:
+ * (void **) tmp->data == data) {
-:183: ERROR:SPACING: space prohibited after that '*' (ctx:ExW) #183: FILE: drivers/gpu/drm/drm_managed.c:148:
+ * (void **) tmp->data == data) {
^
-:215: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 1 errors, 1 warnings, 1 checks, 179 lines checked9671405e08a0 drm: Manage drm_gem_init with drmm_
-:105: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 75 lines checkedee3f053e5805 drm: Manage drm_vblank_cleanup with drmm_
-:142: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #142: FILE: include/drm/drm_managed.h:29:
}
+static inline void *drmm_kmalloc_array(struct drm_device *dev,
-:152: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #152: FILE: include/drm/drm_managed.h:39:
+}
+static inline void *drmm_kcalloc(struct drm_device *dev,
-:159: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 2 checks, 119 lines checkedf95ba04b629e drm: Garbage collect drm_dev_fini
-:11: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:14: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:270: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 3 warnings, 0 checks, 179 lines checked23340b1d8ce3 drm: Manage drm_mode_config_init with drmm_
-:147: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 98 lines checked76e7952b72a6 drm/bochs: Remove leftover drm_atomic_helper_shutdown
-:8: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 81da8c3b8d3d ("drm/bochs: add drm_driver.release callback.")' #8:
commit 81da8c3b8d3df6f05b11300b7d17ccd1f3017fab
-:30: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 1 errors, 1 warnings, 0 checks, 6 lines checked32cc07da94c2 drm/bochs: Drop explicit drm_mode_config_cleanup
-:87: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 47 lines checked91b2e8d4ddb0 drm/cirrus: Drop explicit drm_mode_config_cleanup call
-:20: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:23: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:86: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 3 warnings, 0 checks, 58 lines checked d0a6cee1f22d drm/cirrus: Fully embrace devm_
-:10: WARNING:TYPO_SPELLING: 'releated' may be misspelled - perhaps 'related'? #10:
anymore to use devm_ for everything hw releated. Do it, and in the
-:22: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:25: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:121: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 4 warnings, 0 checks, 93 lines checkedc727b16e0f8f drm/ingenic: Drop explicit drm_mode_config_cleanup call
-:46: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 29 lines checkedae3a84055194 drm/mcde: Drop explicit drm_mode_config_cleanup call
-:76: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 57 lines checked89b2135f4ca3 drm/mcde: More devm_drm_dev_init
-:60: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 37 lines checkede9af67dabd91 drm/meson: Drop explicit drm_mode_config_cleanup call
-:40: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 17 lines checked18975d3cbcc8 drm/pl111: Drop explicit drm_mode_config_cleanup call
-:59: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 38 lines checked894cc8a4ae26 drm/rcar-du: Drop explicit drm_mode_config_cleanup call
-:42: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 17 lines checked61318d398f4e drm/rockchip: Drop explicit drm_mode_config_cleanup call
-:59: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 32 lines checked0b9c31121f27 drm/stm: Drop explicit drm_mode_config_cleanup call
-:62: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 34 lines checked500e01e42690 drm/shmob: Drop explicit drm_mode_config_cleanup call
-:52: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 26 lines checkedffc1c40c19db drm/mtk: Drop explicit drm_mode_config_cleanup call
-:53: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 33 lines checked23ca53ec2412 drm/tidss: Drop explicit drm_mode_config_cleanup call
-:97: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 55 lines checked4f9b370f4d2b drm/gm12u320: More drmm_
-:76: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 50 lines checked27cf675129b9 drm/gm12u320: Use devm_drm_dev_init
-:88: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 65 lines checked915bcdb4e0ae drm/gm12u320: Use helpers for shutdown/suspend/resume
-:9: WARNING:TYPO_SPELLING: 'implemenation' may be misspelled - perhaps 'implementation'? #9:
Also there's a race in the disconnect implemenation. First shut
-:84: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 0 checks, 56 lines checked 7c5bdd5a00b3 drm/gm12u320: Simplify upload work
-:150: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #150: FILE: drivers/gpu/drm/tiny/gm12u320.c:360:
+ ret = usb_bulk_msg(gm12u320->udev,
+ usb_sndbulkpipe(gm12u320->udev, DATA_SND_EPT),
-:181: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #181: FILE: drivers/gpu/drm/tiny/gm12u320.c:378:
+ ret = usb_bulk_msg(gm12u320->udev,
+ usb_sndbulkpipe(gm12u320->udev, DATA_SND_EPT),
-:188: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #188: FILE: drivers/gpu/drm/tiny/gm12u320.c:385:
+ ret = usb_bulk_msg(gm12u320->udev,
+ usb_rcvbulkpipe(gm12u320->udev, DATA_RCV_EPT),
-:296: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 3 checks, 255 lines checkedbf2a234a3957 drm/repaper: Drop explicit drm_mode_config_cleanup call
-:39: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 20 lines checked74ef43fcef1b drm/mipi-dbi: Move drm_mode_config_init into mipi library
-:118: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 66 lines checkedb6a40d07bba7 drm/mipi-dbi: Drop explicit drm_mode_config_cleanup call
-:146: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 78 lines checked5c40275785f8 drm/udl: Drop explicit drm_mode_config_cleanup call
-:96: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 55 lines checkedbd18a1acdca1 drm/udl: drop drm_driver.release hook
-:81: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 24 lines checkedbaf6b6b7b969 drm: Add docs for managed resources
-:322: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 231 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm_device managed resources
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: drm_device managed resources
URL : https://patchwork.freedesktop.org/series/73633/
State : warning
== Summary ==
$ dim sparse origin/drm-tip Sparse version: v0.6.0 Commit: mm/sl[uo]b: export __kmalloc_track(_node)_caller Okay!
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm_device managed resources
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: drm_device managed resources
URL : https://patchwork.freedesktop.org/series/73633/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7963 -> Patchwork_16618
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/index.html
Known issues
------------
Here are the changes found in Patchwork_16618 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([i915#585]) +38 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_parallel@contexts:
- {fi-ehl-1}: [INCOMPLETE][3] ([i915#937]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-ehl-1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-ehl-1/igt@[email protected]
* igt@i915_selftest@live_active:
- fi-icl-dsi: [DMESG-FAIL][5] ([i915#765]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-dsi/igt@i915_selftest@live_active.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-icl-dsi/igt@i915_selftest@live_active.html
* igt@i915_selftest@live_gem_contexts:
- fi-cfl-8700k: [INCOMPLETE][7] ([i915#424]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-cfl-8700k/igt@i915_selftest@live_gem_contexts.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-cfl-8700k/igt@i915_selftest@live_gem_contexts.html
- fi-cml-s: [DMESG-FAIL][9] ([i915#877]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-cml-s/igt@i915_selftest@live_gem_contexts.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-cml-s/igt@i915_selftest@live_gem_contexts.html
* igt@i915_selftest@live_gt_heartbeat:
- fi-kbl-7500u: [DMESG-FAIL][11] ([fdo#112406]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-kbl-7500u/igt@i915_selftest@live_gt_heartbeat.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-kbl-7500u/igt@i915_selftest@live_gt_heartbeat.html
* igt@kms_flip@basic-flip-vs-wf_vblank:
- fi-bsw-n3050: [FAIL][13] ([i915#34]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank.html
#### Warnings ####
* igt@amdgpu/amd_prime@amd-to-i915:
- fi-icl-u3: [SKIP][15] ([fdo#109315]) -> [SKIP][16] ([fdo#109315] / [i915#585])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@amdgpu/[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-icl-u3/igt@amdgpu/[email protected]
* igt@i915_pm_rpm@basic-rte:
- fi-kbl-guc: [FAIL][17] ([i915#579]) -> [SKIP][18] ([fdo#109271])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-kbl-guc/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-kbl-guc/igt@[email protected]
* igt@kms_chamelium@dp-hpd-fast:
- fi-icl-u3: [SKIP][19] ([fdo#109284] / [fdo#111827]) -> [SKIP][20] ([fdo#109284] / [fdo#111827] / [i915#585])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-icl-u3/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-icl-u3: [SKIP][21] ([fdo#109285]) -> [SKIP][22] ([fdo#109285] / [i915#585])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/fi-icl-u3/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112406]: https://bugs.freedesktop.org/show_bug.cgi?id=112406
[i915#34]: https://gitlab.freedesktop.org/drm/intel/issues/34
[i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#585]: https://gitlab.freedesktop.org/drm/intel/issues/585
[i915#765]: https://gitlab.freedesktop.org/drm/intel/issues/765
[i915#877]: https://gitlab.freedesktop.org/drm/intel/issues/877
[i915#937]: https://gitlab.freedesktop.org/drm/intel/issues/937
Participating hosts (50 -> 44)
------------------------------
Additional (1): fi-kbl-7560u
Missing (7): fi-cml-u2 fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-byt-n2820 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7963 -> Patchwork_16618
CI-20190529: 20190529
CI_DRM_7963: e0d737598eb749378a5dc4ed3dfafc6f79d512cb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5448: 116020b1f83c1b3994c76882df7f77b6731d78ba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16618: baf6b6b7b9692fab9d65b3d1459d20b5e16eeb30 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
baf6b6b7b969 drm: Add docs for managed resources bd18a1acdca1 drm/udl: drop drm_driver.release hook 5c40275785f8 drm/udl: Drop explicit drm_mode_config_cleanup call b6a40d07bba7 drm/mipi-dbi: Drop explicit drm_mode_config_cleanup call 74ef43fcef1b drm/mipi-dbi: Move drm_mode_config_init into mipi library bf2a234a3957 drm/repaper: Drop explicit drm_mode_config_cleanup call 7c5bdd5a00b3 drm/gm12u320: Simplify upload work 915bcdb4e0ae drm/gm12u320: Use helpers for shutdown/suspend/resume 27cf675129b9 drm/gm12u320: Use devm_drm_dev_init 4f9b370f4d2b drm/gm12u320: More drmm_23ca53ec2412 drm/tidss: Drop explicit drm_mode_config_cleanup call ffc1c40c19db drm/mtk: Drop explicit drm_mode_config_cleanup call 500e01e42690 drm/shmob: Drop explicit drm_mode_config_cleanup call 0b9c31121f27 drm/stm: Drop explicit drm_mode_config_cleanup call 61318d398f4e drm/rockchip: Drop explicit drm_mode_config_cleanup call 894cc8a4ae26 drm/rcar-du: Drop explicit drm_mode_config_cleanup call 18975d3cbcc8 drm/pl111: Drop explicit drm_mode_config_cleanup call e9af67dabd91 drm/meson: Drop explicit drm_mode_config_cleanup call 89b2135f4ca3 drm/mcde: More devm_drm_dev_initae3a84055194 drm/mcde: Drop explicit drm_mode_config_cleanup call c727b16e0f8f drm/ingenic: Drop explicit drm_mode_config_cleanup call d0a6cee1f22d drm/cirrus: Fully embrace devm_91b2e8d4ddb0 drm/cirrus: Drop explicit drm_mode_config_cleanup call 32cc07da94c2 drm/bochs: Drop explicit drm_mode_config_cleanup 76e7952b72a6 drm/bochs: Remove leftover drm_atomic_helper_shutdown 23340b1d8ce3 drm: Manage drm_mode_config_init with drmm_ f95ba04b629e drm: Garbage collect drm_dev_finiee3f053e5805 drm: Manage drm_vblank_cleanup with drmm_ 9671405e08a0 drm: Manage drm_gem_init with drmm_ 1917e51b84f6 drm: manage drm_minor cleanup with drmm_ 5e79da2824c6 drm: Use drmm_ for drm_dev_init cleanup 028bfa683312 drm: Handle dev->unique with drmm_ dd0f91d8ffee drm: Cleanups after drmm_add_final_kfree rollout 8faf6ae9f858 drm/<drivers>: Use drmm_add_final_kfree c9576f3a393f drm/gm12u320: Use drmm_add_final_kfree 7f7340798ec9 drm/inigenic: Use drmm_add_final_kfree d26af393fb38 drm/repaper: Use drmm_add_final_kfree 55caa9d14bf2 drm/vkms: Use drmm_add_final_kfree 4be113f9f517 drm/vgem: Use drmm_add_final_kfree 6b7e106ad130 drm/mcde: Use drmm_add_final_kfree 8978c7ce4cb1 drm/tidss: Use drmm_add_final_kfree 5774e47048f1 drm/v3d: Use drmm_add_final_kfree88fd13f769d2 drm/cirrus: Use drmm_add_final_kfree de874f4d1c0f drm/i915: Use drmm_add_final_kfree e39595f35360 drm/qxl: Use drmm_add_final_kfree2d7273b79215 drm/udl: Use drmm_add_final_kfree1922e341743c drm/udl: Use drmm_add_final_kfree910313be66e8 drm/mipi_dbi: Use drmm_add_final_kfree in all drivers 06b9d9ecc4bb drm: Set final_kfree in drm_dev_alloc 7ffeeed91dd5 drm: add managed resources tied to drm_device 5b8201a378ad drm/i915: Don't clear drvdata in ->release 913ef020101d mm/sl[uo]b: export __kmalloc_track(_node)_caller
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm_device managed resources
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: drm_device managed resources
URL : https://patchwork.freedesktop.org/series/73633/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7963_full -> Patchwork_16618_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_16618_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_16618_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_16618_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_ctx_param@basic-default:
- shard-hsw: [PASS][1] -> [FAIL][2] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw2/igt@[email protected]
- shard-snb: [PASS][3] -> [FAIL][4] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-snb5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-snb1/igt@[email protected]
- shard-tglb: [PASS][5] -> [FAIL][6] +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb5/igt@[email protected]
* igt@gem_ctx_param@root-set-no-zeromap-enabled:
- shard-glk: [PASS][7] -> [FAIL][8] +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk7/igt@[email protected]
- shard-iclb: [PASS][9] -> [FAIL][10] +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb5/igt@[email protected]
- shard-apl: [PASS][11] -> [FAIL][12] +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl7/igt@[email protected]
* igt@gem_render_copy@yf-tiled-ccs-to-y-tiled:
- shard-kbl: [PASS][13] -> [FAIL][14] +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl4/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-kbl2/igt@[email protected]
- shard-skl: [PASS][15] -> [FAIL][16] +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl10/igt@[email protected]
* igt@i915_selftest@mock_timelines:
- shard-iclb: [PASS][17] -> [INCOMPLETE][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb4/igt@i915_selftest@mock_timelines.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb4/igt@i915_selftest@mock_timelines.html
- shard-skl: [PASS][19] -> [INCOMPLETE][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl7/igt@i915_selftest@mock_timelines.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl3/igt@i915_selftest@mock_timelines.html
- shard-tglb: [PASS][21] -> [INCOMPLETE][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb8/igt@i915_selftest@mock_timelines.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@i915_selftest@mock_timelines.html
* igt@kms_draw_crc@draw-method-xrgb2101010-render-ytiled:
- shard-tglb: [PASS][23] -> [SKIP][24] +16 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparant-fb:
- shard-iclb: [PASS][25] -> [SKIP][26] +17 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-tglb: [SKIP][27] ([fdo#110841]) -> [SKIP][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
* igt@gem_render_copy@yf-tiled-ccs-to-y-tiled:
- shard-hsw: [SKIP][29] ([fdo#109271]) -> [FAIL][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw6/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw2/igt@[email protected]
* igt@gem_render_copy@yf-tiled-to-vebox-y-tiled:
- shard-snb: [SKIP][31] ([fdo#109271]) -> [FAIL][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-snb1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-snb1/igt@[email protected]
- shard-kbl: [SKIP][33] ([fdo#109271]) -> [FAIL][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl3/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-kbl7/igt@[email protected]
- shard-skl: [SKIP][35] ([fdo#109271]) -> [FAIL][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl9/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl7/igt@[email protected]
- shard-glk: [SKIP][37] ([fdo#109271]) -> [FAIL][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk8/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk9/igt@[email protected]
- shard-apl: [SKIP][39] ([fdo#109271]) -> [FAIL][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl4/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl1/igt@[email protected]
- shard-iclb: [SKIP][41] ([i915#768]) -> [FAIL][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
* igt@kms_atomic_transition@5x-modeset-transitions-nonblocking-fencing:
- shard-tglb: [SKIP][43] ([fdo#112025]) -> [SKIP][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@kms_atomic_transition@5x-modeset-transitions-nonblocking-fencing.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@kms_atomic_transition@5x-modeset-transitions-nonblocking-fencing.html
- shard-iclb: [SKIP][45] ([fdo#109278]) -> [SKIP][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@kms_atomic_transition@5x-modeset-transitions-nonblocking-fencing.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@kms_atomic_transition@5x-modeset-transitions-nonblocking-fencing.html
* igt@kms_big_fb@yf-tiled-8bpp-rotate-270:
- shard-iclb: [SKIP][47] ([fdo#110723]) -> [SKIP][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
- shard-tglb: [SKIP][49] ([fdo#111615]) -> [SKIP][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-512x170-sliding:
- shard-iclb: [SKIP][51] ([fdo#109279]) -> [SKIP][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
- shard-tglb: [SKIP][53] ([fdo#109279]) -> [SKIP][54] +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-tglb: [SKIP][55] ([fdo#111825]) -> [SKIP][56] +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
- shard-iclb: [SKIP][57] ([fdo#109274]) -> [SKIP][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-iclb: [SKIP][59] ([fdo#109280]) -> [SKIP][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-1p-rte:
- shard-tglb: [SKIP][61] ([i915#668]) -> [SKIP][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
* igt@kms_vrr@flip-dpms:
- shard-iclb: [SKIP][63] ([fdo#109502]) -> [SKIP][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
- shard-tglb: [SKIP][65] ([fdo#109502]) -> [SKIP][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
* igt@perf_pmu@render-node-busy-idle-vcs1:
- shard-apl: [SKIP][67] ([fdo#109271] / [fdo#112080]) -> [FAIL][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl6/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl7/igt@[email protected]
- shard-snb: [SKIP][69] ([fdo#109271] / [fdo#112080]) -> [FAIL][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-snb5/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-snb1/igt@[email protected]
- shard-skl: [SKIP][71] ([fdo#109271] / [fdo#112080]) -> [FAIL][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl8/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl10/igt@[email protected]
- shard-hsw: [SKIP][73] ([fdo#109271] / [fdo#112080]) -> [FAIL][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw6/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw2/igt@[email protected]
- shard-glk: [SKIP][75] ([fdo#109271] / [fdo#112080]) -> [FAIL][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk7/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk7/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@kms_color_chamelium@pipe-a-ctm-0-5}:
- shard-iclb: [SKIP][77] ([fdo#109284] / [fdo#111827]) -> [SKIP][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
- shard-tglb: [SKIP][79] ([fdo#111827]) -> [SKIP][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_16618_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_busy@busy-vcs1:
- shard-iclb: [PASS][81] -> [SKIP][82] ([fdo#112080]) +8 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@pi-common-bsd:
- shard-iclb: [PASS][83] -> [SKIP][84] ([i915#677]) +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb7/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][85] -> [SKIP][86] ([fdo#112146]) +6 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [PASS][87] -> [SKIP][88] ([fdo#109276]) +25 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb6/igt@[email protected]
* igt@gem_partial_pwrite_pread@reads:
- shard-hsw: [PASS][89] -> [FAIL][90] ([i915#694]) +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw2/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw2/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-skl: [PASS][91] -> [FAIL][92] ([i915#644])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl7/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl2/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@writes:
- shard-hsw: [PASS][93] -> [FAIL][94] ([i915#817])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw1/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw5/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][95] -> [SKIP][96] ([fdo#109271]) +15 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl2/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl3/igt@[email protected]
* igt@i915_selftest@mock_timelines:
- shard-glk: [PASS][97] -> [INCOMPLETE][98] ([i915#58] / [k.org#198133])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk3/igt@i915_selftest@mock_timelines.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk4/igt@i915_selftest@mock_timelines.html
- shard-hsw: [PASS][99] -> [INCOMPLETE][100] ([i915#61])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw5/igt@i915_selftest@mock_timelines.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw6/igt@i915_selftest@mock_timelines.html
- shard-kbl: [PASS][101] -> [INCOMPLETE][102] ([fdo#103665])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl7/igt@i915_selftest@mock_timelines.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-kbl1/igt@i915_selftest@mock_timelines.html
- shard-snb: [PASS][103] -> [INCOMPLETE][104] ([i915#82])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-snb6/igt@i915_selftest@mock_timelines.html
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-snb5/igt@i915_selftest@mock_timelines.html
- shard-apl: [PASS][105] -> [INCOMPLETE][106] ([fdo#103927])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl8/igt@i915_selftest@mock_timelines.html
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl7/igt@i915_selftest@mock_timelines.html
* igt@kms_ccs@pipe-b-bad-aux-stride:
- shard-skl: [PASS][107] -> [SKIP][108] ([fdo#109271]) +15 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl4/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl1/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-hsw: [PASS][109] -> [SKIP][110] ([fdo#109271]) +9 similar issues
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw8/igt@[email protected]
* igt@kms_cursor_legacy@long-nonblocking-modeset-vs-cursor-atomic:
- shard-skl: [PASS][111] -> [DMESG-WARN][112] ([i915#88])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl1/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl9/igt@[email protected]
* igt@kms_cursor_legacy@pipe-c-torture-move:
- shard-glk: [PASS][113] -> [DMESG-WARN][114] ([i915#128])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk3/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk2/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb2101010-render-ytiled:
- shard-kbl: [PASS][115] -> [SKIP][116] ([fdo#109271]) +14 similar issues
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl2/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-kbl4/igt@[email protected]
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible:
- shard-glk: [PASS][117] -> [FAIL][118] ([i915#34])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk6/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk1/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html
* igt@kms_flip@dpms-vs-vblank-race-interruptible:
- shard-glk: [PASS][119] -> [FAIL][120] ([i915#407])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk3/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk9/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-skl: [PASS][121] -> [FAIL][122] ([i915#49])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-apl: [PASS][123] -> [DMESG-WARN][124] ([i915#180]) +3 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl6/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl4/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-kbl: [PASS][125] -> [DMESG-WARN][126] ([i915#180]) +3 similar issues
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl7/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-kbl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [PASS][127] -> [FAIL][128] ([fdo#108145])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl1/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][129] -> [FAIL][130] ([fdo#108145] / [i915#265])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl10/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl6/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [PASS][131] -> [SKIP][132] ([fdo#109441]) +2 similar issues
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb1/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_psr@psr2_sprite_render:
- shard-tglb: [PASS][133] -> [SKIP][134] ([i915#668]) +1 similar issue
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb1/igt@kms_psr@psr2_sprite_render.html
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb2/igt@kms_psr@psr2_sprite_render.html
* igt@perf@oa-exponents:
- shard-glk: [PASS][135] -> [FAIL][136] ([i915#84])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk6/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-glk8/igt@[email protected]
#### Possible fixes ####
* {igt@gem_ctx_persistence@close-replace-race}:
- shard-iclb: [FAIL][137] ([i915#1241]) -> [PASS][138]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb5/igt@[email protected]
- shard-apl: [FAIL][139] ([i915#1241]) -> [PASS][140]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl4/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl6/igt@[email protected]
* {igt@gem_ctx_persistence@legacy-engines-mixed-process@vebox}:
- shard-skl: [FAIL][141] ([i915#679]) -> [PASS][142]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl8/igt@gem_ctx_persistence@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl10/igt@gem_ctx_persistence@[email protected]
* igt@gem_eio@in-flight-suspend:
- shard-kbl: [INCOMPLETE][143] ([fdo#103665]) -> [PASS][144]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl6/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-kbl7/igt@[email protected]
* {igt@gem_exec_schedule@implicit-both-bsd1}:
- shard-iclb: [SKIP][145] ([fdo#109276] / [i915#677]) -> [PASS][146]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb7/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb2/igt@[email protected]
* igt@gem_exec_schedule@pi-distinct-iova-bsd:
- shard-iclb: [SKIP][147] ([i915#677]) -> [PASS][148] +1 similar issue
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb5/igt@[email protected]
* igt@gem_exec_schedule@preempt-contexts-bsd2:
- shard-iclb: [SKIP][149] ([fdo#109276]) -> [PASS][150] +12 similar issues
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb7/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb4/igt@[email protected]
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [SKIP][151] ([fdo#112146]) -> [PASS][152] +6 similar issues
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-iclb5/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-apl: [FAIL][153] ([i915#644]) -> [PASS][154]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl1/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-apl6/igt@[email protected]
* igt@i915_pm_rps@waitboost:
- shard-tglb: [FAIL][155] ([i915#413]) -> [PASS][156]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-size-change:
- shard-snb: [SKIP][157] ([fdo#109271]) -> [PASS][158] +1 similar issue
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-snb4/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-snb5/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [FAIL][159] ([i915#96]) -> [PASS][160]
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw8/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-hsw1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][161] ([i915#79]) -> [PASS][162]
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl5/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/shard-skl8/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][163] ([i915#180]) -> [PASS][164] +2 similar issues
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl1/igt@kms_plane@plane-panning-bottom-right-su
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16618/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx