[PATCH] drivers/gpu/drm/ast: Support reading configuration values from device tree

2016-12-20 Thread Russell Currey
ow is closed; if the window is open, the driver functions as usual regardless of whether it uses the device tree or register accesses. Signed-off-by: Russell Currey --- This patch applies on top of my other patch "drivers/gpu/drm/ast: Fix infinite loop if read fails" which was rece

[PATCH] drivers/gpu/drm/ast: Fix infinite loop if read fails

2016-12-15 Thread Russell Currey
leads to the device being fenced and the system continuing to operate. Cc: # 3.10+ Signed-off-by: Russell Currey --- drivers/gpu/drm/ast/ast_main.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c index

[PATCH] drm/amdgpu: Restrict GART size to half of the GPU pages

2016-11-11 Thread Russell Currey
Signed-off-by: Russell Currey --- I don't know much about GPUs, restricting this to less than half might make more sense. --- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 21 +++-- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 21 +++-- drivers/gpu/drm/amd/amdgpu/