AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: Alex Deucher <alexdeucher@gmail.com>,
	Alex Deucher <alexander.deucher@amd.com>
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	"Zhu Lingshan" <lingshan.zhu@amd.com>,
	"Christian König" <christian.koenig@amd.com>
Subject: Re: [PATCH] Revert "drm/ttm: increase ttm pre-fault value to PMD size"
Date: Fri, 23 Aug 2024 15:25:35 +0200	[thread overview]
Message-ID: <8e022c64-aedb-4dc3-bc6e-8b60f6836151@gmail.com> (raw)
In-Reply-To: <CADnq5_NsyR2eexPnsdx-RCWYef7SyuPed3r076+ZFhuBVxxPAw@mail.gmail.com>

Am 23.08.24 um 15:13 schrieb Alex Deucher:
> Ping?
>
> On Tue, Aug 20, 2024 at 9:46 AM Alex Deucher <alexander.deucher@amd.com> wrote:
>> This reverts commit 0ddd2ae586d28e521d37393364d989ce118802e0.
>>
>> This patch causes sluggishness and stuttering in graphical
>> apps.
>>
>> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3564
>> Link: https://www.spinics.net/lists/dri-devel/msg457005.html
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>> Cc: Zhu Lingshan <lingshan.zhu@amd.com>
>> Cc: Christian König <christian.koenig@amd.com>

Reviewed-by: Christian König <christian.koenig@amd.com>

>> ---
>>   include/drm/ttm/ttm_bo.h | 4 ----
>>   1 file changed, 4 deletions(-)
>>
>> diff --git a/include/drm/ttm/ttm_bo.h b/include/drm/ttm/ttm_bo.h
>> index ef0f52f56ebc..6ccf96c91f3a 100644
>> --- a/include/drm/ttm/ttm_bo.h
>> +++ b/include/drm/ttm/ttm_bo.h
>> @@ -39,11 +39,7 @@
>>   #include "ttm_device.h"
>>
>>   /* Default number of pre-faulted pages in the TTM fault handler */
>> -#if CONFIG_PGTABLE_LEVELS > 2
>> -#define TTM_BO_VM_NUM_PREFAULT (1 << (PMD_SHIFT - PAGE_SHIFT))
>> -#else
>>   #define TTM_BO_VM_NUM_PREFAULT 16
>> -#endif
>>
>>   struct iosys_map;
>>
>> --
>> 2.46.0
>>


      reply	other threads:[~2024-08-23 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-20 13:46 [PATCH] Revert "drm/ttm: increase ttm pre-fault value to PMD size" Alex Deucher
2024-08-23 13:13 ` Alex Deucher
2024-08-23 13:25   ` Christian König [this message]

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=8e022c64-aedb-4dc3-bc6e-8b60f6836151@gmail.com \
    --to=ckoenig.leichtzumerken@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=lingshan.zhu@amd.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