From patchwork Tue Feb 20 13:20:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10230043 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 99856602B1 for ; Tue, 20 Feb 2018 13:20:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BB282867F for ; Tue, 20 Feb 2018 13:20:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89F4828688; Tue, 20 Feb 2018 13:20:29 +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=unavailable 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 582BD2867F for ; Tue, 20 Feb 2018 13:20:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 583336E408; Tue, 20 Feb 2018 13:20:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 591F96E407 for ; Tue, 20 Feb 2018 13:20:25 +0000 (UTC) Received: by mail-wr0-x242.google.com with SMTP id w77so14293511wrc.6 for ; Tue, 20 Feb 2018 05:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id; bh=CDJhauipxEZhh870IwoLmhXwt8XRh2DnSu5Oi+6Fg/Y=; b=TGK0k/E5ModEDnIlSi9tsaO62YPW45+otmveybHwGksIxGkJxlkt7XQT9kf2GZW30j EAPMZIhcgDNNmw0Rfk4LLJY7mFpEmPRvPvFM4I+sIasxPc8zHz05pELuWnh91hwYH7nY EWLhpo6giIppNOCvWj+GTgbErEXKcA6c1UDGg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CDJhauipxEZhh870IwoLmhXwt8XRh2DnSu5Oi+6Fg/Y=; b=oFLB5LhnkpupKyOS8Q/fhNV+u0Q22CgJcqSViMtPR1BTdy6IRWUo1A+pim23sLK6ij NeFvjXNVz+5Pa679vkRYEl2PerfHcnnqwWc3Ffm5YeZ6EDYCP/hmtYRSLLH/i1N9Kd59 /Nxz9EeOlotzC7KKKJOueqv699jws9chnfxCh6Los1Yr+hBsldzh6CH5XVAVikMojHIc J/McWDbOUIGR3jPehcqL4wLgf79O7V14M5/Ixws6NghYlR/hoYY5uFMcWJqbsZfadcay SOXDkPjbpKlbgxL008e7HwITHo+2GJmfKmVXufAVZMzrUb6Gb0u+9JXWXQEQiAdKeCX2 G6eQ== X-Gm-Message-State: APf1xPCx8qnkKyHLS61kSesU0EhUqcJzC+Gi5X3xmtgGBcyDAFsYtDwr 42tqVRGnIetgpBkMEoySkrDVPw== X-Google-Smtp-Source: AH8x2260d3kC1Mi6qcKPJtf/2mhHy2QGABH2b/rPRU/D7wrK3KI8s5q9MXVImRUBwysm1vedoLzU1Q== X-Received: by 10.80.145.76 with SMTP id f12mr298540eda.23.1519132823963; Tue, 20 Feb 2018 05:20:23 -0800 (PST) Received: from phenom.ffwll.local (212-51-149-109.fiber7.init7.net. [212.51.149.109]) by smtp.gmail.com with ESMTPSA id j8sm19627383edh.4.2018.02.20.05.20.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 05:20:23 -0800 (PST) From: Daniel Vetter To: Intel Graphics Development Subject: [PATCH] drm/todo: i915 could use device_link_add Date: Tue, 20 Feb 2018 14:20:17 +0100 Message-Id: <20180220132017.30719-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.15.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , DRI Development , Daniel Vetter MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Noticed while reading some unrelated patches. Unfortunately Imre's patch to add our early/late hooks predated the device_link infrastructure by 2 years. Cc: Imre Deak Cc: Takashi Iwai Signed-off-by: Daniel Vetter Acked-by: Imre Deak --- Documentation/gpu/todo.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 1a0a413eeced..f4d0b3476d9c 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -450,5 +450,12 @@ See drivers/gpu/drm/amd/display/TODO for tasks. Contact: Harry Wentland, Alex Deucher +i915 +---- + +- Our early/late pm callbacks could be removed in favour of using + device_link_add to model the dependency between i915 and snd_had. See + https://dri.freedesktop.org/docs/drm/driver-api/device_link.html + Outside DRM ===========