From patchwork Fri Jul 13 15:10:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Cosmin Gheorghe X-Patchwork-Id: 10523563 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 2685D6028E for ; Fri, 13 Jul 2018 15:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14FBE29D3E for ; Fri, 13 Jul 2018 15:12:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08C9A29D41; Fri, 13 Jul 2018 15:12:57 +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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 ACA8D29D3E for ; Fri, 13 Jul 2018 15:12:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AD33D6F289; Fri, 13 Jul 2018 15:12:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70071.outbound.protection.outlook.com [40.107.7.71]) by gabe.freedesktop.org (Postfix) with ESMTPS id 761BB6F289 for ; Fri, 13 Jul 2018 15:12:54 +0000 (UTC) Received: from e114479-lin.cambridge.arm.com (217.140.96.140) by HE1PR0802MB2556.eurprd08.prod.outlook.com (2603:10a6:3:e1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Fri, 13 Jul 2018 15:12:50 +0000 From: Alexandru Gheorghe To: seanpaul@chromium.org, airlied@linux.ie, dri-devel@lists.freedesktop.org, liviu.dudau@arm.com, brian.starkey@arm.com, malidp@foss.arm.com, ville.syrjala@linux.intel.com, daniel@ffwll.ch, gustavo@padovan.org, maarten.lankhorst@linux.intel.com Subject: [PATCH v2 1/3] drm: writeback: Fix doc that says connector should be disconnected Date: Fri, 13 Jul 2018 16:10:58 +0100 Message-Id: <1531494660-28668-1-git-send-email-alexandru-cosmin.gheorghe@arm.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: LNXP265CA0014.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::26) To HE1PR0802MB2556.eurprd08.prod.outlook.com (2603:10a6:3:e1::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ebed40e-a4fd-47de-55b2-08d5e8d31a0c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR0802MB2556; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0802MB2556; 3:4nuicZN+35C3LqwuBl0IDAez+y/16RAS+MV+gVKGsYj6tmOoxPPnvWG3LQRz7n5nfmzz7F4KoWiBmMPmUpvzKCTOgotdiFpz3XBsjocbASt5Hiow7CFwewKqDPeYM65G+kZwhhr39orf+yjBlU7RyK17/soEKFlCA2Rm1v+Cv+WAoUbkkgEeGNtlxFOkVBxLjwZ8QpMC/61PU0Oer9JsJafHC8U4Srh5Zu/ZWXpaulG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Z20UIGFdwq69cmgcfDpWbKP1augoRk+FpBqWcJkv922GccnH7/acFNxFU8WGPKoNn2lykOKIJxQlfyyWSwvdqJXmByRcRa/Zv7RBFWmi7qndR X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:HE1PR0802MB2556; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0802MB2556; X-Forefront-PRVS: 07326CFBC4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39860400002)(376002)(136003)(396003)(199004)(189003)(5660300001)(36756003)(16526019)(14444005)(25786009)(105586002)(3846002)(97736004)(6486002)(66066001)(8936002)(8676002)(86362001)(81166006)(5024004)(4326008)(316002)(6116002)(81156014)(16586007)(26005)(68736007)(72206003)(386003)(51416003)(50226002)(53936002)(478600001)(7736002)(47776003)(50466002)(486006)(2616005)(106356001)(305945005)(48376002)(186003)(956004)(2906002)(52116002)(7696005)(476003)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0802MB2556; H:e114479-lin.cambridge.arm.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0802MB2556; 23:rvBiw7Zh5ImQkzYHAiPc6jJCTsFdXGdVnbKqYpj?= =?us-ascii?Q?fSAGncaQwdWlSHQbtc6WzObUPSrxzsVdx1B/D5TifMzbaYWXKZdJqAMLzWj4?= =?us-ascii?Q?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XkWxPbadg3faF8Z7y8w9igPO700dIGVPBkw==; 5:HyM7qBuadeGYIsK6iBoKF4rQBFN58mxyxZVrtpD/hFt20vo2ud3i7tgB2zgWxfJw4KIX3pknGUV3zLVR/S+X2f6grUnQL/OleH9u/rpB+Bm5gZHc0c9V4Nca12Jympn09y3GRhRyjmoq8sJa8byg+22KVAeOMM762IluhiOrkHE=; 24:dgUF1Jnja5syK4mtOOf6qpQ/P/9geQLAQcE/P9zLE9b+718vr33oHKYgIgKkTYbvoUrbQv9+r8eHyCpbpCD4BGWA+13h46sPf3UxUvya6Sc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0802MB2556; 7:KWR7+m95RCBPDpkEy+kgmj0xRzy4K48Y5lDPxqqBQVRkxLeUgAxteFyEariGZ3OD8nk9F0d4WfKMnuS36iIHXAZ91v3vpjPLNaKPuHCi8nzRBnwe+Q6kjtyfBn3Nh4BONDRv0D6GpBd/8o/SSuiNAt6AOZrXzwvP92J+OOOGB/q9Ib8YQMTPgbrZRG55jociZL8DYjkyWLiP0xlVLiQz/9Kbhb1R8hi9NGTAkLCN76wtk5oyD+f033fTSLW6yP3j X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2018 15:12:50.8897 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3ebed40e-a4fd-47de-55b2-08d5e8d31a0c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2556 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: nd@arm.com, Alexandru Gheorghe Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP During iteration process one of the proposed mechanism for not breaking existing userspace was to report writeback connectors as disconnected, however the final version used DRM_CLIENT_CAP_WRITEBACK_CONNECTORS for that purpose. Signed-off-by: Alexandru Gheorghe Reviewed-by: Sean Paul Acked-by: Liviu Dudau --- drivers/gpu/drm/drm_writeback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_writeback.c b/drivers/gpu/drm/drm_writeback.c index 8273950..e7b6e5e 100644 --- a/drivers/gpu/drm/drm_writeback.c +++ b/drivers/gpu/drm/drm_writeback.c @@ -23,8 +23,8 @@ * from a CRTC to a memory buffer. They are used and act similarly to other * types of connectors, with some important differences: * - Writeback connectors don't provide a way to output visually to the user. - * - Writeback connectors should always report as "disconnected" (so that - * clients which don't understand them will ignore them). + * - Writeback connectors are visible to userspace only when the client sets + * DRM_CLIENT_CAP_WRITEBACK_CONNECTORS. * - Writeback connectors don't have EDID. * * A framebuffer may only be attached to a writeback connector when the