Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp526453imm; Wed, 26 Sep 2018 02:43:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV61wRfKQbMbx6d+yhTvjitl8cV2Ta0Ie0QOE2qrHdyKuMulYmQWKNDJixkL9d/LFrNe4cWIS X-Received: by 2002:a62:411a:: with SMTP id o26-v6mr5431437pfa.111.1537955018493; Wed, 26 Sep 2018 02:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537955018; cv=none; d=google.com; s=arc-20160816; b=sBrIYPerrklC03jFSTupvFNAQuBWcBXQfpxARlyg1xJH7KX7IndBBu1VRY5qdMwa1b 5PRW1RIlmcNO1F9VwBP1tKxXbOPs7v4hCltxTCqWdhs3kVEDlZtr6F0ng/7IwUKjQ+6v OqmbEO8q0UUCGT7jb3oT9qQ6VJOLD3qLm4N3Py5l7f76RDsVoNH+2vaOoWV/3JJNvOD2 bYG0SnlCBPWp0R2XcpNQ9M41KpUsPBoDAIpYJEYvsY727aQBs/m9im26H1tgp7+Grrmb Sba080RC9OC7MloHXUQ3WFRzqRBBu3wnsIcLvmT17MjzyI1ifVIb2LvlPvZoDW42ZiKc XK0Q== 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=DCX7SQRUbXAT+ztlLzDrwMN6Bo72Q7arOYkO58WDl8g=; b=YdQiTNNshti9qRWk++F+fk7A5lAVqHbuutxOcIOT1oUDSCKj2Q5dYkhlBUHeIFtwrh JJcbtQkrauc1iUVO3mp51UsSEsSEMegxT1wlHS8GNa7x1sAge2ofIp9QDKxQ67rIBcjl cJJJXQeF7oIMkPprZX7+ykRfWQpUxoCObaMvM/cKYUnlw0mJ3fy2+TMrDhcFjwO0dAMk mBVVonASyz3nZePZW5J3ltjWKwCOg0rcB6whdGYlNzRMxhPRjeYGF5DqOq3B/a/RR/XJ gnx5s37tJWwgi4LA/4FQgL15NFRdz/5UgKhk2aEmgmoIdOkY0otJ87NCA4WE7Gk8xjZH KzLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RI3oTyTP; 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 a8-v6si4810278pgh.396.2018.09.26.02.42.53; Wed, 26 Sep 2018 02:43:38 -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=RI3oTyTP; 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 S1727057AbeIZPyu (ORCPT + 99 others); Wed, 26 Sep 2018 11:54:50 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40250 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726777AbeIZPyu (ORCPT ); Wed, 26 Sep 2018 11:54:50 -0400 Received: by mail-wm1-f67.google.com with SMTP id o2-v6so1538620wmh.5 for ; Wed, 26 Sep 2018 02:42:42 -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=DCX7SQRUbXAT+ztlLzDrwMN6Bo72Q7arOYkO58WDl8g=; b=RI3oTyTPknZpIozqMNbVJn8WmPkzsuPh2LrRQbEkY4gVptZS/w1lDIqChLuzstR0hP VBzUVkAXYE6sgE5UgOzh0RQOPL1CD8UVVSgqWeXmbuGxg95YZ7JkPlK5jEGzctdI6gLv FB/wLMfjC7KS1ih9wL7aoPqEzFuR8yf71s5Ko= 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=DCX7SQRUbXAT+ztlLzDrwMN6Bo72Q7arOYkO58WDl8g=; b=aJXeae9CZK8El8QlOtA56Q7zUj66PFr/d7V9OyEUhGzR14+gq99KHxRpNBmw09hzW8 HEgmyQw+Ln9X5gCVlc+FdOfIUldSLX4qH80RK1qRnUh0iNVZ9Xv1OH+Ds/LDUQjVj8pq 5edkbL5YIuOKZYQ09biv8U3Vt9UKuvcRLmfkfyw/ioYPq0gWvw7dxojrMEeV/kA9bfda JsNq9oswLBpHXtctHItjHaFLjnHmNGft1Wtg8VXHbWOs/yOskTCzMu1GlNTJbXEMXSOQ WZ9KOTQhwq46S/F5eEzYDRJj8S/JRe2J4nXXLtttMKvOJP7xP51NCjBamrlCn4jyUf5U gDPg== X-Gm-Message-State: ABuFfog3Fe6yT9R17SKf0BUnQs673NUZBRUQ/NOu8RH99R0vi18wO3oA TFL+rXbJbz6DzR11xPV8F1xX4xOlWgJ57uWVELQqkPCIZc8nfOsc X-Received: by 2002:a1c:1745:: with SMTP id 66-v6mr3704786wmx.38.1537954961942; Wed, 26 Sep 2018 02:42:41 -0700 (PDT) MIME-Version: 1.0 References: <1537550727-21257-1-git-send-email-john.garry@huawei.com> In-Reply-To: From: Xinliang Liu Date: Wed, 26 Sep 2018 17:41:20 +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 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" > > 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 > > > > . > > > >