Re: [RFC][PATCH v3] DRM: add DRM Driver for Samsung SoC EXYNOS4210.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+static void samsung_drm_connector_destroy(struct drm_connector *connector)
+{
+       struct samsung_drm_connector *samsung_connector =
+               to_samsung_connector(connector);
+
+       DRM_DEBUG_KMS("%s\n", __FILE__);
+
+       drm_sysfs_connector_remove(connector);
+       drm_connector_cleanup(connector);
+       connector->dev->mode_config.num_connector--;

I wonder if num_connector-- should be in drm_connector_cleanup()..


Right, num_connector and num_encoder of mode_config should be decreased
in the cleanup functions, but currently drm driver is missing it.

I sent the patch.

Thanks.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux