[PATCH 29/83] hsa/radeon: Fix memory size allocated for HPD
Oded Gabbay
oded.gabbay at gmail.com
Thu Jul 10 14:53:45 PDT 2014
Signed-off-by: Oded Gabbay <oded.gabbay at 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
More information about the dri-devel
mailing list