drm/amd/amdgpu: Add write() method to VRAM debugfs entry (v2)
authorTom St Denis <tom.stdenis@amd.com>
Tue, 29 Aug 2017 12:36:52 +0000 (08:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:28:02 +0000 (15:28 -0400)
commit08cab989f77582cb19df12d4a75a91b68b0017f6
treec7c779bd6703f08ea2bbaa023cb4a082dfd9074d
parent841e3be124b58c6e86fe288bce4dfe58d5574fd3
drm/amd/amdgpu: Add write() method to VRAM debugfs entry (v2)

Allows writing data to vram via debugfs.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
(v2):  Call get_user before holding spinlock.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c