lkml.org 
[lkml]   [2018]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/4] drm/amdgpu: Use drm_oom_badness for amdgpu.
    Date
    Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
    ---
    drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
    index 46a0c93..6a733cdc8 100644
    --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
    +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
    @@ -828,6 +828,7 @@ static const struct file_operations amdgpu_driver_kms_fops = {
    #ifdef CONFIG_COMPAT
    .compat_ioctl = amdgpu_kms_compat_ioctl,
    #endif
    + .oom_file_badness = drm_oom_badness,
    };

    static bool
    --
    2.7.4
    \
     
     \ /
      Last update: 2018-01-18 17:50    [W:4.166 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site