OpenCloudOS-Kernel/drivers/gpu/drm/amd
Christian König c7217b2af8 drm/amdgpu: just disallow reading untouched registers
Not sure what the original intention was here, but returning a random piece of
kernel memory to userspace because we didn't set the value at all is clearly
not a good idea.

This patch disallows reading the register and returns
a proper error code instead.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-03-30 14:44:00 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: just disallow reading untouched registers 2017-03-30 14:44:00 -04:00
amdkfd sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
include drm/amdgpu: Add interrupt entries for CRTC_VERTICAL_INTERRUPT0. 2017-03-29 23:55:43 -04:00
powerplay drm/amd/powerplay: reduce sample period time 2017-03-29 23:55:22 -04:00
scheduler drm/amd/sched: revise priority number 2017-03-29 23:54:03 -04:00