On 19/12/16 11:15, Laurent Pinchart wrote: > The drm driver .load() operation is prone to race conditions as it > initializes the driver after registering the device nodes. Its usage is > deprecated, inline it in the probe function and call drm_dev_alloc() and > drm_dev_register() explicitly. > > For consistency inline the .unload() handler in the remove function as > well. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > Changes since v4: > > - Dropped drm_vblank_cleanup() in probe error path > - Removed a duplicate call to omap_crtc_pre_uninit() in probe > > Changes since v1: > > - Call drm_kms_helper_poll_fini() before omap_fbdev_free() in the remove > handler. > - Keep storing drm_device in the platform device private data. > --- > drivers/gpu/drm/omapdrm/omap_connector.c | 2 - > drivers/gpu/drm/omapdrm/omap_drv.c | 211 +++++++++++++++---------------- > 2 files changed, 105 insertions(+), 108 deletions(-) Reviewed-by: Tomi Valkeinen <tomi.valkeinen@xxxxxx> Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel