diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-06-29 16:27:10 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-02 11:05:21 -0500 |
commit | 718b5406cd76f1aa6434311241b7febf0e8571ff (patch) | |
tree | 8f176e3e71a70e6d6b8544e5702e7e18f137dcd0 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) |
drm: Use kvzalloc for allocating blob property memory
The property size may be controlled by userspace, can be large (I've
seen failure with order 4, i.e. 16 pages / 64 KB) and doesn't need to be
physically contiguous.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180629142710.2069-1-michel@daenzer.net
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions