From: Patchwork <patchwork@emeril.freedesktop.org>
To: "Matthew Brost" <matthew.brost@intel.com>
Cc: intel-xe@lists.freedesktop.org
Subject: ✗ CI.checkpatch: warning for drm/ttm: Fix GPU MM stats during pool shrinking
Date: Fri, 01 May 2026 22:36:10 -0000 [thread overview]
Message-ID: <177767497040.31645.8002463400598564666@5ab824fced77> (raw)
In-Reply-To: <20260501223003.2648450-1-matthew.brost@intel.com>
== Series Details ==
Series: drm/ttm: Fix GPU MM stats during pool shrinking
URL : https://patchwork.freedesktop.org/series/165861/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
c8c12e558adaef7a4d125d83b6e1f8824bc13b82
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 667f11d1f72095de5c35e9d359709a533624b52c
Author: Matthew Brost <matthew.brost@intel.com>
Date: Fri May 1 15:30:03 2026 -0700
drm/ttm: Fix GPU MM stats during pool shrinking
TTM pool shrinking frees pages by calling __free_pages() directly,
which bypasses updates to NR_GPU_ACTIVE and leaves GPU MM accounting
out of sync.
Introduce a helper, __free_pages_gpu_account(), and use it for all page
frees in ttm_pool.c so GPU MM statistics are updated consistently.
Reported-by: Kenneth Crudup <kenny@panix.com>
Fixes: ae80122f3896 ("drm/ttm: use gpu mm stats to track gpu memory allocations. (v4)")
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Huang Rui <ray.huang@amd.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: David Airlie <airlied@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
+ /mt/dim checkpatch 03712864f7a8ffcdd43fe3adc4cfe687f77e93ad drm-intel
667f11d1f720 drm/ttm: Fix GPU MM stats during pool shrinking
-:13: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#13:
Reported-by: Kenneth Crudup <kenny@panix.com>
Fixes: ae80122f3896 ("drm/ttm: use gpu mm stats to track gpu memory allocations. (v4)")
total: 0 errors, 1 warnings, 0 checks, 40 lines checked
next prev parent reply other threads:[~2026-05-01 22:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-01 22:30 [PATCH] drm/ttm: Fix GPU MM stats during pool shrinking Matthew Brost
2026-05-01 22:36 ` Patchwork [this message]
2026-05-01 22:37 ` ✓ CI.KUnit: success for " Patchwork
2026-05-01 22:57 ` [PATCH] " Kenneth Crudup
2026-05-01 23:28 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-05-02 0:05 ` [PATCH] " Kenneth Crudup
2026-05-02 4:12 ` Matthew Brost
2026-05-02 4:13 ` Matthew Brost
2026-05-02 0:48 ` ✗ Xe.CI.FULL: failure for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177767497040.31645.8002463400598564666@5ab824fced77 \
--to=patchwork@emeril.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.brost@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox