Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp318529rdb; Fri, 5 Jan 2024 10:47:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdHj7jZaM0nJUOzQnKk580nGHAQ6mJgB/pmaajUzJdXY8/8O83uiVSTGQwQO8Qbwq2wjA7 X-Received: by 2002:a17:906:140a:b0:a27:efde:c6f5 with SMTP id p10-20020a170906140a00b00a27efdec6f5mr651990ejc.300.1704480476364; Fri, 05 Jan 2024 10:47:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704480476; cv=none; d=google.com; s=arc-20160816; b=ZTeIlUAyquyhFQTr1Jk3Ip9+MTXItzfw08wB2DjgthgCQqchu0AjFLLUjsLPaEOyDs e2dPR632eEl2g1KQJqBGfTODIKLL2GgLYc84u7Yw2S9Z4e9ApSk4ISAVTEGyEbPyJMYW fp2u5nIUE30mitl4Qqvpdj8c5kg+YNYZwjdu8nS+ZHRBk3b2x2/nT3k18E28MY/66Yy6 cTW2tLU4co/tLqMDmkPsPVI+Pz1njvup/MyDN7XkkV6sC+pn1COzoORZALaw3Zsf8gUy eOiBB2msL99OBqdBORGl2mFHvgzk5iakCXXsw8zmhRS12FVaCMC9IrSXKcD88Ij0elzU yOoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0hV82qyQeeURoOw1VphspNtB304h4w1BHzUU+WLSZ7U=; fh=5cel2jD5h+yPMXVwxbomyVhwojHUqATy6nFjd4aOh4o=; b=dBWWX85oMHnaTrTvqQSAWtlIiB8tgGC283cKkVFlhwLQrQcJosQnPT/mW8DClNfOZj Seh6OtMNR6w4OzlsIjGdbzxJ3Vo2KY5Kq/z2DDQDUUTldnzNm/o2JcBAJX46MwpsGfxp cDp+z713Gm0rZproG7h8Z98ngckm4rvaWQAt834a5dEKgNNqwYcW9pTI0yN3FeuRHckN S+JzkvdjQg1UuumgvUown9V7i+P+mYbmmsLDMhvp/7lphomBL9EnU8l6W56izJqPhMk0 SxaLZ+vV5bSFANaM0OhOgtOX2oZvkboqsIr51grDnD/l0rdcbBiWGyW72gCRs/j6xQn8 Tuqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YnhMsXv5; spf=pass (google.com: domain of linux-kernel+bounces-18242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18242-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r22-20020a1709067fd600b00a2371cc514asi798622ejs.46.2024.01.05.10.47.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 10:47:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YnhMsXv5; spf=pass (google.com: domain of linux-kernel+bounces-18242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18242-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 222411F22519 for ; Fri, 5 Jan 2024 18:47:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66B89364CC; Fri, 5 Jan 2024 18:46:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="YnhMsXv5" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34AAD360AC for ; Fri, 5 Jan 2024 18:46:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1704480410; bh=01fH19b8J9wtDDA6iBO9zaLoR7Wzs0NAYl9Q5D2c8ho=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YnhMsXv5TJeDFRC/oLw3JsL3PEYPPglSA7jhtK5aD/8Zq8VmJpj+HXKGDDX3ecWNH kaYgoHg1eTriN5B4Ju/IXn1EuZiSmztfHmyVgpkDm/bVYN8X0XdsVDBIfKLIdaTyWo fdUU3pb5ba0LXz34PTGVubzq/x4eug+t3/zfdtqFARDmWGQWxhYBZqLdjw3Dqo8yvK zVb6z37Wzn6jJ7y1crDq1WgoF9hyofYghIcAsvbcB+PZYdBSVYwhF5yusAjhReViJX sX5d5la315nfSblsSIRUqgMkAGE9HKcoIEwIp9nUUXHnp2hnuAZLSl4SXlr5wbA1k4 fGH9fzWYkO94w== Received: from workpc.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 6E73F378203F; Fri, 5 Jan 2024 18:46:49 +0000 (UTC) From: Dmitry Osipenko To: David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , =?UTF-8?q?Christian=20K=C3=B6nig?= , Qiang Yu , Steven Price , Boris Brezillon , Emma Anholt , Melissa Wen Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com, virtualization@lists.linux-foundation.org Subject: [PATCH v19 04/30] drm/shmem-helper: Make all exported symbols GPL Date: Fri, 5 Jan 2024 21:45:58 +0300 Message-ID: <20240105184624.508603-5-dmitry.osipenko@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240105184624.508603-1-dmitry.osipenko@collabora.com> References: <20240105184624.508603-1-dmitry.osipenko@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Make all drm-shmem exported symbols GPL to make them consistent with the rest of drm-shmem symbols. Acked-by: Maxime Ripard Reviewed-by: Boris Brezillon Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/drm_gem_shmem_helper.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm_gem_shmem_helper.c index e435f986cd13..0d61f2b3e213 100644 --- a/drivers/gpu/drm/drm_gem_shmem_helper.c +++ b/drivers/gpu/drm/drm_gem_shmem_helper.c @@ -226,7 +226,7 @@ void drm_gem_shmem_put_pages(struct drm_gem_shmem_object *shmem) shmem->pages_mark_accessed_on_put); shmem->pages = NULL; } -EXPORT_SYMBOL(drm_gem_shmem_put_pages); +EXPORT_SYMBOL_GPL(drm_gem_shmem_put_pages); static int drm_gem_shmem_pin_locked(struct drm_gem_shmem_object *shmem) { @@ -271,7 +271,7 @@ int drm_gem_shmem_pin(struct drm_gem_shmem_object *shmem) return ret; } -EXPORT_SYMBOL(drm_gem_shmem_pin); +EXPORT_SYMBOL_GPL(drm_gem_shmem_pin); /** * drm_gem_shmem_unpin - Unpin backing pages for a shmem GEM object @@ -290,7 +290,7 @@ void drm_gem_shmem_unpin(struct drm_gem_shmem_object *shmem) drm_gem_shmem_unpin_locked(shmem); dma_resv_unlock(shmem->base.resv); } -EXPORT_SYMBOL(drm_gem_shmem_unpin); +EXPORT_SYMBOL_GPL(drm_gem_shmem_unpin); /* * drm_gem_shmem_vmap - Create a virtual mapping for a shmem GEM object @@ -360,7 +360,7 @@ int drm_gem_shmem_vmap(struct drm_gem_shmem_object *shmem, return ret; } -EXPORT_SYMBOL(drm_gem_shmem_vmap); +EXPORT_SYMBOL_GPL(drm_gem_shmem_vmap); /* * drm_gem_shmem_vunmap - Unmap a virtual mapping for a shmem GEM object @@ -396,7 +396,7 @@ void drm_gem_shmem_vunmap(struct drm_gem_shmem_object *shmem, shmem->vaddr = NULL; } -EXPORT_SYMBOL(drm_gem_shmem_vunmap); +EXPORT_SYMBOL_GPL(drm_gem_shmem_vunmap); static int drm_gem_shmem_create_with_handle(struct drm_file *file_priv, @@ -435,7 +435,7 @@ int drm_gem_shmem_madvise(struct drm_gem_shmem_object *shmem, int madv) return (madv >= 0); } -EXPORT_SYMBOL(drm_gem_shmem_madvise); +EXPORT_SYMBOL_GPL(drm_gem_shmem_madvise); void drm_gem_shmem_purge(struct drm_gem_shmem_object *shmem) { @@ -467,7 +467,7 @@ void drm_gem_shmem_purge(struct drm_gem_shmem_object *shmem) invalidate_mapping_pages(file_inode(obj->filp)->i_mapping, 0, (loff_t)-1); } -EXPORT_SYMBOL(drm_gem_shmem_purge); +EXPORT_SYMBOL_GPL(drm_gem_shmem_purge); /** * drm_gem_shmem_dumb_create - Create a dumb shmem buffer object @@ -642,7 +642,7 @@ void drm_gem_shmem_print_info(const struct drm_gem_shmem_object *shmem, drm_printf_indent(p, indent, "vmap_use_count=%u\n", shmem->vmap_use_count); drm_printf_indent(p, indent, "vaddr=%p\n", shmem->vaddr); } -EXPORT_SYMBOL(drm_gem_shmem_print_info); +EXPORT_SYMBOL_GPL(drm_gem_shmem_print_info); /** * drm_gem_shmem_get_sg_table - Provide a scatter/gather table of pinned -- 2.43.0