Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp274467pxb; Wed, 27 Oct 2021 02:50:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg+5QnFoIJip7TDJ34ttNjcwZ4dxybIvDKoO90KSEVmpnbsvyVZ7zijP2wZiUxcuQ95PqT X-Received: by 2002:a17:90b:4ac9:: with SMTP id mh9mr4724815pjb.173.1635328237626; Wed, 27 Oct 2021 02:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635328237; cv=none; d=google.com; s=arc-20160816; b=RchEFxwjAf/3SnvXaxqBFSxXG00yqjJScdkzI48ND5i7Put3Ay93gdKdJDYO5znbKc bR66qpPOixfuY1Hom37S2lRDMHew4LpGLMd/MpxR0Y2OenrVLkXscOwHaiXeKJKnHEfR 2AyLWhAaRvrmXAy77+bdzLWF0Obaw7qekiPjbNmWpYbdhij+LajLRcWguqdG5rIOYo+Z ZZDTaacthjx2qsIgT/UK7NLNcF/poOqLkXwRmHzqAFAl9V68oHCjNl5SbdVnWmp8aw7d oI3p8GLLQp3I7AhDGQRu8bzhvzGpCSILijLDQrvzNdp1qDQBA5lkUWbHfDHDnirp6p83 6ksg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nB4e6hJ4iiTdgUlpoHX4JiHqvuWD9iBvhiQUSGuoJO4=; b=UPz5XfN9Rctn7CYxVbAxvTkf/4pWfHCZOvW3i+R+MT3Nbv9A1LtyDksBEq+zARaHSh xaWAiDDMJ/z3rqbw1RVj8SyYYu1z3Xu0HNYV1D/z+OkMMddcPSuXqFmzNbJY4fwU+XUv /AGpl8wPLYM/qlJ3jg9ruoUt9weQqjB1C1OLr3uVnEvNcX2fDx9HvdY4vXxzw4CIdiZs zg2yBbrWx2uvXUF0g7eIvLnGqxcVEjrPzniPOKR+uJkl95U/CwyY+EgMj9m0nGi9SLF9 8dO+cqMs2uzi2BxnH5WGZ99dAccO7j1jKqMf1hinitEPppDpoTX67lqwBPtkdt8uiOjL fknQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=bp0jJ7Zc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si35718893pfv.258.2021.10.27.02.50.02; Wed, 27 Oct 2021 02:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=bp0jJ7Zc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238961AbhJZThZ (ORCPT + 99 others); Tue, 26 Oct 2021 15:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238846AbhJZTgz (ORCPT ); Tue, 26 Oct 2021 15:36:55 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58E8BC061229 for ; Tue, 26 Oct 2021 12:34:27 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id p14so103567wrd.10 for ; Tue, 26 Oct 2021 12:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nB4e6hJ4iiTdgUlpoHX4JiHqvuWD9iBvhiQUSGuoJO4=; b=bp0jJ7ZceOzhwiLL2z456G+nLL1DoRI+t7YWJGoypcTUguXeiqTGtvK21TTZJ6H/mj vpMbX9pBg6JG8IMSV9aAKwktwpyGRUJdJrnI723z9KnyxGz5KLk9Xj2A2n/2esmLeF1L B2f6UkAPOzDe16/any8YTtfUY1W6NGOAC8VTni0Nhvp16xrBlydlHK2spZ7YBfaxj7Oa ejpNTtGBkchhJsF167fCIn4zXX5Fc4qGbu1QM4XaN0UrOnvxK4XUF8rv3is+oJfA+cc8 fsEvpAwU+eNWZ1M65yh5knZsl9kBXc51/zjpoJ8k+OSaTzh3532S9rzbAO+8KTWXCT2u 6eTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nB4e6hJ4iiTdgUlpoHX4JiHqvuWD9iBvhiQUSGuoJO4=; b=bTTBvNVkZudDCXuQZVXZWxTXhHhXNFml2mDDgd/d3mzbrQ7hmq3RrtnBVnjvaZFV2u GOrh//PqJzKKIQJ+WYt6USH3OHzR+RB2unc0wZljQIc2Ap8GP8tp9e16Jck7p5SdyCNx oTZKIzNS1wXt9Kfwxxvu8VJJ9hZfNoQkvCT5iUmurkChTtEECd/4enjnKv3Aq3Zamu/m 5LxizkKxUy13V51ot4IB+u/oMGNu3Qw7NA4eXnv8asdy88d3uyv9Mdm4RF00VtLt8sKc nxD5HL0q9rPukUH70o1FjN+y66FU1XWrLTT2i9EK9mlPpxnIxMuK1VzGFqNl/JhzFSAt JrFQ== X-Gm-Message-State: AOAM532aTGtsqcBNAWBA79oKYi7r9Vd/8IJHwNjWAFL5myfWJCmfEkoh 00JOYOQwiqY+LxQb2/+x1A8edw== X-Received: by 2002:adf:bd8a:: with SMTP id l10mr34362048wrh.159.1635276865839; Tue, 26 Oct 2021 12:34:25 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id s18sm17676123wrb.95.2021.10.26.12.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 12:34:25 -0700 (PDT) From: Corentin Labbe To: mchehab@kernel.org, hverkuil@xs4all.nl, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, mjpeg-users@lists.sourceforge.net, Corentin Labbe Subject: [PATCH v3 07/14] staging: media: zoran: remove vidmem Date: Tue, 26 Oct 2021 19:34:09 +0000 Message-Id: <20211026193416.1176797-8-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211026193416.1176797-1-clabbe@baylibre.com> References: <20211026193416.1176797-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vidmem parameter is no longer necessary since we removed framebuffer support. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_card.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c index a7750442ef9e..9cd49f85a56e 100644 --- a/drivers/staging/media/zoran/zoran_card.c +++ b/drivers/staging/media/zoran/zoran_card.c @@ -39,17 +39,6 @@ static int card[BUZ_MAX] = { [0 ... (BUZ_MAX - 1)] = -1 }; module_param_array(card, int, NULL, 0444); MODULE_PARM_DESC(card, "Card type"); -/* - * The video mem address of the video card. The driver has a little database - * for some videocards to determine it from there. If your video card is not - * in there you have either to give it to the driver as a parameter or set - * in a VIDIOCSFBUF ioctl - */ - -static unsigned long vidmem; /* default = 0 - Video memory base address */ -module_param_hw(vidmem, ulong, iomem, 0444); -MODULE_PARM_DESC(vidmem, "Default video memory base address"); - /* Default input and video norm at startup of the driver. */ static unsigned int default_input; /* default 0 = Composite, 1 = S-Video */ @@ -1218,10 +1207,6 @@ static int zoran_probe(struct pci_dev *pdev, const struct pci_device_id *ent) jpg_bufsize = 8192; if (jpg_bufsize > (512 * 1024)) jpg_bufsize = 512 * 1024; - /* Use parameter for vidmem or try to find a video card */ - if (vidmem) - pci_info(pdev, "%s: Using supplied video memory base address @ 0x%lx\n", - ZORAN_NAME, vidmem); /* some mainboards might not do PCI-PCI data transfer well */ if (pci_pci_problems & (PCIPCI_FAIL | PCIAGP_FAIL | PCIPCI_ALIMAGIK)) -- 2.32.0