Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1379035imm; Thu, 4 Oct 2018 12:37:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV60BiF7JnNMkBJURQzxnsUAsVG+kdxv+3E8cDzPjSKPyuUQ0JLvLrxBh1e8jRXmVZiOxfVUY X-Received: by 2002:a17:902:6a2:: with SMTP id 31-v6mr7760714plh.1.1538681865183; Thu, 04 Oct 2018 12:37:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538681865; cv=none; d=google.com; s=arc-20160816; b=sA/f8R/bbUp+FDNUj4mZdt5N/XJT0PmqHQiHfWYJUCcbgh0xjILxgbjw9WltPDnCdT /+3S7jMbPlOAcjOWI+jydlgqKt8wQw+EzWcpVfev2uqTciqD0MVY03GZN3FwTim2dAUg vs9p1hnK4bmIGMYOEb7Xny/Rd2PyWxLdNbOFaOipL0Pt+u/zMCGRvJmGSzdxI0rXB1yY Io2f6J5anmixtNK0zQ27blmmwMPCI0amynso1WcueFpG+uoObzWkX3YNx11lWLtTTSl7 wfYUani8ZjJgvbWxM4EFGkazDRxZWutWz+AbkQSsgGbCl6ioiGJLQTBevJ869Taib40i kr6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=yDbfYw7wkzpkAyib8N58NEJFyOf7ZQ8jMXKdqpVd+uU=; b=Sa2dl0BvQBPt+UrD/2BncNh87XPolxb/yeCDXZN5aD5NXaKAxInbC3SEbDsoDh614t /SF2nKpf0BSBn62IydFvVH2fQEFaphbQa0GeU6/OI8StT3wGgIO8oiowzyjl/4c5Ty6a 2OPwAYrP2CSFTnfDYURm2YU8DQlODN2e3EGBeGpnWwmzQ5sqtLz+MdXBKmaOvHmdYOqp c9zXrbVfzEJnmTdD6M5r/3RMoP4TeZCppl7NJgh3SSv6H1yHdxAHxEhAtSi2sbOEIaYG ay29kvDtyPbiJBlP/hiUilse4lKyFzPBLoZW0ZtDjAkhB+9oysVrzRGX4Uz2uT/fN0Ag PBOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=ZcsAxnSL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c197-v6si6264457pfc.74.2018.10.04.12.37.29; Thu, 04 Oct 2018 12:37:45 -0700 (PDT) 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=fail header.i=@ffwll.ch header.s=google header.b=ZcsAxnSL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727650AbeJECad (ORCPT + 99 others); Thu, 4 Oct 2018 22:30:33 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:33128 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727519AbeJECad (ORCPT ); Thu, 4 Oct 2018 22:30:33 -0400 Received: by mail-ed1-f66.google.com with SMTP id g26-v6so9647508edp.0 for ; Thu, 04 Oct 2018 12:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=yDbfYw7wkzpkAyib8N58NEJFyOf7ZQ8jMXKdqpVd+uU=; b=ZcsAxnSLm7gQ9Ke4y2v3FcD3yTmVi/eL3LfTqa3QlEKHEtF0CeOk5hmWAdi1hcAk2h jurWeGJYKf+z+yINBnTixWXPpAQiO3vExiBuCY8LjLHCA7wFtU0zf2aoLdJzq8CNzYfx OLrInffaxp1yCRULrHqjJy4X0z8jxTRA7NuDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=yDbfYw7wkzpkAyib8N58NEJFyOf7ZQ8jMXKdqpVd+uU=; b=dXNxKiCWlh8mpbQ2dX/Cj29T3Jqf2rIkhC9jnv6Ph5tKgDgTgxr1hDLvq7VBDNi9Ml D3Cjidh0JlXRBFlhvWA6z3SlYFN9aXXl+H/WSFlkaJsEfy5ADizvnItUlM/NV/dmpgwQ dUoydcmr2v4nHxznCzRtss524P64VV6r2C1ppXslRbCc/RClxbYUZKdflKoN9sZTl1IK +U3ochsDTWzQ1SQUgTVwR6zDRhQod4G/6Lr+qD0B8gCXfNXAXLLLXDApzlBZp28jbl7I arxPPOaecRGcdPI4NkW4ERZZS2gbHX5EhwmnmpJ7gdYxOKPaQXestfbor5aqhbNOpMps K9Lw== X-Gm-Message-State: ABuFfoh6KfB734fFhFvRxm0jZcEy2jJbYqLLplC3iLNGT5egiWtHX584 EMK7ZPvbRTrpJn05tPIAlxYRgQ== X-Received: by 2002:aa7:c458:: with SMTP id n24-v6mr10162000edr.55.1538681749276; Thu, 04 Oct 2018 12:35:49 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id ha9-v6sm1021789ejb.77.2018.10.04.12.35.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Oct 2018 12:35:45 -0700 (PDT) Date: Thu, 4 Oct 2018 21:35:43 +0200 From: Daniel Vetter To: Arnd Bergmann Cc: noralf@tronnes.org, Daniel Vetter , Philipp Zabel , David Airlie , Lucas Stach , Sam Ravnborg , Souptick Joarder , Leonard Crestez , tzimmermann@suse.de, dri-devel , Linux Kernel Mailing List Subject: Re: [PATCH] drm/imx: move 'legacyfb_depth' definition out of #ifdef Message-ID: <20181004193543.GQ31561@phenom.ffwll.local> Mail-Followup-To: Arnd Bergmann , noralf@tronnes.org, Philipp Zabel , David Airlie , Lucas Stach , Sam Ravnborg , Souptick Joarder , Leonard Crestez , tzimmermann@suse.de, dri-devel , Linux Kernel Mailing List References: <20181002205836.2323084-1-arnd@arndb.de> <123f7e1c-8f2b-5797-de16-650ec01d0b24@tronnes.org> <20181003161326.GD31561@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux phenom 4.14.0-1-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 04, 2018 at 05:04:21PM +0200, Arnd Bergmann wrote: > On Thu, Oct 4, 2018 at 4:43 PM Noralf Tr?nnes wrote: > > Den 04.10.2018 09.48, skrev Daniel Vetter: > > > On Wed, Oct 3, 2018 at 9:51 PM Arnd Bergmann wrote: > > >> On Wed, Oct 3, 2018 at 6:13 PM Daniel Vetter wrote: > > >>> On Wed, Oct 03, 2018 at 05:49:32PM +0200, Noralf Tr?nnes wrote: > > >>>> > > >>>> Den 02.10.2018 22.58, skrev Arnd Bergmann: > > >>>>> The variable is now referenced unconditionally, but still > > >>>>> declared in an #ifdef: > > >>>>> > > >>>>> drivers/gpu/drm/imx/imx-drm-core.c: In function 'imx_drm_bind': > > >>>>> drivers/gpu/drm/imx/imx-drm-core.c:264:6: error: 'legacyfb_depth' undeclared (first use in this function); did you mean 'lockdep_depth'? > > >>>>> > > >>>>> Remove the #ifdef so it can always be accessed. > > >>>>> > > >>>>> Fixes: f53705fd9803 ("drm/imx: Use drm_fbdev_generic_setup()") > > >>>>> Signed-off-by: Arnd Bergmann > > >>>>> --- > > >>>> I've already applied the previous one you sent: > > >>>> https://cgit.freedesktop.org/drm/drm-misc/commit/?id=064b06bbf117f8b5e64a5143e970d5a1cf602fd6 > > >>>> > > >>>> Not sure when it reaches linux-next now that we are past rc6. > > >>> Only once we're past -rc1. > > >> Can we revert f53705fd9803 in linux-next then to prevent the regression from > > >> making it into 4.20? > > > Probably simpler to cherry pick the fix from drm-misc-next to > > > drm-misc-next-fixes. Noralf, can you pls do that? > > > > Would this be the correct procudure: > > > > dim update-branches > > dim create-workdir drm-misc-next-fixes > > > > CONFIG_DRM_FBDEV_EMULATION=n > > > > git cherry-pick 064b06bbf117f8b5e64a5143e970d5a1cf602fd6 > > > > dim push-branch drm-misc-next-fixes > > > > I read that cherry picking creates a new commit with a new hash. > > But since you ask me to do this, I assume git will handle this when > > branches are merged? > > The git history will show both commit IDs, which is a bit ugly but > ok if it's rare enough. There is a chance for creating a conflict if the > backport changes context, or one branch contains extra changes > that touch the same lines, but usually this is not a problem. +1, and your recipe looks good too. drm-intel works entirely on these cherry-picks, and we've done it a few times in drm-misc too. Having to cherry-pick is one of the downsides of group maintainership, since you really can't rebase trees at will. Definitely not the -next queue. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch