diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/1080-drm-amdgpu-fix-num_rbs-exposed-to-userspace.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/1080-drm-amdgpu-fix-num_rbs-exposed-to-userspace.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/common/recipes-kernel/linux/files/1080-drm-amdgpu-fix-num_rbs-exposed-to-userspace.patch b/common/recipes-kernel/linux/files/1080-drm-amdgpu-fix-num_rbs-exposed-to-userspace.patch deleted file mode 100644 index 0cf9183d..00000000 --- a/common/recipes-kernel/linux/files/1080-drm-amdgpu-fix-num_rbs-exposed-to-userspace.patch +++ /dev/null @@ -1,31 +0,0 @@ -From a164a184ca5d1a626f97706520a6eaed8c4a9cea Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Mon, 20 Jun 2016 15:25:05 +0530 -Subject: [PATCH 1080/1110] drm/amdgpu: fix num_rbs exposed to userspace - -This was accidently broken for harvest cards when the -code was refactored for Polaris support. - -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com> -Signed-off-by: Kalyan Alle <kalyan.alle@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c -index 7db2712..2e82537 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c -@@ -448,7 +448,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file - dev_info.max_memory_clock = adev->pm.default_mclk * 10; - } - dev_info.enabled_rb_pipes_mask = adev->gfx.config.backend_enable_mask; -- dev_info.num_rb_pipes = adev->gfx.config.num_rbs; -+ dev_info.num_rb_pipes = adev->gfx.config.max_backends_per_se; - dev_info.num_hw_gfx_contexts = adev->gfx.config.max_hw_contexts; - dev_info._pad = 0; - dev_info.ids_flags = 0; --- -2.7.4 - |