[Intel-gfx] [PATCH v3 00/11] drm/fb-helper: Add .last_close and .output_poll_changed helpers

Noralf Trønnes noralf at tronnes.org
Fri Dec 8 12:21:53 UTC 2017


Den 06.12.2017 10.14, skrev Daniel Vetter:
> On Tue, Dec 05, 2017 at 04:11:26PM -0500, Alex Deucher wrote:
>> On Tue, Dec 5, 2017 at 1:24 PM, Noralf Trønnes <noralf at tronnes.org> wrote:
>>> The helpers are applied and have reached airlied/drm-next.
>>>
>>> amd has gained another .poll_changed user since last.
>> Patches 1, 2, 9 applied to my -next tree.  Thanks!
> Imo if no one replies I'd push all the remaining ones to drm-misc-next at
> the end of next week. There's been plenty of time for maintainers to check
> this out, and it's a really nice cleanup imo.

Thanks, rest of series applied to drm-misc-next.

Noralf.

> -Daniel
>
>> Alex
>>
>>> i915 doesn't really need the .poll_changed helper since it now does a
>>> sync and has to open code it after:
>>> drm/i915/fbdev: Serialise early hotplug events with async fbdev config
>>>
>>> vboxvideo will be re-sent when the helper functions have landed in
>>> Greg's staging tree.
>>>
>>> Noralf.
>>>
>>> Changes since version 2:
>>> - Helper functions have been applied
>>> - Add drm/amd/display: Use drm_fb_helper_poll_changed()
>>> - Rebase drm/amdgpu patch
>>> - Rebase drm/msm patch
>>> - Drop i915 patch, not applicable after:
>>>    drm/i915/fbdev: Serialise early hotplug events with async fbdev config
>>> - Drop vboxvideo patch, it will be re-sent when the helper functions
>>>    have reached Greg's staging tree.
>>>
>>> Changes since version 1:
>>> - drm_device.drm_fb_helper_private -> drm_device.fb_helper (Ville)
>>>
>>> Noralf Trønnes (11):
>>>    drm/amd/display: Use drm_fb_helper_poll_changed()
>>>    drm/amdgpu: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/armada: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/exynos: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/gma500: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/msm: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/nouveau: Use drm_fb_helper_output_poll_changed()
>>>    drm/omap: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/radeon: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/rockchip: Use drm_fb_helper_lastclose() and _poll_changed()
>>>    drm/tegra: Use drm_fb_helper_lastclose() and _poll_changed()
>>>
>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_display.c       |  9 ++----
>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_display.h       |  2 --
>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c            | 27 ------------------
>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c           |  4 +--
>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h          |  4 ---
>>>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  2 +-
>>>   drivers/gpu/drm/armada/armada_drm.h               |  1 -
>>>   drivers/gpu/drm/armada/armada_drv.c               |  8 ++----
>>>   drivers/gpu/drm/armada/armada_fb.c                | 11 +-------
>>>   drivers/gpu/drm/armada/armada_fbdev.c             |  8 ------
>>>   drivers/gpu/drm/exynos/exynos_drm_drv.c           |  8 ++----
>>>   drivers/gpu/drm/exynos/exynos_drm_fb.c            |  2 +-
>>>   drivers/gpu/drm/exynos/exynos_drm_fbdev.c         | 18 ------------
>>>   drivers/gpu/drm/exynos/exynos_drm_fbdev.h         |  2 --
>>>   drivers/gpu/drm/gma500/framebuffer.c              |  9 +-----
>>>   drivers/gpu/drm/gma500/psb_drv.c                  | 15 +---------
>>>   drivers/gpu/drm/msm/msm_drv.c                     | 18 ++----------
>>>   drivers/gpu/drm/nouveau/nouveau_display.c         |  3 +-
>>>   drivers/gpu/drm/nouveau/nouveau_fbcon.c           |  8 ------
>>>   drivers/gpu/drm/nouveau/nouveau_fbcon.h           |  2 --
>>>   drivers/gpu/drm/nouveau/nouveau_vga.c             |  3 +-
>>>   drivers/gpu/drm/nouveau/nv50_display.c            |  2 +-
>>>   drivers/gpu/drm/omapdrm/omap_drv.c                | 34 ++---------------------
>>>   drivers/gpu/drm/radeon/radeon_display.c           |  9 ++----
>>>   drivers/gpu/drm/radeon/radeon_fb.c                | 22 ---------------
>>>   drivers/gpu/drm/radeon/radeon_kms.c               |  5 ++--
>>>   drivers/gpu/drm/radeon/radeon_mode.h              |  3 --
>>>   drivers/gpu/drm/rockchip/rockchip_drm_drv.c       |  9 +-----
>>>   drivers/gpu/drm/rockchip/rockchip_drm_fb.c        |  9 +-----
>>>   drivers/gpu/drm/tegra/drm.c                       | 13 ++-------
>>>   drivers/gpu/drm/tegra/drm.h                       |  4 ---
>>>   drivers/gpu/drm/tegra/fb.c                        | 14 ----------
>>>   32 files changed, 29 insertions(+), 259 deletions(-)
>>>
>>> --
>>> 2.14.2
>>>
>>> _______________________________________________
>>> dri-devel mailing list
>>> dri-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/dri-devel



More information about the Intel-gfx mailing list