lkml.org 
[lkml]   [2018]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: AMD graphics performance regression in 4.15 and later
    From
    Date
    Am 09.04.2018 um 17:17 schrieb Jean-Marc Valin:
    > On 04/09/2018 05:42 AM, Christian König wrote:
    >> Backporting all the detection logic is to invasive, but you could just
    >> go into drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c and forcefull use the
    >> other code path.
    >>
    >> Just look out for "#ifdef CONFIG_SWIOTLB" checks and disable those.
    > Do you mean just taking the 4.15 code as is and replacing
    > "#ifdef CONFIG_SWIOTLB" with "#if 0" in
    > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c or are you talking about using a
    > different version of drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ?

    Yes, exactly. The code then won't work any more on some ARMs or systems
    with more than 1TB of memory, but I don't think you care about that :)

    Christian.

    >
    > Jean-Marc
    > _______________________________________________
    > dri-devel mailing list
    > dri-devel@lists.freedesktop.org
    > https://lists.freedesktop.org/mailman/listinfo/dri-devel

    \
     
     \ /
      Last update: 2018-04-10 08:48    [W:3.686 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site