From patchwork Thu Jan 24 16:58:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10779559 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9AF3617F0 for ; Thu, 24 Jan 2019 16:59:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4378A3054A for ; Thu, 24 Jan 2019 16:59:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 365D030586; Thu, 24 Jan 2019 16:59:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3243304B4 for ; Thu, 24 Jan 2019 16:59:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727786AbfAXQ7F (ORCPT ); Thu, 24 Jan 2019 11:59:05 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:43827 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfAXQ7F (ORCPT ); Thu, 24 Jan 2019 11:59:05 -0500 Received: by mail-ed1-f65.google.com with SMTP id f9so5141817eds.10 for ; Thu, 24 Jan 2019 08:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h4ptnA0telW7DpfyZd6sYBpVLQyyfS4MdzJrfdnQNsc=; b=RGJ6gS28GCCYU5pwVtc50FGpBIqJUsYufodJ9eAH33YoZcGvO0WEkq+I12IwCAxRDK /Za8RUVhzbDWLtS9UzwyIkul/KMsvCZWfyQgj3okb2c00NV0p7jCYYMYW8/fFgHZF2V2 NxqKj83ZL4l33Eqcebq6dWFqI6/WCTDUSjKvM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h4ptnA0telW7DpfyZd6sYBpVLQyyfS4MdzJrfdnQNsc=; b=sieU0KFRRwDkMgiS0dThjJKNK1A2gg1zBmMDCjW+awPasGWD9n2Gb6UgGgDjavsQek BTSJ+J9fjKFFrY//VfH/wPC0fD/nQOte9Uhckcjn8idcwsLuAuz4zXPK8rpQDVI7WZ5/ vLsDCo7ikrKc8peylAesm2epDMaabzwPCUjQZis4LR+kl23ziJGeVlYdsF+FMqXxOVb1 5TIPWdKqvJ8/zPHffflIqkLEg83CcwK1sZ0dkW+A53xNhJ012YIVC6TwUlfSHN259TE4 OeMHJAuQFOxWyRpDpwxlDSmRymXpe9BFz5VhZboYjL4Uub37RdU9LH74JMSA5yIbIp4G xiAA== X-Gm-Message-State: AJcUukdGljwdp9lHhxXFkHXQZ7k3JHBDnNFonR59UFDEkT6F0fkamNRk ANSlbre2Sxglm58TZuXYfHNhXw== X-Google-Smtp-Source: ALg8bN4mCFzExOEiUMsz2bhvNFwllRMJw9fz2gZbVwUAHhR4YqOJgzyPU92e8O4wxybq6icQBiFPfA== X-Received: by 2002:a50:fd0e:: with SMTP id i14mr7254360eds.98.1548349143573; Thu, 24 Jan 2019 08:59:03 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id w31sm11219233edw.82.2019.01.24.08.59.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 08:59:02 -0800 (PST) From: Daniel Vetter To: DRI Development Cc: Intel Graphics Development , Daniel Vetter , Daniel Vetter , Rob Clark , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org Subject: [PATCH 16/26] drm/bochs: Use drm_fb_helper_fill_info Date: Thu, 24 Jan 2019 17:58:21 +0100 Message-Id: <20190124165831.16427-17-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190124165831.16427-1-daniel.vetter@ffwll.ch> References: <20190124165831.16427-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This will change the fb name from "msm" to "msmdrmfb". Signed-off-by: Daniel Vetter Cc: Rob Clark Cc: linux-arm-msm@vger.kernel.org Cc: freedreno@lists.freedesktop.org --- drivers/gpu/drm/msm/msm_fbdev.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_fbdev.c b/drivers/gpu/drm/msm/msm_fbdev.c index c03e860ba737..29f71ae1f634 100644 --- a/drivers/gpu/drm/msm/msm_fbdev.c +++ b/drivers/gpu/drm/msm/msm_fbdev.c @@ -122,13 +122,9 @@ static int msm_fbdev_create(struct drm_fb_helper *helper, fbdev->fb = fb; helper->fb = fb; - fbi->par = helper; fbi->fbops = &msm_fb_ops; - strcpy(fbi->fix.id, "msm"); - - drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->format->depth); - drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); + drm_fb_helper_fill_info(fbi, helper); dev->mode_config.fb_base = paddr;