lkml.org 
[lkml]   [2014]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 29/83] hsa/radeon: Fix memory size allocated for HPD
Date
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
---
drivers/gpu/hsa/radeon/kfd_sched_cik_static.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c b/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c
index 3c3e7d6..5bfde5c 100644
--- a/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c
+++ b/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c
@@ -433,7 +433,7 @@ static int cik_static_create(struct kfd_dev *dev, struct kfd_scheduler **schedul
* are no active queues.
*/
err = radeon_kfd_vidmem_alloc(dev,
- CIK_HPD_SIZE * priv->num_pipes * 2,
+ CIK_HPD_SIZE * priv->num_pipes,
PAGE_SIZE,
KFD_MEMPOOL_SYSTEM_WRITECOMBINE,
&priv->hpd_mem);
--
1.9.1


\
 
 \ /
  Last update: 2014-07-11 00:41    [W:0.260 / U:0.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site