From patchwork Thu Jun 28 18:29:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10494703 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BAAFB60325 for ; Thu, 28 Jun 2018 18:29:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFB962A77C for ; Thu, 28 Jun 2018 18:29:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B35C32A78B; Thu, 28 Jun 2018 18:29:22 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 5B4382A77C for ; Thu, 28 Jun 2018 18:29:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030487AbeF1S3U (ORCPT ); Thu, 28 Jun 2018 14:29:20 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:43463 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967881AbeF1S3Q (ORCPT ); Thu, 28 Jun 2018 14:29:16 -0400 Received: by mail-yb0-f193.google.com with SMTP id x10-v6so310067ybl.10 for ; Thu, 28 Jun 2018 11:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NMMyN/WjdrzWxJFVOng6OOK9owig+49vFxsj9ErWyyg=; b=Zi0if6yRDuQ9fG8BNTzsQimQcEo2Wht3OeTshTp28VpymRAgibOMCrC6CPG5ImajOZ Ej6CjgRWCjSD7LZnuLT7eyHwujVsD6Y4IJTMtot6qSXiU55SXTXT/23K9bpWgO6Y5bUH +7VGkYXHGpPuJkYAph6F335YE8Rogtm11zzoE= 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; bh=NMMyN/WjdrzWxJFVOng6OOK9owig+49vFxsj9ErWyyg=; b=MQTF6oqU03XPEz2613kOXk01uU5VDGZbupXS+1s9zvagnMopqPFmw+6YM4p/yCCvOV hAG5lC6WSU+wSoJOnIlM3L/9p/Ee+4ZF91YAJwoHVQmukKJNzE/AiuMjYFCRXPPQfZ2B lIv3QDRr9feNYCZ6PhKtyCuqipGDd8KZWQSwqsv9qkV8UoMG0xsGC6QocieHoZEclOY+ Jx09WEhSATGcaSsG/hV1zyyuMj3Cru0oSxkEvV5+xHtg9v+J1sH7uGnJLftuuEBUVq6M FbbtRspMAW+np68q93kAU0lnfyeaurXa+P98/lu0+G3x9SnyXwgzFgjG+Rj27RTHJw0R jE6A== X-Gm-Message-State: APt69E0HMqvoziBtpBArfy0MFnE/glv8AklLNejkA94POLLuFFqCQ8ok bv7u0WynrM3Fic8IWn+OW3qgaQ== X-Google-Smtp-Source: ADUXVKLBt0Axea+fgaFM5qew9XjcUxXXShGbP7p9oIJ5/8T3TKS6M72HDduZ5qz1bqFRaM1iByKk/g== X-Received: by 2002:a25:1402:: with SMTP id 2-v6mr5682407ybu.454.1530210556159; Thu, 28 Jun 2018 11:29:16 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id g145-v6sm2732140ywe.17.2018.06.28.11.29.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 11:29:15 -0700 (PDT) From: Sean Paul To: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: robdclark@gmail.com, hoegsberg@chromium.org, jsanka@codeaurora.org, abhinavk@codeaurora.org, Sean Paul Subject: [DPU PATCH 09/15] drm/msm: Remove get_address_space msm_kms hook Date: Thu, 28 Jun 2018 14:29:00 -0400 Message-Id: <20180628182906.84926-10-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.rc2.346.g013aa6912e-goog In-Reply-To: <20180628182906.84926-1-seanpaul@chromium.org> References: <20180628182906.84926-1-seanpaul@chromium.org> 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 It's unused. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 8 -------- drivers/gpu/drm/msm/msm_kms.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c index 1f2163430caf..30da3e047384 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c @@ -1128,13 +1128,6 @@ static int dpu_kms_atomic_check(struct msm_kms *kms, return 0; } -static struct msm_gem_address_space* -_dpu_kms_get_address_space(struct msm_kms *kms, - unsigned int domain) -{ - return kms->aspace; -} - static int dpu_kms_pm_suspend(struct device *dev) { struct drm_device *ddev; @@ -1305,7 +1298,6 @@ static const struct msm_kms_funcs kms_funcs = { .pm_suspend = dpu_kms_pm_suspend, .pm_resume = dpu_kms_pm_resume, .destroy = dpu_kms_destroy, - .get_address_space = _dpu_kms_get_address_space, .set_encoder_mode = _dpu_kms_set_encoder_mode, #ifdef CONFIG_DEBUG_FS .debugfs_init = dpu_kms_debugfs_init, diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index 2f1c9702b820..e275cc42ecd3 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -82,10 +82,6 @@ struct msm_kms_funcs { int (*pm_resume)(struct device *dev); /* cleanup: */ void (*destroy)(struct msm_kms *kms); - /* get address space */ - struct msm_gem_address_space *(*get_address_space)( - struct msm_kms *kms, - unsigned int domain); #ifdef CONFIG_DEBUG_FS /* debugfs: */ int (*debugfs_init)(struct msm_kms *kms, struct drm_minor *minor);