From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C655C43387 for ; Tue, 8 Jan 2019 21:11:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A6F920675 for ; Tue, 8 Jan 2019 21:11:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729729AbfAHVLp (ORCPT ); Tue, 8 Jan 2019 16:11:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46216 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728313AbfAHVLo (ORCPT ); Tue, 8 Jan 2019 16:11:44 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D4B6346263; Tue, 8 Jan 2019 21:11:43 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-11.bss.redhat.com [10.20.1.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 347E11992A; Tue, 8 Jan 2019 21:11:38 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Cc: Jerry Zuo , "Daniel Vetter" , "Alex Deucher" , "Leo Li" , "Mikita Lipski" , "David Airlie" , =?UTF-8?q?Christian=20K=C3=B6nig?= , "David Francis" , linux-kernel@vger.kernel.org, "Anthony Koo" , "Nicholas Kazlauskas" , "Bhawanpreet Lakha" , "David (ChunMing) Zhou" , "Shirish S" , "Tony Cheng" , "Harry Wentland" , "Maxime Ripard" , "Maarten Lankhorst" , "Sean Paul" Subject: [PATCH v2 0/3] drm/amdgpu: Fix suspend/resume issues with MST Date: Tue, 8 Jan 2019 16:11:26 -0500 Message-Id: <20190108211133.32564-1-lyude@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 08 Jan 2019 21:11:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the suspend/issues that Jerry Zuo found in amdgpu, and add some compiler warnings for drivers ignoring the return code of drm_dp_mst_topology_mgr_resume() to help ensure we don't need to fix this again in the future for someone else's driver. Cc: Jerry Zuo Lyude Paul (3): drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume() drm/amdgpu: Don't fail resume process if resuming atomic state fails drm/dp_mst: Add __must_check to drm_dp_mst_topology_mgr_resume() .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 37 +++++++++++++------ include/drm/drm_dp_mst_helper.h | 3 +- 2 files changed, 27 insertions(+), 13 deletions(-) -- 2.20.1