From patchwork Thu May 25 15:52:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 99090 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp478384vqr; Thu, 25 May 2023 09:02:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ79uxZEUAwwLTrZjbhcJqcDotvuuC4eNcXFIMu9IoljXdaQXVf/KJwt7NDaTrY/eS4JkcXd X-Received: by 2002:a17:90a:f308:b0:255:2dde:17cc with SMTP id ca8-20020a17090af30800b002552dde17ccmr2117132pjb.47.1685030520536; Thu, 25 May 2023 09:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685030520; cv=none; d=google.com; s=arc-20160816; b=uVRIEkMi04N2RJF6GDoZf5p9HQ8TVundASG6CGuQjol7S4Rb+gqOXo4sttk8yOgw77 tE/vFWbbvjI0HwtZEfkz66xHNFclhH2M0z/CzVxWBwSiMo6638GC4x8g0j+HPYk3/Qcy 3yf24+FZyXrhT7VIvh+17e8jYVlPeHABdLScE/S9rDN/85EQ/2smff0ic/rHUBHN7mku mIVXQrou1obIFTARJ7smtipceciU8GSgS/U75dHUAKSAdkVawUIe+nYrcz+74ipUgCYh 94CdadgHZk1VIf4HlsJWJTNwfUUcqBvzRzP7cpx4iUyjmy7JymWpZKhN0kttQOzv0K7a CW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=B028AMgHgIkluZU0zuRGNx2AL7YCJmhMQ1JhCo1iuVI=; b=ps/pxV1+q+YaMNOI4Z9RmKrZ8Wp0NpTZEw6WaA/5p7F9sQmxvcB1SPAMAT82LZW8mg IKl2Jih5mrJUa5+n9Tst+RzpEKUJaqp2fzAoB78a+XrPaB9WMfaqTOf87hHQ9l38f87/ 5nc/35QCypfkDBOY1eQvLLZbKdAAU5Xqr5ZYV2856Hs4q6p9E9uDWdAcCN5x7GazGrNA bjuadSltMLs8SzM7Pbrgz7/22UNx1gfppQv5rf6OT/bvI9zUssNS851GOsgWRhXiPPVJ UalmftKjOOzMz7M8oQDLdQTkHwwkXohphGWFB5YB1iaGlBn2hxp+JdJJ0On9rMK1VXId FLmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aNjbFnxB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx20-20020a17090b46d400b0024e1a6c7f82si979354pjb.80.2023.05.25.09.01.44; Thu, 25 May 2023 09:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aNjbFnxB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241834AbjEYPwq (ORCPT + 99 others); Thu, 25 May 2023 11:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241871AbjEYPwm (ORCPT ); Thu, 25 May 2023 11:52:42 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 151FE1B4 for ; Thu, 25 May 2023 08:52:35 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-64d3fbb8c1cso2613063b3a.3 for ; Thu, 25 May 2023 08:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685029954; x=1687621954; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B028AMgHgIkluZU0zuRGNx2AL7YCJmhMQ1JhCo1iuVI=; b=aNjbFnxBXnxByFTRM8dPMKH30Q/RAItyAVPrx2g23rtM7K5RWxj+jmeY6jXFFznBG8 pZqa5Xzxd1RRC2cPJg3QGgjGxOjLvyujqb9O9tcPfbR593fGXpYl3mOh5ZMS70oGFBGx /kODJQcTOcwHEpMnyoc86lxFHBYsH/DD5AKNjW9UO2OsMqqQ2MWgTe01bSRUdSQhsbPO HwPjvWfdCJ2EOfQB47cDxADCc6pqDUoGCx5AXuAzBnna+gSSbl1TzveMRSHPcwsOMc9C wHzrhMVQZe5ZakVsucQjfNI9Kib8KYriF/UaUAqKAv8sC9wrGskiyYSbQvyoaQHzfDNc wOTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685029954; x=1687621954; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B028AMgHgIkluZU0zuRGNx2AL7YCJmhMQ1JhCo1iuVI=; b=WJHN4hzZTykcrgVZogZ/kKuz/VoqG7vkw28yW6N9NtUhiSNHw5F0UKY5YIUBSNGYtm gh1di4QAyTm+0uWwKF34W497NmYPVKpNEjGQqzVi4vkipjJG4G48q2Q06yL0g/WxYRUv 6+OnKn7jp09onn7bg1E1R9e0YmM6XO5Oo5ujiyyj0I3cKYyqDIQLvObbLwkpBnCUH6pA jjxdcledSRcl0wjVWC52t6fTsaiQqg5eOQVaxRHNSFFqfHCKZTPLIK3dS1Bs6bOzbd6z jla2mprW6OJ84MOhaEUlnu5RMZDpSWii/oreAY5Bcc8ihFF1eq1UN97YebS26CnUfbtw jGYw== X-Gm-Message-State: AC+VfDwWAyVOxPnTkB8Byqd5UhxyGCvVqTcHpLMTxRWK0BaSow46dy2w tQDIcCwancVYg7D6Xln6+v0= X-Received: by 2002:a05:6a00:10c4:b0:646:6cc3:4a52 with SMTP id d4-20020a056a0010c400b006466cc34a52mr8951192pfu.3.1685029954365; Thu, 25 May 2023 08:52:34 -0700 (PDT) Received: from localhost ([2a00:79e1:abd:4a00:61b:48ed:72ab:435b]) by smtp.gmail.com with ESMTPSA id a17-20020a62bd11000000b0063b6bd2216dsm1335974pff.187.2023.05.25.08.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 08:52:33 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: Rob Clark , kernel test robot , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Guchun Chen , =?utf-8?b?TWFyZWsgT2zFocOhaw==?= , Lijo Lazar , YiPeng Chai , Srinivasan Shanmugam , =?utf-8?q?Michel_D?= =?utf-8?q?=C3=A4nzer?= , Jim Cromie , Mario Limonciello , Neil Armstrong , Dave Airlie , amd-gfx@lists.freedesktop.org (open list:RADEON and AMDGPU DRM DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/2] drm/amdgpu: Fix no-procfs build Date: Thu, 25 May 2023 08:52:24 -0700 Message-Id: <20230525155227.560094-1-robdclark@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766882563277802526?= X-GMAIL-MSGID: =?utf-8?q?1766882563277802526?= From: Rob Clark Fixes undefined symbol when PROC_FS is not enabled. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202305251510.U0R2as7k-lkp@intel.com/ Fixes: 376c25f8ca47 ("drm/amdgpu: Switch to fdinfo helper") Signed-off-by: Rob Clark --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 1b46e7ac7cb0..c9a41c997c6c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -2795,21 +2795,23 @@ static const struct drm_driver amdgpu_kms_driver = { DRIVER_SYNCOBJ_TIMELINE, .open = amdgpu_driver_open_kms, .postclose = amdgpu_driver_postclose_kms, .lastclose = amdgpu_driver_lastclose_kms, .ioctls = amdgpu_ioctls_kms, .num_ioctls = ARRAY_SIZE(amdgpu_ioctls_kms), .dumb_create = amdgpu_mode_dumb_create, .dumb_map_offset = amdgpu_mode_dumb_mmap, .fops = &amdgpu_driver_kms_fops, .release = &amdgpu_driver_release_kms, +#ifdef CONFIG_PROC_FS .show_fdinfo = amdgpu_show_fdinfo, +#endif .prime_handle_to_fd = drm_gem_prime_handle_to_fd, .prime_fd_to_handle = drm_gem_prime_fd_to_handle, .gem_prime_import = amdgpu_gem_prime_import, .gem_prime_mmap = drm_gem_prime_mmap, .name = DRIVER_NAME, .desc = DRIVER_DESC, .date = DRIVER_DATE, .major = KMS_DRIVER_MAJOR, From patchwork Thu May 25 15:52:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 99091 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp478383vqr; Thu, 25 May 2023 09:02:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wvh3SqXxP5tHeRDwwRKC9Sgco1TLSvcJ16JpgvKHxrT+epC309xUgJAVFRY8QP2aVR6UT X-Received: by 2002:a05:6a20:a115:b0:105:a24f:cff1 with SMTP id q21-20020a056a20a11500b00105a24fcff1mr20113007pzk.24.1685030520635; Thu, 25 May 2023 09:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685030520; cv=none; d=google.com; s=arc-20160816; b=t3R576TKPZCGrT4llO8upa492+95wu8lUaunCwoyDORkEeVgdo4n0DmFI8Vge4FcL/ ECKTS5bXKj0WdtWhCDgTclomXDjogEagqKFYSrBeiQMGD2FHsF3DmMXC/6FU+w0mxz1T +8ilcGIqJ7Tu2ZlvMt4Wj9fCqqrCgLPK6OezebogakgntcBXaPhdFVtZKDBcAlRgV8yG yyEHWpY9nUU5C2Owvo/6PrPfgHewZQWJfbq7ouqR9zFUFrXYgALTNmOGAY83S2GOJNJA 7gwEHE4q3FHERePCWXYO7GnRLdQ2rkYAMA2qKo+gboce9sNdl4PdRsn9a1UJvN4bvaye L0FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7rVaUtme+EMgdLDqkT+0xJV+Z1WpGr8J4+UhWtVcjr8=; b=b3znfv+WApOlVz/Q1QXkEA/tNO6HH9qxiCWIIshg9Dd+cGHhNsB5CkSWLAhJjrMNuj rl3epQ+JV1khXTDAlN4xOhjB6ME2OObpbYU5Jjshk9GGLWIoZMCy0xfM6xrBh4jRuP0J uQnEg2RwbuEe+oUxNCe6XUZ9trbHaSMCVaIxcRWcAjp3c4ykQNVaAgwR7ebUhIYmMyQc ujNwfSkCnW+zLnFr97rAT9uhuP1B20sobq/cYetkM4T6XSuemWxt1q+fdeLtimsxzGwb hzOsEXcGTGt+f3VTcO/aVJZVBfRui3DxRzk6AOI0nyDru29OuLz6UZWMXm+GLxys6kXo 603A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=IvUB2IKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c66-20020a633545000000b00534792ee482si1367357pga.758.2023.05.25.09.01.44; Thu, 25 May 2023 09:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=IvUB2IKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241842AbjEYPxR (ORCPT + 99 others); Thu, 25 May 2023 11:53:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241833AbjEYPwq (ORCPT ); Thu, 25 May 2023 11:52:46 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE3C6195 for ; Thu, 25 May 2023 08:52:37 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-5341737d7aeso1566902a12.2 for ; Thu, 25 May 2023 08:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685029957; x=1687621957; 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=7rVaUtme+EMgdLDqkT+0xJV+Z1WpGr8J4+UhWtVcjr8=; b=IvUB2IKXdPVzS5BHfvNthVBhxLC614xiN9wuIVEsKpqc1sdU2CVUrIYrj3r6tqujTX F3CVgK0ZbMwTucYdyQPx3X/ff411RAhSLG/vO/b+hJpLobzQSlBLoLuslMCn/hv91N3i AaJE9RtBh/wqPaSk7mLBnNqR+WhHs9sfwhB2WPeWfbQEprGfGpz6xUXwnemLMb7co5Nn KMI5V0296BHn7TijqODaERxEfhtHVC/Tb3jYa2AXbWjvmZRNNAaCK7xe+fLbnWxebTCc 1WngHtTOP2scTVVWs19ADnOWMzOQoKkacKdlvcAEYti9dTduIBqxtvADOiHZsS+4emR/ zPWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685029957; x=1687621957; 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=7rVaUtme+EMgdLDqkT+0xJV+Z1WpGr8J4+UhWtVcjr8=; b=JQvE62K5pNwTvEwt9HPII3F5maPCwp48JNPRDGBxL61CCQwVnOS4sNpc5IB1GwiHDA sQn80bC8XwQXCvR2n5PLVVHrndFdL4R9HQVG0vaZElB8UV85pWxkI6AfEb8qe/qb6h7X QeC0uVfRClOU6ud+q0jl2npmUSmyTKMjmedIiU+QYJZATjDKj8ksqPuhoFyOx09il2ie wTkqzherp9P9GxMT7XzgIcA4UGmFIwrQ/7558B0lw42oIl5Ky6w0+/NBimyFyvu7jh3F I9GePXcZogE03sviDhp68bhiBXcXN58ei6D3ra31FmL7wuIXnHTEM6nJGybiRmbfIEwB Rspg== X-Gm-Message-State: AC+VfDzOBOREvdDAUz4WDfRyYdbJhoVWTgB7qbxWwY+36QZEmxXNh6JP 5CU8EHoKzRALhADFlYO3AGw= X-Received: by 2002:a17:902:e852:b0:1a9:5aef:1aea with SMTP id t18-20020a170902e85200b001a95aef1aeamr2316030plg.66.1685029957214; Thu, 25 May 2023 08:52:37 -0700 (PDT) Received: from localhost ([2a00:79e1:abd:4a00:61b:48ed:72ab:435b]) by smtp.gmail.com with ESMTPSA id 9-20020a170902c10900b001a5fccab02dsm1598335pli.177.2023.05.25.08.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 08:52:36 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: Rob Clark , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Shashank Sharma , Tvrtko Ursulin , =?utf-8?b?TWFyZWsgT2zFocOhaw==?= , Dave Airlie , Neil Armstrong , amd-gfx@lists.freedesktop.org (open list:RADEON and AMDGPU DRM DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/2] drm/amdgpu: Remove duplicate fdinfo fields Date: Thu, 25 May 2023 08:52:25 -0700 Message-Id: <20230525155227.560094-2-robdclark@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230525155227.560094-1-robdclark@gmail.com> References: <20230525155227.560094-1-robdclark@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766882563373659782?= X-GMAIL-MSGID: =?utf-8?q?1766882563373659782?= From: Rob Clark Some of the fields that are handled by drm_show_fdinfo() crept back in when rebasing the patch. Remove them again. Fixes: 376c25f8ca47 ("drm/amdgpu: Switch to fdinfo helper") Signed-off-by: Rob Clark Reviewed-by: --- drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c index 13d7413d4ca3..a93e5627901a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c @@ -80,23 +80,20 @@ void amdgpu_show_fdinfo(struct drm_printer *p, struct drm_file *file) amdgpu_ctx_mgr_usage(&fpriv->ctx_mgr, usage); /* * ****************************************************************** * For text output format description please see drm-usage-stats.rst! * ****************************************************************** */ drm_printf(p, "pasid:\t%u\n", fpriv->vm.pasid); - drm_printf(p, "drm-driver:\t%s\n", file->minor->dev->driver->name); - drm_printf(p, "drm-pdev:\t%04x:%02x:%02x.%d\n", domain, bus, dev, fn); - drm_printf(p, "drm-client-id:\t%Lu\n", vm->immediate.fence_context); drm_printf(p, "drm-memory-vram:\t%llu KiB\n", stats.vram/1024UL); drm_printf(p, "drm-memory-gtt: \t%llu KiB\n", stats.gtt/1024UL); drm_printf(p, "drm-memory-cpu: \t%llu KiB\n", stats.cpu/1024UL); drm_printf(p, "amd-memory-visible-vram:\t%llu KiB\n", stats.visible_vram/1024UL); drm_printf(p, "amd-evicted-vram:\t%llu KiB\n", stats.evicted_vram/1024UL); drm_printf(p, "amd-evicted-visible-vram:\t%llu KiB\n", stats.evicted_visible_vram/1024UL); drm_printf(p, "amd-requested-vram:\t%llu KiB\n",