aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxinliang.liu <xinliang.liu@linaro.org>2015-06-08 19:27:38 +0800
committerDmitry Shmidt <dimitrysh@google.com>2017-05-23 11:26:48 -0700
commitc28350db446055bf91a39492d72db22cf2956d59 (patch)
treefdd4e6ef6ac3ecb1c1598070fcffa65b61d0f081
parent078a8e842f755648b48f92b44351517c00ac0326 (diff)
downloadhikey-linaro-c28350db446055bf91a39492d72db22cf2956d59.tar.gz
MALI: drivers/gpu/arm/utgard: Disable fbdev physical address check
hikey don't specific the base of fbdev reserve memery. The reserve mememery is allocate dymanic, so it doesn't need a check. Change-Id: I1b5dc847301e2ee06630426e7372b5131bfb1ae5 Signed-off-by: xinliang.liu <xinliang.liu@linaro.org>
-rw-r--r--drivers/gpu/arm/utgard/linux/mali_memory_external.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/arm/utgard/linux/mali_memory_external.c b/drivers/gpu/arm/utgard/linux/mali_memory_external.c
index 76018b7ab90b..d9bd7eee2870 100644
--- a/drivers/gpu/arm/utgard/linux/mali_memory_external.c
+++ b/drivers/gpu/arm/utgard/linux/mali_memory_external.c
@@ -53,10 +53,12 @@ _mali_osk_errcode_t mali_mem_bind_ext_buf(mali_mem_allocation *alloc,
/* size must be a multiple of the system page size */
if (size % _MALI_OSK_MALI_PAGE_SIZE) MALI_ERROR(_MALI_OSK_ERR_INVALID_ARGS);
+#if 0
/* Validate the mali physical range */
if (_MALI_OSK_ERR_OK != mali_mem_validation_check(phys_addr, size)) {
return _MALI_OSK_ERR_FAULT;
}
+#endif
if (flag & _MALI_MAP_EXTERNAL_MAP_GUARD_PAGE) {
alloc->flags |= MALI_MEM_FLAG_MALI_GUARD_PAGE;