Received: by 10.223.185.116 with SMTP id b49csp1104002wrg; Sat, 3 Mar 2018 15:40:31 -0800 (PST) X-Google-Smtp-Source: AG47ELuGYVO2Dx2e2iqC81WVAkpCW+wA9WJIeRXZzvvoZjKTixu5tzVC5qh9xRb9eaDlXvUB+FHy X-Received: by 10.99.135.65 with SMTP id i62mr8332992pge.331.1520120431159; Sat, 03 Mar 2018 15:40:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520120431; cv=none; d=google.com; s=arc-20160816; b=ZGs6bD8YCopNa4JZ9nJ72wgzXwHzdHMWjQUkJ2SqEz+Jh3cqjK3bSim34D6MsotQRc rHz+muqxVEDwrJAsTyHyFxeOhZiO6Oce6c1yj8QpZpjoqr58yxf0oKgRtkmibXqogiPb gmFiohfyVZQZxQ0fV5/8XgOvJ1nmqmilnsHzqbMVWDuBtbv6bYn6eKqQrtiOeKPR9zS7 A8j3xaWk+k18orQPkHp0lOV5LGkbIO0hv126CPdHJSLDbHdqYZephUSPIkZ0TXrYGR7j QjaHvIJabId0X/AYyOG0XTmHN/JY9igNSsTAeejxwdVkK5F7EAQ0oUzML9PhK4aMD9ub mSVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=1yn3X+xC4BddFc92PpS/u3BZdc9rSYFMlHOFom6+Qwg=; b=qxkDvtRC6CNGIqke3ZbNHibhd7NUynVFLITzK+daAKfD3Nkg/73HBRLJW+NKFuLJtt cxDnslihXXipjxuzvp++VnARf5BIPBzA4e0RexLPTgwMpWq1RE6tFHhnIbzRqfQ7Rzee YoyoEho+3Oqtk6M+pGtl6Q2qlPcN/SlA7qalrXP//q3F+43UqHT3Z6ELMd13bMl5h2W3 /QTIv32+ck0Sc1tW0ALxo0p+YmiWpht3bLfiD50Da+B3V32pgDLRR4CH0PI1JFdvyY38 DJot12A38VMbKTke4iyOOamHdUkL6O7GhHbCFreDaAj4T1KktMEUztQF4lHAvZJWhB9S m6+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Jh7rLHT6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j134si6218995pgc.512.2018.03.03.15.40.17; Sat, 03 Mar 2018 15:40:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Jh7rLHT6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934405AbeCCXjm (ORCPT + 99 others); Sat, 3 Mar 2018 18:39:42 -0500 Received: from mail-sn1nam01on0132.outbound.protection.outlook.com ([104.47.32.132]:20800 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934328AbeCCWfJ (ORCPT ); Sat, 3 Mar 2018 17:35:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1yn3X+xC4BddFc92PpS/u3BZdc9rSYFMlHOFom6+Qwg=; b=Jh7rLHT6NYNDry3ue5ZqVfbdaiXTOTLkPEq39i+O7ATcRlcxNqfWCa7Nu5+uz086c1UrAwLO6BwcpdhgUTTbU9nbUn2xR6VZuY8X0v0ovvYPlXuG5zQyMEjBpFzP48NQGkFmKv5YkMJAQwlVk4E4PHTv/fo9kZTSLT4BjcZ0iHs= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB0924.namprd21.prod.outlook.com (52.132.152.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.3; Sat, 3 Mar 2018 22:34:56 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:34:56 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Kieran Bingham , Laurent Pinchart , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 141/219] [media] v4l: vsp1: Register pipe with output WPF Thread-Topic: [PATCH AUTOSEL for 4.9 141/219] [media] v4l: vsp1: Register pipe with output WPF Thread-Index: AQHTsz8RFhivTXX9gUyKTEuw0+/eYg== Date: Sat, 3 Mar 2018 22:29:18 +0000 Message-ID: <20180303222716.26640-141-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB0924;6:V2jM9X1HWS0EYTqfQzHw1vlDIAgYsFsh0OsMTnHcYBDLQjtPxTlIRX4XNnoUXpMEF/5NIa1lcAP38TlsV2K0eDAJITKekxwvv0Cz9LhwHcWFL+uRK65byo4sRsdYnhOALuOvfHDcFRugd7p7VXA+X4TV4kxdkzOjr0BpxA/Ns2EWJBfDftEfJwlJ+hhgidxINaXM1HmZKa3Iu/AKQyGNIdlqnfpM5IkdJ2/1FyShihlbNILjXS0ke5lfiFPlZdfekv1I88a8GKSBQrdD1714pbRoZVoUiZen1x4xCyxV2jsdr2TFjxIWeWMdxDiPSCz8RqQs8acWxBiHKyy943IsNpFwd9tedcTDVCh3E0SFiLs=;5:MKp4oy1tpvuktBUmqR+WTSqeVZCu3mcTX8xR5mFiL9vs7wMEDAqACAYRMhADuu9mqYv7H9V/IYtK1bHEO73bfGZuGX6sgxIjf6u4GjmChWFgMJ9QcQPcQj/fkhkO8Yw7IoM+ukLINCFg2NFnn5E2Q+oODii5ekleo4hw5htWkzo=;24:fOnr5czyq1PNiXmthJKLSqlsnTuHKa5SeYtwaN+EhrqgBUufSEWT67+8TFAACBIf5Jodil6/KdAAr0Z/SxnDhIo9HPa0mQve7lh0WZ2nBb4=;7:In0xH371SfTqKU+/jBVsF3dMMG6PUIGEcxwVm46742xuqpSPkzmN2EsfJ7Aa42ZQPT5/bWbFgQ4RTaJWqj2zB7N3dOb9nhUftgYjIOwMLq0Ul9Sop9Uyk42ZcRjFi8MtTRzDG1/dgJDOxx72itqpDMkYWL6lx75fBrpudKMULr9JAOJxnRC7MY7hgmvDgqdjGOJCbvy4LZTvdaGWR0XWjy3biLj2mkx1/KzXmWycAAPYP9bCPzw7yfQYpR1Q/SuV x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: babe444d-c02e-45eb-92e6-08d58156fdd5 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020);SRVR:MW2PR2101MB0924; x-ms-traffictypediagnostic: MW2PR2101MB0924: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(61426038)(61427038)(6041288)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB0924;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0924; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(39860400002)(396003)(366004)(39380400002)(189003)(199004)(102836004)(2950100002)(10090500001)(6666003)(316002)(26005)(186003)(25786009)(2900100001)(2906002)(54906003)(22452003)(110136005)(97736004)(6506007)(59450400001)(7736002)(4326008)(305945005)(5250100002)(86362001)(2501003)(99286004)(68736007)(72206003)(53936002)(6436002)(6116002)(3846002)(5660300001)(66066001)(1076002)(76176011)(14454004)(36756003)(3660700001)(6486002)(86612001)(81156014)(8676002)(81166006)(10290500003)(6512007)(8936002)(3280700002)(478600001)(107886003)(106356001)(105586002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0924;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: babe444d-c02e-45eb-92e6-08d58156fdd5 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:29:18.4632 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0924 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kieran Bingham [ Upstream commit 1531a208ed861e4bd287444f9466ffcf98383de2 ] The DRM object does not register the pipe with the WPF object. This is used internally throughout the driver as a means of accessing the pipe. As such this breaks operations which require access to the pipe from WPF interrupts. Register the pipe inside the WPF object after it has been declared as the output. Fixes: ff7e97c94d9f ("[media] v4l: vsp1: Store pipeline pointer in rwpf") Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/platform/vsp1/vsp1_drm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/vsp1/vsp1_drm.c b/drivers/media/platfor= m/vsp1/vsp1_drm.c index cd209dccff1b..8e2aa3f8e52f 100644 --- a/drivers/media/platform/vsp1/vsp1_drm.c +++ b/drivers/media/platform/vsp1/vsp1_drm.c @@ -596,6 +596,7 @@ int vsp1_drm_init(struct vsp1_device *vsp1) pipe->bru =3D &vsp1->bru->entity; pipe->lif =3D &vsp1->lif->entity; pipe->output =3D vsp1->wpf[0]; + pipe->output->pipe =3D pipe; =20 return 0; } --=20 2.14.1