Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp218522imm; Tue, 25 Sep 2018 20:01:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV61bqNgdaJxpdBSA0w3wmQyuvCoMEVjODT/SNlT9KPkibAxgoTpNB3RMghzbUzcVzMyuzOju X-Received: by 2002:a17:902:934a:: with SMTP id g10-v6mr3816459plp.121.1537930903738; Tue, 25 Sep 2018 20:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537930903; cv=none; d=google.com; s=arc-20160816; b=UwsUCyrxR9YLilEbb7PR+BD4YD6mMCVUIr7o9fM+Hi7u3nhUaB/xNs7gzbcvgyfL9/ AMJnDOj5VgX9JjpnrxnKdw60g19MTP+Wx1mDOpKi7SvKnafYiYPXW3A2/W6ZrGpr8IQn 4EmmRvpp0haiNOcGp35o/5qkWaOMoKVpZ9jnHT5r6Q9rCw8K8cPeHxKvzJZjyVpCUyfM fYUqMbZwe6kFxDNNL1/vPfuiUsp8h8HkhAzEsfZJSLUAKRXLrYj4dFt8rESjBxUC5N0f yVxTTNLDmZ5plMnkn2163evCODMq1ZHfCNGb5t11grnRi9E93fm78W+fz4FFYeFgSIvk 6epw== 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=eC45jCgd7XrZJSmA1UInpQYv0RV1Mzmm6hFnAUVbmP0=; b=hb7sh8zvGuSCjH2jrec5h7AnDHaGWjJVZVQ3Z+gYCtGa44QQ/QlHFD39EBUBwU+bDg UQ+viqoptI0i5JBR4rQUbhhAiGpcRjdGBDGZf+Z14evBdKPh+Icp8QSpKDKhy5TyrB5h WzZgvR4YgbkU+W4BVgErEV9skcscsYHTnsAMnyBjWXrQ2Ckz+3q5uIlF/kfGV1CYALuS D37w4Ia73ryTZh8EU0rmw5rQsM0Dww1c/3PL/oBH1RSOVrrhRwlTv8wK6BSuX+0+74aP Izu0hmLheYew4rdTbJe4HHngAjHYf61kG425Bl/+pyr/QkkZhULRxK0C4YVBEIoID5ee oHKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hQSQPkNZ; 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 p24-v6si4140824plr.510.2018.09.25.20.01.27; Tue, 25 Sep 2018 20:01:43 -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=hQSQPkNZ; 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 S1727043AbeIZJLF (ORCPT + 99 others); Wed, 26 Sep 2018 05:11:05 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35737 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbeIZJLE (ORCPT ); Wed, 26 Sep 2018 05:11:04 -0400 Received: by mail-wm1-f68.google.com with SMTP id o18-v6so580709wmc.0 for ; Tue, 25 Sep 2018 20:00:23 -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=eC45jCgd7XrZJSmA1UInpQYv0RV1Mzmm6hFnAUVbmP0=; b=hQSQPkNZZ7NRJ5ggIckmiVEifGZCT/LfSiOqo5Jdg2B0LJty2rF6fIgjaSVxronQ7k 9I2pjG2ebYqDiJPJzxLslmmpmwy+oVa/LvLUvI2qDJ0ITt/o4068DsIi80Ha9E96kF7F rjdtvVRXOCU5gI/11z1/Lq+q97tcyvJ/uvSA4= 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=eC45jCgd7XrZJSmA1UInpQYv0RV1Mzmm6hFnAUVbmP0=; b=QPuKHoTGzmyv8Lh/Cas8Y5i2XLLtLsVFYePtb8R3LIU+sl4Z/psIt26jFR2QinFJbx 5ngjghso1AtxFlXZCOUy0E1nh/JBms5TbiLvtfIpuki6Vs65iaCUGvtSKfFwwFl4HSld jeaswAivoV+Vb8DV5D6iOkqPD/cFsC4lvQXX4WBw1569gPWSeEtQ8UQIOrFzSxwylqAh RusJJMum0Xe3SjKt62v8yWF0aKb1jGlgr3fnPfrVlPvAQR6oi9jpN/sVjO90yodCdQc1 aZx4czKoUAok9L3gHYS4ZZmkzL0VNFrhRFwfh3xKZ5qmMSp0dH144H8mukZm5ee+94LT gb2A== X-Gm-Message-State: ABuFfoj7y/lHmanhvc2JukEq1EUIpIW4AkFm88b8/GWAWxtr/3oTB04Z xjlj0nxhmVaSjuPqZcch+HSIdOepprKSfO+MYoPkZg== X-Received: by 2002:a1c:1805:: with SMTP id 5-v6mr2785342wmy.25.1537930822945; Tue, 25 Sep 2018 20:00:22 -0700 (PDT) MIME-Version: 1.0 References: <1537550727-21257-1-git-send-email-john.garry@huawei.com> In-Reply-To: <1537550727-21257-1-git-send-email-john.garry@huawei.com> From: Xinliang Liu Date: Wed, 26 Sep 2018 11:00:12 +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 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. 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