artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab5fd4c
)
drm/ttm: Print the memory decryption status just once
author
jsg
<jsg@openbsd.org>
Mon, 20 May 2024 05:17:01 +0000
(
05:17
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 20 May 2024 05:17:01 +0000
(
05:17
+0000)
From Zack Rusin
306e99777886fd9fe3495a2b889d551dc509a820
in linux-6.6.y/6.6.3
27906e5d78248b19bcdfdae72049338c828897bb
in mainline linux
sys/dev/pci/drm/ttm/ttm_tt.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/ttm/ttm_tt.c
b/sys/dev/pci/drm/ttm/ttm_tt.c
index
0eee929
..
795d4f2
100644
(file)
--- a/
sys/dev/pci/drm/ttm/ttm_tt.c
+++ b/
sys/dev/pci/drm/ttm/ttm_tt.c
@@
-92,7
+92,7
@@
int ttm_tt_create(struct ttm_buffer_object *bo, bool zero_alloc)
*/
if (bdev->pool.use_dma_alloc && cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) {
page_flags |= TTM_TT_FLAG_DECRYPTED;
- drm_info(ddev, "TT memory decryption enabled.");
+ drm_info
_once
(ddev, "TT memory decryption enabled.");
}
bo->ttm = bdev->funcs->ttm_tt_create(bo, page_flags);