Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp71864imm; Fri, 21 Sep 2018 10:29:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYaZdj5IpA+mEioCvpihTqJoddfe2w24P9CNduXF14ddNs+Uuww8PIB7o/85FVstBNrgcM2 X-Received: by 2002:a65:6104:: with SMTP id z4-v6mr15538121pgu.361.1537550987880; Fri, 21 Sep 2018 10:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537550987; cv=none; d=google.com; s=arc-20160816; b=zCjbW5vTMuEJw6sq7Fo5TmMav8rnoEWcqmeOjPwHiVOupX4mrOlHiLEnS8f2M1wM6d 8kw8HNlqKhUXEakv/U1kG87yDQvnYBV0hGaCSU2O8cmTcldG2+5kDhhkB+eP77i7c39a 1XEz1QUZaKu/hl0IfiJ5TdKmXNY4S8SL4wchTtRRWPyAn3HRj3ijzq8PMMod7WV/me76 Q3lfew3yiamn1/Ygv20qB6OxTqmDNPe5GHdwHyLUr+hUXs/gZAVPd0G/uUJqxNoxq40Z v3hovk+a5KcuY6HLMUFlujRVieZS9vy6ATwl9jR/W/q6ZT5aT/xeb0RuyEHtZUkJaQeD OVFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=W/eDJAd2+C4+rWHYzrbmpTCY7dGIpHqZSiOYUilvyNw=; b=WrK1sbWPSlrL2dnV+d4fzmrV7bR74y+K4e1zIUcHDChResXGft8lUufmZ84Q4h4Hbj jxVf2PRvHh+02Dcc/gAGLroL1BFL6mEn7vGKrP1IpNSORly8r0ybibQBRicyuLvqUxVE v2WYVMfvYUxBdO3jWPo2M7iUxJGWGhmTbm4AREWX6wVMZeoemGLYvo8TVQqXu1SWSghR oy+gLpDOKDgrvu9WhHJp0UdEKvdoiKBEXPwoEPIXj3pwFjws9jBTJn8wiAKKrbIcKFTa b3v8zInq4A5zx/SteiJmZdkSnyJmJ65vVt4YdDoaTuErCQZg6jSC1nWhkm5fh+EMHEZM 5uXw== 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 n7-v6si26957925plk.204.2018.09.21.10.29.31; Fri, 21 Sep 2018 10:29:47 -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 S2390816AbeIUXSE (ORCPT + 99 others); Fri, 21 Sep 2018 19:18:04 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:46773 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389545AbeIUXSE (ORCPT ); Fri, 21 Sep 2018 19:18:04 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 73A0B130405E8; Sat, 22 Sep 2018 01:28:09 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.399.0; Sat, 22 Sep 2018 01:28:03 +0800 From: John Garry To: , , , CC: , , , , , , , John Garry Subject: [PATCH 0/3] HiBMC driver fixes Date: Sat, 22 Sep 2018 01:25:24 +0800 Message-ID: <1537550727-21257-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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