Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1749107imm; Thu, 27 Sep 2018 01:44:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV63cNnmZlA2Qp9KvLG8h5fjaiFf288dkdeUjGPRbWNe15lXxZHlkMzEd1oShT25Sar6p/5y8 X-Received: by 2002:a63:6385:: with SMTP id x127-v6mr9213814pgb.10.1538037894107; Thu, 27 Sep 2018 01:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538037894; cv=none; d=google.com; s=arc-20160816; b=0jq6QscZqx5SmCVz94Wc0i1t2zSOJ5zI9u6gzk0jY5ip0cWXUv4lpQvsRKdOPbvdhX O4oeSXz6KrdIzxMjxQa5eRuCvHgOgcKwQRKLiq7yxObnIizWub4v4kwHJOodToUnRRsy qmn3jcjAyV7f1vEA9zV0sowfx+4YtRNu8Lr6GZ85crVzWACJYF/DqJ3OZ7NSyqvmKvm8 NoSCckv+STZ9D9806ofqhff9+DbHbUebJYhbvoqREslWkmX/j8lLYDuCmXxuDqq2Su/E 1hdsdz5WYlZTSelXvsZymVRdnF2ajqBWAFra5hV4iUBMWcAcPWyk8xxb1T258t576Zh1 GpVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3/mKZec/uTKFd8D6AurEq3vsssQNu1EQFXqYwyL9Glo=; b=pkzy0fVfnDOT2+izun2hyXsXaNrYD0YsJwW7W3lV+Znmia3mfoY5ouYGo9bapQX8ld +xnSWcSJU4ARiBWhWD22wN55+LAXVhk5/Y3HeJ3j77oQHr4DV01s730SGDn9866o4T8R ktfVUEUfXU+CyVcO1tK/Hg6QqEUuBqKiU2nQ98mJtY5+hRW0rjy+mePLDxVHWQQ23Pe9 UtITRcRdK90KGtVf6FhP8w+gVGJUwc2fSSmp8nsilTVyozE9Qn5NKqfq7DgLfIqN1S6F NCXCZ+qLdH+yBuvgThFNtOqDFrv4EHxngiUO/gcnhkArrYxDnUHIoaoEGJVKtWKeTndA RA1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P0KeiI0Z; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a71-v6si663590pfa.109.2018.09.27.01.44.38; Thu, 27 Sep 2018 01:44:54 -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=pass header.i=@linaro.org header.s=google header.b=P0KeiI0Z; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727111AbeI0PAI (ORCPT + 99 others); Thu, 27 Sep 2018 11:00:08 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35594 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726820AbeI0PAI (ORCPT ); Thu, 27 Sep 2018 11:00:08 -0400 Received: by mail-wm1-f68.google.com with SMTP id o18-v6so5086620wmc.0 for ; Thu, 27 Sep 2018 01:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3/mKZec/uTKFd8D6AurEq3vsssQNu1EQFXqYwyL9Glo=; b=P0KeiI0ZmFm+HuTbgveeHAibYgsLKPvHVRlNulK1oLtE5oPCF5Go+QjIGTt5MpNxKp /kuLOdoxxMK5QrqptxyR8ypB8fzMuUqxKvLULLM859fJ+eBUAFZD3osc9hBPftJ0Lhnh 02svikepH+TJkojgv2n2msYWJnXtVXlcJq46U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3/mKZec/uTKFd8D6AurEq3vsssQNu1EQFXqYwyL9Glo=; b=jeyfMnFcHxlsZmOOjaVq4e2BwQJucsoL1avvXC4WQzmb8TvkAgE4if166FR8yPbtdp ScKzOzRsJZSNyi4Eve90rOnN/SzauYzdqH+iT2d6xM5SIa5vrAOIB3v9JPfqXExkYmxT JNqcAp5vjzndt2u9O4U4D1rxaQHFf8ezCzsZhcaFNC4HzdYtECiCOVartRyX74vy4FQj fIfdp6LcRoyfT9OWFjd/lvB+MRD9jVbCDqdNPTdx41VhEGS/S4VDnipWBgvAkaJ2eJHi V+IoDVFwOdWvtiSCZM/cmMvr0RcHEbkpFTljhP0swLzecslWxVHbAQkVeYK1FaTLXRS+ 9fEw== X-Gm-Message-State: ABuFfogS3SpEHxRla2U+fDUpmwubI3P7QN0qHPsyQnaRjqSG0HI1LJyQ YT/w2Fd/A5f6dqwOjyaNCNOn0+DZx9yxSC83zE8G+Q== X-Received: by 2002:a1c:1745:: with SMTP id 66-v6mr7038381wmx.38.1538037779020; Thu, 27 Sep 2018 01:42:59 -0700 (PDT) MIME-Version: 1.0 References: <1537550727-21257-1-git-send-email-john.garry@huawei.com> <77674be9-734f-12e3-5327-dee89f1f0299@huawei.com> In-Reply-To: <77674be9-734f-12e3-5327-dee89f1f0299@huawei.com> From: Xinliang Liu Date: Thu, 27 Sep 2018 16:42:47 +0800 Message-ID: Subject: Re: [PATCH 0/3] HiBMC driver fixes To: John Garry Cc: "Liuxinliang (Matthew Liu)" , XinWei Kong , Feng Chen , David Airlie , Daniel Vetter , baowenyi@huawei.com, Linux Kernel Mailing List , dri-devel , Linuxarm , Rongrong Zou Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Sep 2018 at 17:54, John Garry wrote: > > On 26/09/2018 10:41, Xinliang Liu wrote: > > On Wed, 26 Sep 2018 at 16:46, John Garry wrote: > >> > >> On 26/09/2018 04:00, Xinliang Liu wrote: > >>> Thanks John, good addressing! > >>> The root cause as you said, our hibmc previous frame buffer format > >>> depth setting is wrong which does not pass the new format sanity > >>> checking drm_mode_legacy_fb_format. > >>> For this series, Reviewed-by: Xinliang Liu > >>> Applied to hisilicon-drm-next. > >> > >> I can't see this branch in the git associated with this driver from its > >> MAINTAINERS entry (git://github.com/xin3liang/linux.git), but please > > Not a branch, it is a tag: drm-hisilicon-next-2018-09-26 > > > >> ensure these fixes are included in 4.19 > > > > As it doesn't affect 4.19-rcx, I send a PULL for 4.20. > > See mail "[GIT PULL] drm-hisilicon-next-2018-09-26" > > When Chris' change goes into 4.20 - which I suspect will be before yours > - boot-time bisect will be broken. Yeah, that's might be a problem. > > John > > > > >> > >> Thanks, > >> John > >> > >>> > >>> Thanks, > >>> Xinliang > >>> > >>> On Sun, 23 Sep 2018 at 20:32, John Garry wrote: > >>>> > >>>> This patchset fixes a couple of issues in probing the HiBMC driver, as > >>>> follows: > >>>> - fix the probe error path to not carry an error code in the pointer > >>>> - don't use invalid legacy fb bpp/depth combination > >>>> > >>>> Another more trivial patch is for using the standard Huawei PCI vendor ID > >>>> instead of hard-coding it. > >>>> > >>>> Tested on Huawei D05 board. I can see tux on BMC VGA console. > >>>> > >>>> John Garry (3): > >>>> drm/hisilicon: hibmc: Do not carry error code in HiBMC framebuffer > >>>> pointer > >>>> drm/hisilicon: hibmc: Don't overwrite fb helper surface depth > >>>> drm/hisilicon: hibmc: Use HUAWEI PCI vendor ID macro > >>>> > >>>> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +- > >>>> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c | 2 +- > >>>> 2 files changed, 2 insertions(+), 2 deletions(-) > >>>> > >>>> -- > >>>> 1.9.1 > >>>> > >>>> _______________________________________________ > >>>> dri-devel mailing list > >>>> dri-devel@lists.freedesktop.org > >>>> https://lists.freedesktop.org/mailman/listinfo/dri-devel > >>> > >>> . > >>> > >> > >> > > > > . > > > >