All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Noralf Trønnes" <noralf@tronnes.org>
To: dri-devel@lists.freedesktop.org
Cc: daniel.vetter@ffwll.ch, tomi.valkeinen@ti.com,
	sw0312.kim@samsung.com, linux@armlinux.org.uk,
	hdegoede@redhat.com, kyungmin.park@samsung.com,
	thierry.reding@gmail.com, bskeggs@redhat.com,
	alexander.deucher@amd.com, intel-gfx@lists.freedesktop.org,
	christian.koenig@amd.com, mark.yao@rock-chips.com
Subject: [PATCH v3 01/11] drm/amd/display: Use drm_fb_helper_poll_changed()
Date: Tue,  5 Dec 2017 19:24:54 +0100	[thread overview]
Message-ID: <20171205182504.41923-2-noralf@tronnes.org> (raw)
In-Reply-To: <20171205182504.41923-1-noralf@tronnes.org>

This driver can use drm_fb_helper_output_poll_changed() as its
.output_poll_changed callback.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index c324c3b76fac..124229d0af42 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -792,7 +792,7 @@ dm_atomic_state_alloc_free(struct drm_atomic_state *state)
 
 static const struct drm_mode_config_funcs amdgpu_dm_mode_funcs = {
 	.fb_create = amdgpu_user_framebuffer_create,
-	.output_poll_changed = amdgpu_output_poll_changed,
+	.output_poll_changed = drm_fb_helper_output_poll_changed,
 	.atomic_check = amdgpu_dm_atomic_check,
 	.atomic_commit = amdgpu_dm_atomic_commit,
 	.atomic_state_alloc = dm_atomic_state_alloc,
-- 
2.14.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-12-05 18:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 18:24 [PATCH v3 00/11] drm/fb-helper: Add .last_close and .output_poll_changed helpers Noralf Trønnes
2017-12-05 18:24 ` Noralf Trønnes [this message]
2017-12-05 18:24 ` [PATCH v3 02/11] drm/amdgpu: Use drm_fb_helper_lastclose() and _poll_changed() Noralf Trønnes
2017-12-05 18:24 ` [PATCH v3 03/11] drm/armada: " Noralf Trønnes
2017-12-05 18:24 ` [PATCH v3 04/11] drm/exynos: " Noralf Trønnes
2017-12-07  0:50   ` Inki Dae
2017-12-07 14:22     ` Noralf Trønnes
2017-12-05 18:24 ` [PATCH v3 05/11] drm/gma500: " Noralf Trønnes
2017-12-05 18:24 ` [PATCH v3 06/11] drm/msm: " Noralf Trønnes
2017-12-05 18:25 ` [PATCH v3 07/11] drm/nouveau: Use drm_fb_helper_output_poll_changed() Noralf Trønnes
2017-12-05 18:25 ` [PATCH v3 08/11] drm/omap: Use drm_fb_helper_lastclose() and _poll_changed() Noralf Trønnes
2017-12-05 18:25 ` [PATCH v3 09/11] drm/radeon: " Noralf Trønnes
2017-12-05 18:25 ` [PATCH v3 10/11] drm/rockchip: " Noralf Trønnes
2017-12-05 18:25 ` [PATCH v3 11/11] drm/tegra: " Noralf Trønnes
2017-12-05 19:11 ` ✓ Fi.CI.BAT: success for drm/fb-helper: Add .last_close and .output_poll_changed helpers (rev3) Patchwork
2017-12-05 21:11 ` [PATCH v3 00/11] drm/fb-helper: Add .last_close and .output_poll_changed helpers Alex Deucher
2017-12-06  9:14   ` Daniel Vetter
2017-12-08 12:21     ` Noralf Trønnes
2017-12-05 21:18 ` ✗ Fi.CI.IGT: warning for drm/fb-helper: Add .last_close and .output_poll_changed helpers (rev3) Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171205182504.41923-2-noralf@tronnes.org \
    --to=noralf@tronnes.org \
    --cc=alexander.deucher@amd.com \
    --cc=bskeggs@redhat.com \
    --cc=christian.koenig@amd.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hdegoede@redhat.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=kyungmin.park@samsung.com \
    --cc=linux@armlinux.org.uk \
    --cc=mark.yao@rock-chips.com \
    --cc=sw0312.kim@samsung.com \
    --cc=thierry.reding@gmail.com \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.