Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp478587imm; Wed, 26 Sep 2018 01:47:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV63QTKfZ+ajpxh5EiOBYj95PV9v4IaISMxF2FhciGnPW0m9xhyInsIlOkaynP5i/WgG+0rF3 X-Received: by 2002:a63:dc14:: with SMTP id s20-v6mr4749741pgg.398.1537951662391; Wed, 26 Sep 2018 01:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537951662; cv=none; d=google.com; s=arc-20160816; b=NyEGw3nWzyXJ8gRaWzQB2xMI3+J/P5wOUdIf9XlCrPiwvrEDQ7DrtSW7D0rstcuoQq NbBrJEt0hTokJx1V9/RuwguWxg4lr0SZWWaJFIHutRJcQx4dE/RyjyEmA1pFlLHLgurp O7H1L4a3LtpWjgUltE1eEzwogKYMX07+EVtXGYIxzvM9o2GFAautRal0LiPVhaLvrsBC RxOCAzVsRloqE5VlT1Z4NzRb0o5JEF7tBYRXH3U/LjDOM8n/oxOzeahLRLmb4MPSX2vA hQBK0/Tf826xlzJc/NVpFVqtEuJqaJTV+zNkKhp/W+5g+IL1SHW+fuewhQ0Q5uRPyS+o TnsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=3wmdpT2RtisiXyJGx2d9S+m1KY/uFZpRWLXGAkc1vQY=; b=VDY/EPf5yJwNEWbP7B7D1yyQR7VqPAMMetmcJb8H2HECpPHNB5ON27RxcYzsg0vRwn QwPbi7VpVClzKlQDsBaxKHd8NV4d14LcV4gQiQbyANQ1rAUWshepme2fm4IJw+HE1U4b WdERONwaHpnu8AqNC2S70C/OpfBAA0jNvdRleOAkZem0ySxG2YVYO2sKj7iAtqnDhS/d Yzxya28p+AK4LhNKT0seKOSqgBWjqwKZ5uuqtK+6zd/dPIaopcSzjQgA/qzYSGAzzEkT EFnUYm1VOGUCQgdHS+nS6MXaxjk9ZezPUS43t1fQzSaIgdHmlBehhxcAehwTxVGc0vZ6 jlPw== ARC-Authentication-Results: i=1; mx.google.com; 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 c17-v6si4656086pgc.158.2018.09.26.01.47.26; Wed, 26 Sep 2018 01:47:42 -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; 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 S1727552AbeIZO6i (ORCPT + 99 others); Wed, 26 Sep 2018 10:58:38 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:57622 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726593AbeIZO6i (ORCPT ); Wed, 26 Sep 2018 10:58:38 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 54A2EEE2295A4; Wed, 26 Sep 2018 16:46:44 +0800 (CST) Received: from [127.0.0.1] (10.202.226.41) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.399.0; Wed, 26 Sep 2018 16:46:39 +0800 Subject: Re: [PATCH 0/3] HiBMC driver fixes To: Xinliang Liu References: <1537550727-21257-1-git-send-email-john.garry@huawei.com> CC: "Liuxinliang (Matthew Liu)" , XinWei Kong , Feng Chen , "David Airlie" , Daniel Vetter , , Linux Kernel Mailing List , dri-devel , Linuxarm , Rongrong Zou From: John Garry Message-ID: Date: Wed, 26 Sep 2018 09:46:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.41] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ensure these fixes are included in 4.19 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 > > . >