From patchwork Fri Sep 22 12:13:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_K=C3=B6nig?= X-Patchwork-Id: 9965921 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 4D309600C5 for ; Fri, 22 Sep 2017 12:13:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 316762988D for ; Fri, 22 Sep 2017 12:13:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2660629892; Fri, 22 Sep 2017 12:13:48 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DF0812988D for ; Fri, 22 Sep 2017 12:13:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D62A96E9C3; Fri, 22 Sep 2017 12:13:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id C5B7B6E9C3; Fri, 22 Sep 2017 12:13:37 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id i131so1121289wma.1; Fri, 22 Sep 2017 05:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=auXRMLPyfSMBT3/FsA9W3JXtv/ey/N1wT2+uONTvIso=; b=P9jcipPy812n6SEQotbblaUGNERWYiqGDv4oArPMavIDA+bkVGfAP46f9ll/Io5cO3 tmNNxzfChkqVTQP2AW4uOHxA42OatRv8guO2LXqh4VzO3ieEMbK2w5Qahevt67nUZuc2 QMc82ofEFaavDPx7V0y93OeMVdi+U9+WlWbdw1I+4lvjORoHoXkT++r1E1Qu1O6FUsHP YWganTPH9yRCF+hwtgzrsjXZfg5iSQ1Vh1EUJuY58v80Nd5xE+xh7CNauiLY8Kmq93mA 70EbOXSs9BC9vcWNA5cjuLmSiHvvTDrp9Jfjjuq4PAsX/CCwjgrQdHP8zCF1bMScfYRe dGUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=auXRMLPyfSMBT3/FsA9W3JXtv/ey/N1wT2+uONTvIso=; b=JuF0XJHn0hCIdGRF4hXTPS74OLvQHxurdhhP6eLzB8/aCnR2fgx1qdDxc1vSdmpgXx Kw+AwBNvPNBZFiX62W8kSmYhOL8293yet6cTgoYhxz57GJ6n5CIY/u//VxGBuFswsE+G ZiLhMKYflpMCZDILwLgsw7rhRIAhsSXGe5SnzzDru6lp3nXa4/aEZ8MrvUjIGN1heBoW pYR60IfOse6qYnhBexvkpr0h2o1CSZG2dNqhTtYqeY6yE/s9Vx+rbPKAYoXtUga1bPu1 3LyK21pV7JK+00eiRVuinqqLJ9bGpKtgNB1k9WovqhEXlZw5Y1T+OVWfMj+GbGvijEPW IMnw== X-Gm-Message-State: AHPjjUhPZ5v7MP0+gZw5ni9SvGsjM6oyOho6vcMj9k9NhEnv3hVN+XD2 ryYOBfMvxX3XQFPtkq8nVDvPZVhu X-Google-Smtp-Source: AOwi7QCPqVttv9vJxEu4MKEHOYT7rw4JZWQgGN8iN7tFtNOqPdNtKPtTq6xJRD+p6+o3hxs49/amUQ== X-Received: by 10.28.159.77 with SMTP id i74mr3572861wme.22.1506082416274; Fri, 22 Sep 2017 05:13:36 -0700 (PDT) Received: from localhost.localdomain ([2a02:908:1251:7981:98cd:d000:f7ff:c900]) by smtp.gmail.com with ESMTPSA id i50sm4044739wrf.84.2017.09.22.05.13.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Sep 2017 05:13:35 -0700 (PDT) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 8/9] drm/amdgpu: minor coding style fix Date: Fri, 22 Sep 2017 14:13:24 +0200 Message-Id: <1506082405-1556-8-git-send-email-deathsimple@vodafone.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506082405-1556-1-git-send-email-deathsimple@vodafone.de> References: <1506082405-1556-1-git-send-email-deathsimple@vodafone.de> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Christian König Fix two minor 80 char issues. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 8fcc743..3c86381 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -2541,7 +2541,8 @@ static uint32_t amdgpu_vm_get_block_size(uint64_t vm_size) * @adev: amdgpu_device pointer * @fragment_size_default: the default fragment size if it's set auto */ -void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev, uint32_t fragment_size_default) +void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev, + uint32_t fragment_size_default) { if (amdgpu_vm_fragment_size == -1) adev->vm_manager.fragment_size = fragment_size_default; @@ -2555,7 +2556,8 @@ void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev, uint32_t fragment_s * @adev: amdgpu_device pointer * @vm_size: the default vm size if it's set auto */ -void amdgpu_vm_adjust_size(struct amdgpu_device *adev, uint64_t vm_size, uint32_t fragment_size_default) +void amdgpu_vm_adjust_size(struct amdgpu_device *adev, uint64_t vm_size, + uint32_t fragment_size_default) { /* adjust vm size firstly */ if (amdgpu_vm_size == -1)