diff options
| author | Dave Airlie <airlied@redhat.com> | 2017-12-07 08:29:26 +1000 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2017-12-07 08:29:26 +1000 |
| commit | bd3a3a2e92624942a143e485c83e641b2492d828 (patch) | |
| tree | df0ce4a86bc81a08e56491f21c82c1b919bceec4 /include | |
| parent | db8f884ca7fe6af64d443d1510464efe23826131 (diff) | |
| parent | a703c55004e1c5076d57e43771b3e11117796ea0 (diff) | |
Merge tag 'drm-misc-fixes-2017-12-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Just the connector_iter corner-case regression fix.
* tag 'drm-misc-fixes-2017-12-06' of git://anongit.freedesktop.org/drm/drm-misc:
drm: safely free connectors from connector_iter
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_connector.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index df9807a3caae..a4649c56ca2f 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -916,6 +916,14 @@ struct drm_connector { uint8_t num_h_tile, num_v_tile; uint8_t tile_h_loc, tile_v_loc; uint16_t tile_h_size, tile_v_size; + + /** + * @free_work: + * + * Work used only by &drm_connector_iter to be able to clean up a + * connector from any context. + */ + struct work_struct free_work; }; #define obj_to_connector(x) container_of(x, struct drm_connector, base) |
