From patchwork Tue May 28 13:08:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Rocha Levi X-Patchwork-Id: 13676889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFFA4C25B78 for ; Tue, 28 May 2024 14:24:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EC79410E367; Tue, 28 May 2024 14:24:47 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=usp.br header.i=@usp.br header.b="dtbwkcaU"; dkim-atps=neutral Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC6F310E543 for ; Tue, 28 May 2024 13:11:29 +0000 (UTC) Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5b53bb4bebaso478285eaf.0 for ; Tue, 28 May 2024 06:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; t=1716901889; x=1717506689; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3s6GbriJe4uoFE0TWx2Ndn0X5d4SdfShmgpv08wHJ4g=; b=dtbwkcaU+ceAVwLZGfWX8a0Le7jcETrj9/rqX0oQjt5g7SD+pVwMiKL7X7bNzGrIEm LYxPlbEKHACA9UBuv3qi5KQedkFCzw7bZbCbisEmDkdeBUXGnqrs6JchfRzJfvwrzWAn mfMfzy8lYXDoszgDzL+hUdGRQjGtZ+bHfYF+bhzKaKt2R62i7zp0aZWcgxFFy0f5Vwle ez2TsVR35Ndjy0FEszrJBbAWO9SkbwcTZwYq5V7dPhkkfmq2HO06Fh0iOd+ksQ5o6ZHZ AlDqOvI9nVMghfKxRQkfRzAKIOiMQeMRLZEjvCngcys6AzRlHLWfTSH96fCkjuhww3o3 JEDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716901889; x=1717506689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3s6GbriJe4uoFE0TWx2Ndn0X5d4SdfShmgpv08wHJ4g=; b=CrBZRVv6ZpxlT7XRUxb7saJW3mcRER8iUPuT4JV0iDUQBVIBdtZIB9Pl1t45661aDR e5SW2gdHB1/zbRBRuAf+tPi5VzMEYyemO+RLyyDiPzZe+jALw2TsqLcQcJloqmVc/KLV RGmyVx7IjMZ1ZPo/LNtKXAWP/MWl6n6rpuD2irga8FJ+7SFQ84KRHtkCdACnyW/1VbjW I6Gca06sK3eC5Y8OoQ1mha6hAYS/eF0fO6a3sDHlBtPRHe/vE3SRQrQt/7mzRiO8jj2b LfyictrAvYqgIZJIeyw35Zi8WAfVZWJX13Jn+KI718W+KLS0mCKbs3Cqb6kbp7ueIQx3 R0bA== X-Forwarded-Encrypted: i=1; AJvYcCWkzDVqO0y4Xgk98T1Kn6/8xwqbxwgWE0ZHYQWB7Kt5LxVD6MQws9zUhc4TZrRcK/XaAc9a2RIvtelCtNHRuaKsakp76TMYqvAxsV7JnOAu X-Gm-Message-State: AOJu0YxJbXoIGvnUZGJI1rUsM8yRkJzZzSJsrDwAUtCmjD9OGWgxZGqY +BOs7W4Rbn9CNO0ek+sXSNSim3y2mGpn/ay0osYzX1TolFEIA3w0TbIUdwjU7zk= X-Google-Smtp-Source: AGHT+IFE+2igWHzhVm/U7Cf0vBx506yPhmuJ5T8bh6zOvU5C1DW/d69hF8tXceHaMes1SQX6MeWwew== X-Received: by 2002:a05:6358:d091:b0:18e:b11b:e770 with SMTP id e5c5f4694b2df-197e4840c06mr1417043755d.0.1716901888794; Tue, 28 May 2024 06:11:28 -0700 (PDT) Received: from ccsl-Inspiron-7472.semfio.usp.br ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-682226fc4dcsm7507164a12.42.2024.05.28.06.11.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 06:11:28 -0700 (PDT) From: Bruno Rocha Levi To: rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com, mairacanal@riseup.net, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch Cc: Bruno Rocha Levi , Lucas Antonio , Bruno Rocha Levi , dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/vkms: Fix misalignment in comment block Date: Tue, 28 May 2024 10:08:03 -0300 Message-ID: <20240528131026.214773-2-brunolevilevi@usp.br> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240528131026.214773-1-brunolevilevi@usp.br> References: <20240528131026.214773-1-brunolevilevi@usp.br> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 28 May 2024 14:24:34 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 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" From: Bruno Rocha Levi This change fixes a warning from checkpatch, it improves readability of a comment that was previously misaligned, by ensuring the trailing */ is on the same line as the opening /*. Co-developed-by: Lucas Antonio Signed-off-by: Lucas Antonio Signed-off-by: Bruno Rocha Levi --- drivers/gpu/drm/vkms/vkms_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c index dd0af086e..e8612759a 100644 --- a/drivers/gpu/drm/vkms/vkms_drv.c +++ b/drivers/gpu/drm/vkms/vkms_drv.c @@ -166,7 +166,8 @@ static int vkms_modeset_init(struct vkms_device *vkmsdev) dev->mode_config.cursor_height = 512; /* FIXME: There's a confusion between bpp and depth between this and * fbdev helpers. We have to go with 0, meaning "pick the default", - * which ix XRGB8888 in all cases. */ + * which ix XRGB8888 in all cases. + */ dev->mode_config.preferred_depth = 0; dev->mode_config.helper_private = &vkms_mode_config_helpers; From patchwork Tue May 28 13:08:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Rocha Levi X-Patchwork-Id: 13676887 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7875BC25B78 for ; Tue, 28 May 2024 14:24:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6CF8A10E0D9; Tue, 28 May 2024 14:24:35 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=usp.br header.i=@usp.br header.b="RVwg7ihT"; dkim-atps=neutral Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by gabe.freedesktop.org (Postfix) with ESMTPS id E0B1C10E543 for ; Tue, 28 May 2024 13:11:38 +0000 (UTC) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-701b0b0be38so671587b3a.0 for ; Tue, 28 May 2024 06:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; t=1716901898; x=1717506698; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QoaTOCmlXkenptztn+mDC2rLsS4IERfQPTeSACgx6t4=; b=RVwg7ihTEw9z4dvaRXMgla7IIp3H4X6rq/TENhjsL0Dc05Y1FZGmWCPQFAAGTMRFFB XY6XnSYpySkgvaQjP17UeCtLwBdkRI6XkoaQK11qNvc9gXJ5x45SMl8IplfT+dfTyxyC Ktl0QdZTWuARcVPc+BZox9jP402bvygqed/BvwB9HOX8SQmoTUXlqDh6eg0vFEKSalTY 5uTBYWhw+HP0BbbR9O9eTKgKIGsMZIT4vETQqWGDbWOChOQ5SHs7TjWcnh8m+rQTDIBe 3s5jy5xSBBko34yu5rKf2/1qsHpw53WvosIlwk+HeAMz+D1Z9VGUuPgM8Qi8PPpTOs+R SUwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716901898; x=1717506698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QoaTOCmlXkenptztn+mDC2rLsS4IERfQPTeSACgx6t4=; b=HyxyHQPo6+p8KTcaoKy3Mh7knHNILuVtkKUW5vCy3MUaZxRq7+SpQ05dNeu/V1mLwd 8koTferRB88SVgnmHZfHJid9pJbau5eCPnePfdlpI8OS7ywE8f0s5HTaABkWlcTa2gSo Kwc0bO9TMYHrp3MNp7CzXparIf82bYXvFWJ/HQ9c86tffZx6bAxvmZNPWiG/pOqaXbgA nE1K0e687V93GXjBcHuwz/7gdQI3F60q95+ZTjwB0hpCAPRAuFEnpSqPwzXPNL2yAwrW YOXrRZ4TynLAE2+FD7m07ezMUSOCDNj7a6P2ZW7UlAzRuydb0w+yi8s3VvTOp2jBw8Ti krzg== X-Forwarded-Encrypted: i=1; AJvYcCUCqWWPyun0N6IQ90aLQfilS/QfeniGlGDlGmQnKxSqxeuGoHcPRRQ041EiCvAkUlsdDg67ih50je4L926glGJaNDcS1tFIBuJUAYSMxlS4 X-Gm-Message-State: AOJu0YzeFgKp83iRXY2u/9EVQpCwcXXD9la2JTVhVaNRzYibKgnMhiYX FnquSblyGnfPyaLBq6HCJrZd2tFxKjpqMTyzJDCly7fq/pEPg2ptDLlCR1gyCBE= X-Google-Smtp-Source: AGHT+IHPZoHe+5AtTnRZyrDiZBI1RraIlifONBLBScJQgU8Dwsc/BwuyckzD6ggcJxPHoRaMZ0SMIw== X-Received: by 2002:a05:6a20:5b03:b0:1af:881c:e924 with SMTP id adf61e73a8af0-1b212e91384mr11340139637.62.1716901898281; Tue, 28 May 2024 06:11:38 -0700 (PDT) Received: from ccsl-Inspiron-7472.semfio.usp.br ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-682226fc4dcsm7507164a12.42.2024.05.28.06.11.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 06:11:37 -0700 (PDT) From: Bruno Rocha Levi To: alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch Cc: Bruno Rocha Levi , Lucas Antonio , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drivers/gpu: Fix misalignment in comment block Date: Tue, 28 May 2024 10:08:04 -0300 Message-ID: <20240528131026.214773-3-brunolevilevi@usp.br> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240528131026.214773-1-brunolevilevi@usp.br> References: <20240528131026.214773-1-brunolevilevi@usp.br> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 28 May 2024 14:24:34 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 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" This patch fixes a warning from checkpatch by ensuring the trailing */ is aligned with the rest of the *, improving readability. Co-developed-by: Lucas Antonio Signed-off-by: Lucas Antonio Signed-off-by: Bruno Rocha Levi --- drivers/gpu/drm/amd/acp/include/acp_gfx_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/acp/include/acp_gfx_if.h b/drivers/gpu/drm/amd/acp/include/acp_gfx_if.h index feab8eb7f..b26710cae 100644 --- a/drivers/gpu/drm/amd/acp/include/acp_gfx_if.h +++ b/drivers/gpu/drm/amd/acp/include/acp_gfx_if.h @@ -19,7 +19,7 @@ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * -*/ + */ #ifndef _ACP_GFX_IF_H #define _ACP_GFX_IF_H