From patchwork Tue Nov 29 05:04:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 9450943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D0A4C6074E for ; Tue, 29 Nov 2016 05:05:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4E2D201BD for ; Tue, 29 Nov 2016 05:05:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B80F827F90; Tue, 29 Nov 2016 05:05:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4E18D201BD for ; Tue, 29 Nov 2016 05:05:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 084B76E359; Tue, 29 Nov 2016 05:05:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e:c05::229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1A5766E359 for ; Tue, 29 Nov 2016 05:04:54 +0000 (UTC) Received: by mail-pg0-x229.google.com with SMTP id x23so65128180pgx.1 for ; Mon, 28 Nov 2016 21:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0eEJdiYirv3uEkBozaqvdUgW8bBQeWAWijGhAs0hS3Y=; b=OcqEFBmGFvy4Og0HiAdg9VzqISGJUXT7AZ/6XO3gv6k+RN3sJk9ggkTL1t4qTHxXXX VFvxyGGtPiPoJ8WXY6qqCRkJ4vq+l+BwIqx8ie2tJRz9t7w8jC8iNHaUDpl1gvLFrHY8 MMSzSLUYEDlEH+A7HpKQTTTjikUe7GY1PFJYw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0eEJdiYirv3uEkBozaqvdUgW8bBQeWAWijGhAs0hS3Y=; b=mnrU5ddq+rOGuHH+G8jNRy9EyuRsgog+3FtybBb/pS68QxEQ+Pg+j8ZZhI2l1r5O/a ZnUL1aURaVUc9w5fPnK7T4QQWv9ST8MkXsYYzk8vq+sbmaEw6XdzvUiRdCax83pC5Udv SliSYw4GuoK4dy///hV3C8qHFmmkcUvARzTS2NbgcAFsF6lU+8bMSA5mhP1PR3uqqxoj wxuHFhKrbSQFawIUzYyBRTYxpCzFMv2k8RTecAO9jwjUUs3xwFqwQPBW497sAP6e94T1 ZUrbUXB5x4VlajQidBNLSmiovKsjfXdczW52KJ2l1js/2PYYu/+KjWhYf2ImvlmC7YXK bHNg== X-Gm-Message-State: AKaTC006fdbgoEnOI27Nr2iA3k7Aw08iYsxSqJceuv/C8uQxleXBl0x0fXAqMdwKZdWD5zDM X-Received: by 10.99.188.2 with SMTP id q2mr46510423pge.34.1480395893552; Mon, 28 Nov 2016 21:04:53 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id b29sm73191498pgn.48.2016.11.28.21.04.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Nov 2016 21:04:53 -0800 (PST) From: John Stultz To: lkml Subject: [RFC][PATCH 2/5 v2] drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event() Date: Mon, 28 Nov 2016 21:04:41 -0800 Message-Id: <1480395884-5471-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480395884-5471-1-git-send-email-john.stultz@linaro.org> References: <1480395884-5471-1-git-send-email-john.stultz@linaro.org> Cc: dri-devel@lists.freedesktop.org, Wolfram Sang , Laurent Pinchart X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP In chasing down a previous issue with EDID probing from calling drm_helper_hpd_irq_event() from irq context, Laurent noticed that the DRM documentation suggests that drm_kms_helper_hotplug_event() should be used instead. Thus this patch replaces drm_helper_hpd_irq_event() with drm_kms_helper_hotplug_event(). Cc: David Airlie Cc: Archit Taneja Cc: Wolfram Sang Cc: Lars-Peter Clausen Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: John Stultz --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index b38e743..2caca0c 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c @@ -406,7 +406,7 @@ static void adv7511_irq_work(struct work_struct *work) { struct adv7511 *adv7511 = container_of(work, struct adv7511, irq_work); - drm_helper_hpd_irq_event(adv7511->connector.dev); + drm_kms_helper_hotplug_event(adv7511->connector.dev); }