Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754148AbdDCR0u (ORCPT ); Mon, 3 Apr 2017 13:26:50 -0400 Received: from mail-sn1nam01on0065.outbound.protection.outlook.com ([104.47.32.65]:31568 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752609AbdDCR0s (ORCPT ); Mon, 3 Apr 2017 13:26:48 -0400 Authentication-Results: canb.auug.org.au; dkim=none (message not signed) header.d=none;canb.auug.org.au; dmarc=none action=none header.from=vmware.com; Date: Mon, 3 Apr 2017 10:26:52 -0700 From: Sinclair Yeh To: Stephen Rothwell CC: Daniel Vetter , Intel Graphics , DRI , Dave Airlie , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the drm-misc tree Message-ID: <20170403172652.GB61621@syeh-m02> References: <20170403133129.357df27f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170403133129.357df27f@canb.auug.org.au> User-Agent: Mutt/1.8.0 (2017-02-23) X-Originating-IP: [2601:641:c000:bf84:95e2:86e6:d4c6:d82] X-ClientProxiedBy: MWHPR15CA0062.namprd15.prod.outlook.com (10.174.254.24) To MWHPR05MB3293.namprd05.prod.outlook.com (10.174.174.156) X-MS-Office365-Filtering-Correlation-Id: bcf6db61-6b59-490f-4df8-08d47ab69a39 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:MWHPR05MB3293; X-Microsoft-Exchange-Diagnostics: 1;MWHPR05MB3293;3:NiQBI7MCLtfD/Xkz/xG3wK5Cu9OcWFzNUHjOkB6POBGYIWmj2Y4vUgLz6XIPrNP6y82ZbnnCgZv3AYFqpFBCoQcBom00ptH5HmXH6BHS3pNkkoNxZjXIHBL79dlsq1A5fpLWHDdt10josVdyKqAIyqAseaXkpYH4tEKsrLXFSj/oqcwhpT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wd6iXNfL/Y0ebmAlXfcHj0YYBnswgBufMg72kfEp/Nci3WKtkWQzRJ0bxgokTZpq8SWoWm9Z0nEB8gLsodBRk0UntljvtCjW9O52B4nQhNCInsAedaCbDnjZdAaOXbTB6GUnn29TXS2bSSeWKH5eSM4J3t0amqc+Y5Ic8PlMHWG7jBPJ3ZaT1k2kkpuVBimV5dXcMupO/Fvr2V6UPNhTKiGV3j3NSlty0JEShXcFq3C9dR8eR1nINGyMHbrkIwvWQ0WZlehYrmHT0HziS5GkXTfhse+Q7fXutzZE7/PJZHNTYE3xAGeUoh/S8JTBjBHFIzGx5TWIhb2PfDnMjWNqvX/aYCY4LXWz5u5ebNk6x0dS0KSeupMCVGin2SjxmgxZOBcubaoLw6WqOqhTwLsx2icwa X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123564025)(20161123562025)(6072148);SRVR:MWHPR05MB3293;BCL:0;PCL:0;RULEID:;SRVR:MWHPR05MB3293; X-Microsoft-Exchange-Diagnostics: 1;MWHPR05MB3293;4:YNP5erBJ8ycJy7Gr4ZIYEh/KXyarK6O+vUIBeEhFw6zZ0auG4ri2Ost/Ibd4uYyviBed0Zxp+vDWCTop22UZjwAy9dXVOJMQ7h41Fu4vEy598eKXFCdQBMeJNs2nV0kSfKVQ1kMRr/Bkr5rr4RtIELfkepos+IKdFFoKRknvCG7LvkqpAiDpoSqZVefgAq1dz7N1C+Mik8AXuUjuGHNfnjcTuLAla7OuSHqxkxBZvSxwfX4/akFaceaEB8NuzwTuS9sIgwvqOrThxdVm7vnvqqbElmZWhWN3hGz5VNbddbRYtN77YQd2+aa8KrLtZIK8Bwno0KxSq4htxs7ZKIaA0xmCOYx9PbTLFwSC/EGytqbEpXki6iSvR2COwlHYl+K2OLmgVNHDHahEn/w6EDymZj18DvKpAnAJppSeitbVUSlGPs/hj6XvbZjplNFleoQWhpeov/UbU9FANSPdEPyJq9ol+fn9cEiFlu4IARxDznbfDzxFfwjpNgcHrrhpvoJY+bRna3uIgDtTCXjKYvJSpa70J94Qd+XvulQCcFWS8BYPDdZXCdIjPRgqtQB8c/a3BKFe13UANVMnEndicPyWvD2IbThLt8MfGXQ6rlj2HpzVvkjqLKXHTO+Nw4RC226jtt4L3sOi9H8dU+W6kMpjUZbT8B1VtI+1/aTpqz1l8enzm86XdAQLIRcMWXrQmB13JOsVfuWRw+/fSrir0TMnLhGjnkvNtdD10j1B/zBVHgb2OyFFvOR2RTq53uWvJGedt54pKJKXl8nXnT9cQmshng== X-Forefront-PRVS: 0266491E90 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39400400002)(39450400003)(39410400002)(39850400002)(39840400002)(53754006)(24454002)(33716001)(2906002)(305945005)(7736002)(25786009)(53546009)(54356999)(189998001)(229853002)(6916009)(2950100002)(50466002)(6666003)(4326008)(8676002)(55016002)(5660300001)(47776003)(50986999)(76176999)(6246003)(38730400002)(110136004)(42186005)(23726003)(81166006)(1076002)(6116002)(97756001)(9686003)(33656002)(6496005)(86362001)(46406003)(53936002)(54906002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR05MB3293;H:syeh-m02;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR05MB3293;23:6Ix//g8C1GO4cyIxaB7nLnnOzQ2siLMlqjB6zWskH?= =?us-ascii?Q?0rzIthyGDrpirS3iy6ndL9KDk5q/e5JZPNEhd6Luf2vnyD+is/vL6E+IGkCt?= =?us-ascii?Q?ztWM91LMsIb32cLAmCSUxPRuACUeDw+Snq3+lzBcxbl8+2FRnwkehGKLu9Kj?= =?us-ascii?Q?aga1xrW1G3R+xtXFs0wiX35+nck/Hl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?DpESXKBpfCHB7VugXd1NiGynafCoPBDVT0DfjRFQhohjqnu8gIwDbK9svHxK?= =?us-ascii?Q?tJuXhzUTkrhfSHsI9xHkcl7dZ6KLS/Z?= X-Microsoft-Exchange-Diagnostics: 1;MWHPR05MB3293;6:TJ3cSPOG4nILoFYHsrB7jF3+VQ6quEP+aLHHAp2N8yeoIAxIGA+ZMzEqlIUzfl3Pjib4nH3ncgmLK6B5ufG26VTzBRBQV7HCa51SLRd4bb70yYszb21miop4+VKIpd2y2Ko0YFkK14OaNB9oPrbtN4PFZslYGonz4l2My3ulUuc6n90tHLNa89ySLJxfd/SIXA194D0lK0MlcCEJLtCmC8sb+ipIwE1BcbI1b9IwlWBmWTdJ4pc8vv0Y+tBB9y25pn2wwhqK8WFRLPHw7uk1muXNc4yn98vHJaVo3fpNZuAsSfnxdsSU6/Eu+8uR8+Kd83qP68Xj6K1eEJ6OgSj/YcSgUK9Mzv9/q6WCsXfy3c88XRVI/cwdNLd21Y6wyfhzjf0i6ZOxCq0I6bhEzq8PSw==;5:z12+LuYubcpE+u1WHeMJ8gTB/RroNehKqic66wKdnBk4ae7B301YPzx2PSznLUE0dZOIiR5awbJNcVDtOIHPV9tNB33nPRftEWSoiW/NJkffvAELirvPsvkpD5a1SvgauYd/+KLisZx8q0gor95f5zSmxuxxqsuu33g+KOcSGe8=;24:tkcXAVwrbImwJHsx4+qNdGV6XNQsAq8WQwaUC/duwOpVRqWp5xIHasgiq7tlBjSHEjjt68TcbJSmRkWf4FaxfYva99PLjU4cCNmrwPcKmwE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR05MB3293;7:L6aLjhRVdGcvfhhBpp0jdteJ2e/IeL0m+Q8G8+rqigqP21CA6nfy0txnRtEuoOeljZ07zEvyGSo4+te1kobN+33LICDyend/0g53rRUbexqbY0CeMwiSqal2FODwNA1Ga4iqB0gbDDaiKgMLb7FoH8QNjV7agBmqQmpDSEw91+7Tk82qF0dRx6w7QLgLAZS5pj8eaC41HUC/wIqZdk8JOL1/gTxmm/5fdA9X22e+pqVGS8pNwpLI1c95sJcYJF0ybb12q7KWjBPUOkNMSszQwfyKLja9OB8NB1UDtsIlUUvJ6GHCYT7xv0Q5mYZBatGoo3U3R9Ke6c/kdk5OxsxvLw==;20:1VK7kLBqUpLE7lppGXaZNMQaK+jakZ4DV+eszk7R4C/yY12JtDU0SjYaJjvILkKLcBsjjlJETEqqDjCamjpc65aKLfEt19XiqdjrYX2KgAVm9THcm9DzJPJKQH28RED4POEOpVWGihaRCnrj5znrRRknlmMY2esJawuoVAnFiEo= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2017 17:26:44.8978 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR05MB3293 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3214 Lines: 82 Thanks for this. This and "drm/vmwgfx: merge fixup for set_config API change": Reviewed-by: Sinclair Yeh On Mon, Apr 03, 2017 at 01:31:29PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c: In function 'vmw_sou_crtc_page_flip': > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:327:8: error: too few arguments to function 'drm_atomic_helper_page_flip' > ret = drm_atomic_helper_page_flip(crtc, new_fb, NULL, flags); > ^ > In file included from drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:31:0: > include/drm/drm_atomic_helper.h:126:5: note: declared here > int drm_atomic_helper_page_flip(struct drm_crtc *crtc, > ^ > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c: In function 'vmw_stdu_crtc_page_flip': > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:508:8: error: too few arguments to function 'drm_atomic_helper_page_flip' > ret = drm_atomic_helper_page_flip(crtc, new_fb, NULL, flags); > ^ > In file included from drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c:32:0: > include/drm/drm_atomic_helper.h:126:5: note: declared here > int drm_atomic_helper_page_flip(struct drm_crtc *crtc, > ^ > > Caused by commit > > 41292b1fa13a ("drm: Add acquire ctx parameter to ->page_flip(_target)") > > interacting with commits > > 904bb5e5817f ("drm/vmwgfx: Switch over to internal atomic API for STDU") > b0119cb9229d ("drm/vmwgfx: Switch over to internal atomic API for SOU and LDU") > > from the drm tree. > > I added this merge fix patch for today: > > From: Stephen Rothwell > Date: Mon, 3 Apr 2017 13:25:55 +1000 > Subject: [PATCH] drm/vmwgfx: merge fixup for page_flip API change > > Signed-off-by: Stephen Rothwell > --- > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 +- > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > index 02b8f2541dca..8d7dc9def7c2 100644 > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > @@ -324,7 +324,7 @@ static int vmw_sou_crtc_page_flip(struct drm_crtc *crtc, > return -EINVAL; > > flags &= ~DRM_MODE_PAGE_FLIP_ASYNC; > - ret = drm_atomic_helper_page_flip(crtc, new_fb, NULL, flags); > + ret = drm_atomic_helper_page_flip(crtc, new_fb, NULL, flags, ctx); > if (ret) { > DRM_ERROR("Page flip error %d.\n", ret); > return ret; > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > index e59bbcd8b226..bad31bdf09b6 100644 > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > @@ -505,7 +505,7 @@ static int vmw_stdu_crtc_page_flip(struct drm_crtc *crtc, > * don't hand it to the helper. > */ > flags &= ~DRM_MODE_PAGE_FLIP_ASYNC; > - ret = drm_atomic_helper_page_flip(crtc, new_fb, NULL, flags); > + ret = drm_atomic_helper_page_flip(crtc, new_fb, NULL, flags, ctx); > if (ret) { > DRM_ERROR("Page flip error %d.\n", ret); > return ret; > -- > 2.11.0 > > -- > Cheers, > Stephen Rothwell