Skip to content

drm/vkms: Switch all vkms object to DRM managed objects

José Expósito dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 4 patches 1 replyIn review

Patches in v3 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchJosé Expósito
SeriesR-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] drm/vkms: Switch all vkms object to DRM managed objects

Hi Louis,

Thanks for making this change even more atomic.

Quoted 12 lines

To simplify the memory managment this series replace all manual drm object managment by drm-managed one. This way the VKMS code don't have to manage it directly and the DRM core will handle the object destruction.

No functional changes are intended in this series. This series depends on
[1] (for writeback connector) and [2] (for cleaning code).

PATCH 1/4: Migrate connector managment to drmm PATCH 2/4: Migrate encoder managment to drmm PATCH 3/4: Migrate connector management to drm PATCH 4/4: Migrate writeback connector management to drm

Quoted 4 lines

[1]: https://lore.kernel.org/all/[email protected]/
[2]: https://lore.kernel.org/all/[email protected]/

The 4 patches:

Quoted 18 lines

---
Changes in v3:
- As suggested by Maxime, split the managed and the dynamic allocation
parts in different series
- To reduce the diff in this series, extract the "remove crtc index" part,
see https://lore.kernel.org/all/[email protected]/
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Applied comments from José
- Extract the rename vkms_output -> vkms_crtc to avoid useless changes in
the last commit
- Extract the rename to_vkms_crtc_state to
drm_crtc_state_to_vkms_crtc_state to avoid useless changes in last
commit
- Extract the drm_mode_crtc_set_gamma_size result check in its own commit
- Rebased on drm-misc/drm-misc-next
- Link to v1: https://lore.kernel.org/r/[email protected]>