Re: [PATCH] drm/tilcdc: Fix the driver data used in suspend and resume

From: Kory Maincent

Date: Tue Dec 01 2026 - 04:29:24 EST




On 12/1/26 10:10, Màxim Pedraza Padilla wrote:
The probe stores the driver private structure as driver data, but the
suspend and resume callbacks read it back as a struct drm_device. Since
the DRM device is embedded in the private structure, but not at its
start, they pass a wrong pointer to drm_mode_config_helper_suspend() and
drm_mode_config_helper_resume(), and suspend oopses:

Unable to handle kernel paging request at virtual address 3bd8be0c

Get the private structure and use the DRM device embedded in it.

This has already been fixed.
https://lore.kernel.org/lkml/20261103-v7-4-topic-am335lpm-tilcdc-v1-1-b7f91f9c9a05@xxxxxxxxxxxx/

--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com