From patchwork Fri Sep 25 21:55:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11800921 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 861CC6CB for ; Fri, 25 Sep 2020 21:57:05 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 47C5B2068D for ; Fri, 25 Sep 2020 21:57:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c0caJXPB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pVGittCT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47C5B2068D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MHXfm9UOw+76A/NBOM0fHhgD7t400uZNITbRMocAiBw=; b=c0caJXPBILd4hAkjGmwyngaKQ w6BxWX7Wh/5bEfhkMZucw9y9FT5Lxryv7zr672bN+Oq+xxGg1gzSpDnLrxoCnDktPEEHYcqcYepGX u7P2PIUe1FkkRXDjIF1SWciksTQuH+jKiTphf/uMDg8R+3Ba4NXXQApnIgYjK2FKDEU3FuebXUVqA nBaNedfD4kDXHtaTr6HqthbseGrhrbsw4Wru254Hk/7amCZ3WZ8Kl6EGwl9uw35y0XBoyLujXfo8Y VbBCADVwbgXgs9oIJnifL8VabEDGON274n3dkakrLYBsLCFcui+WoqvyWnhpMRM7sJNdl162n6mb2 V1WXP52mw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLvgp-0007DF-K3; Fri, 25 Sep 2020 21:55:39 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLvgk-0007BT-2q; Fri, 25 Sep 2020 21:55:34 +0000 Received: by mail-lj1-x243.google.com with SMTP id b19so3616709lji.11; Fri, 25 Sep 2020 14:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SeTL0c/7JNOZbHDDafGIj2Lq9RezRDqi3GjRLXy3MsM=; b=pVGittCTqyTKqdvnYw2YphLU++ysqA22ptlbtdIiK4INItNg77NscljoTBoNwuQF9G lq4iY831pPMXw1xmkRNDWa3VzqlQe9Q4x+HwoNYH8C2Q4rgVpA+pSXs9VGq8zrCsjZDe ds5Bd0uh20DgrUA7XfoKF+/Z4q3UstXzX+RD8c1rPxSd4E97oDiExrezqx4XZUUYqcAE g1+/xJHNi+MlZRO1wb+g2TKz350ARMIBcDM2cMsk9vqus0iFKA+vDmJ5tMQDWa9ekXv/ kKI21HYapqXBDQVv46R3+M1H6L0+brO4XWTpVRhCYVqKtHEUEvYCZWGgXF0IQ3DdDmMO t4RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=SeTL0c/7JNOZbHDDafGIj2Lq9RezRDqi3GjRLXy3MsM=; b=p7Qd4NORQmJ24coe5OuYhZnBQ0LaBdNaRvshmt6Q4qh48/NI4IgQZ4dz5bRa8mypX6 IqFC02cJMe3tgN67ZQdTys8ZWcIcqQKWCqtQ4G0pLkoa0Mbvm1zdWeg022rkk8bNDcJy lgSQmdAKCI1XtVEH08c8O18EP0kMSZ5w+qYj0FT7FdTSLTDglAyo9aMKLhQ9WE0W3ZmA cI1N4cXPNa+0us3aBoCCoaw9o7AwU12Td8UuqikIEI2Roji6cZkJsU7eYt4wa13D+mcA BtDjpYoNsUxWJUwotr2LTO1x+SIMC8EDM9ZlyICdznc/9fohnlKfrIRdHhNNshE7bRSk Jh/g== X-Gm-Message-State: AOAM530B8WA0GXUjt7Jx/KbICDc6eY90bNg4UAof61TrFQ5R7xVOUzpL nm5j/l8KNv/WVlprFGLdbi0= X-Google-Smtp-Source: ABdhPJx6ytnXJvCZhen05QP8JCFosKED8273RviYERaPsmA21OzhS4aeWsWvQ4UgzSKTTJs019juqg== X-Received: by 2002:a05:651c:1188:: with SMTP id w8mr2131504ljo.344.1601070933023; Fri, 25 Sep 2020 14:55:33 -0700 (PDT) Received: from saturn.localdomain ([2a00:fd00:805f:db00:3926:b59a:e618:9f9c]) by smtp.gmail.com with ESMTPSA id j8sm261277lfr.80.2020.09.25.14.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 14:55:32 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Heiko Stuebner , Thomas Zimmermann Subject: [PATCH v1 1/2] drm/rockchip: fix build due to undefined drm_gem_cma_vm_ops Date: Fri, 25 Sep 2020 23:55:23 +0200 Message-Id: <20200925215524.2899527-2-sam@ravnborg.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200925215524.2899527-1-sam@ravnborg.org> References: <20200925215524.2899527-1-sam@ravnborg.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200925_175534_161917_2EC02820 X-CRM114-Status: GOOD ( 13.29 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:243 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [sam.ravnborg[at]gmail.com] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sandy Huang , stable@vger.kernel.org, linux-rockchip@lists.infradead.org, Enric Balletbo i Serra , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Commit 0d590af3140d ("drm/rockchip: Convert to drm_gem_object_funcs") introduced the following build error: rockchip_drm_gem.c:304:13: error: ‘drm_gem_cma_vm_ops’ undeclared here 304 | .vm_ops = &drm_gem_cma_vm_ops, | ^~~~~~~~~~~~~~~~~~ | drm_gem_mmap_obj Fixed by adding missing include file. Signed-off-by: Sam Ravnborg Cc: Thomas Zimmermann Cc: Sandy Huang Cc: "Heiko Stübner" Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_gem.c b/drivers/gpu/drm/rockchip/rockchip_drm_gem.c index bb3578469b03..6da15faf0192 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_gem.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_gem.c @@ -10,6 +10,7 @@ #include #include +#include #include #include