drm/ttm: Fix unused variable warning

2017-02-03 Thread Kent Russell
This cleans up a remnant from Christian's patch (drm/ttm: revert "add optional LRU removal callback v2") Kent >From dfdf89a8dff0e378db6fa9578f75b02eec02ca0e Mon Sep 17 00:00:00 2001 From: Kent Russell <kent.russ...@amd.com> Date: Tue, 31 Jan 2017 06:44:10 -0500 Subject: [

drm/ttm: Fix unused variable warning

2017-02-03 Thread Kent Russell
This cleans up a remnant from Christian's patch (drm/ttm: revert "add optional LRU removal callback v2") Kent >From dfdf89a8dff0e378db6fa9578f75b02eec02ca0e Mon Sep 17 00:00:00 2001 From: Kent Russell <kent.russ...@amd.com> Date: Tue, 31 Jan 2017 06:44:10 -0500 Subject: [

[PATCH] drm/amdgpu: Remove bo.priority compiler warning

2017-02-14 Thread Kent Russell
Addresses this compile warning: warning: comparison of distinct pointer types lacks a cast [enabled by default] bo->tbo.priority = min(bo->tbo.priority, TTM_MAX_BO_PRIORITY - 1); Kent >From 3da9f2d478c048c36a395f92a2bdb49fe04b831e Mon Sep 17 00:00:00 2001 From: Kent Russell &

drm/amdgpu: Fix vram_page_split parameter description

2017-06-28 Thread Kent Russell
The default was changed to 512 from 1024, but the default in the description wasn't updated. Kent >From 756f38576c08dc4aa36a958cc6f3d2784b20a377 Mon Sep 17 00:00:00 2001 From: Kent Russell <kent.russ...@amd.com> Date: Wed, 28 Jun 2017 15:16:41 -0400 Subject: [PATCH] drm/amdgpu: Updat

[PATCH 0/4] Fix stollen and prefered typos

2017-08-08 Thread Kent Russell
Just some fixes for typos in the amdgpu_device/radeon_device structs Kent Russell (4): drm/amdgpu: Fix stollen typo drm/radeon: Fix stollen typo drm/amdgpu: Fix prefered typo drm/radeon: Fix prefered typo drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu

[PATCH 2/4] drm/radeon: Fix stollen typo

2017-08-08 Thread Kent Russell
Change-Id: I44836001fa7469e52928d08ac3219f34ca945c42 Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/radeon/radeon.h | 2 +- drivers/gpu/drm/radeon/radeon_ttm.c | 20 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/g

[PATCH 3/4] drm/amdgpu: Fix prefered typo

2017-08-08 Thread Kent Russell
Change-Id: Ib4c58b0276943f48ded4e72959fe1574001066cd Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 ++-- drivers/gpu/drm/amd/

[PATCH 1/4] drm/amdgpu: Fix stollen typo

2017-08-08 Thread Kent Russell
Change-Id: I1b2464cdf6555f7047697ec17248f581f3338f08 Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/g

[PATCH 4/4] drm/radeon: Fix prefered typo

2017-08-08 Thread Kent Russell
Change-Id: I3353c8fadc633a7103d946846d54cc7bd49f299c Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/radeon/radeon.h| 2 +- drivers/gpu/drm/radeon/radeon_cs.c | 8 drivers/gpu/drm/radeon/radeon_object.c | 2 +- drivers/gpu/drm/radeon/radeon_vm.c

Re: [PATCH 0/4] Fix stollen and prefered typos

2017-08-08 Thread Kent Russell
<christian.koe...@amd.com> as well. Regards, Christian. Am 08.08.2017 um 14:34 schrieb Kent Russell: That's right, I am changing "prefered" to "preferred" in 3 and 4. Kent On 2017-08-08 08:24 AM, Christian K├Ânig wrote: Patches #1 and #2 are Reviewed-by: Chris

Re: [PATCH 0/4] Fix stollen and prefered typos

2017-08-08 Thread Kent Russell
English, but both dict.cc and thunderbird agree the correct one is actually "preferred" instead of "prefered". Regards, Christian. Am 08.08.2017 um 14:14 schrieb Kent Russell: Just some fixes for typos in the amdgpu_device/radeon_device structs Kent Russell (4): drm/amdgpu: Fi

[PATCH] drm/amdgpu: Add sysfs file for VBIOS

2017-08-23 Thread Kent Russell
characters in case of some weird VBIOS suffix that exceeds the expected 17 character format (3-8-3\0) Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 23 +++ drivers/gpu/drm/amd/amdgpu/atom.c | 5 - drive

[PATCH v2] drm/amdgpu: Add debugfs file for VBIOS and version

2017-08-24 Thread Kent Russell
commit message, add VBIOS dump file Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 62 ++ drivers/gpu/drm/amd/amdgpu/atom.c | 5 ++- drivers/gpu/drm/amd/amdgpu/atom.h | 1 + 3 files chang

[PATCH] drm/amdgpu: Move VBIOS version to sysfs

2017-08-25 Thread Kent Russell
sysfs is more stable, and doesn't require root to access Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 54 +- 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/drivers/gpu/drm/amd/

[PATCH] drm/amdkfd: Fix printing pointer cast

2017-11-30 Thread Kent Russell
Just print a pointer instead of casting Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c b/drivers/gpu/drm/amd/

[PATCH] drm/amdkfd: Fix printing pointer cast

2017-12-04 Thread Kent Russell
Just print a pointer instead of casting v2: Remove the 0x prefix, since %p prints that automatically, and remove it from one other spot as well Change-Id: I0564230d2985e703d59201832f50358da3b67afc Signed-off-by: Kent Russell <kent.russ...@amd.com> --- drivers/gpu/drm/amd/amdkfd/kfd_door