diff options
author | xinliang.liu <xinliang.liu@linaro.org> | 2015-06-08 19:27:38 +0800 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2016-02-02 19:32:32 -0800 |
commit | f7364ab617b5ae9bbc44b7efa255ef39049dfd3c (patch) | |
tree | c91e66209899a919080a58d6a8899f80f728c712 | |
parent | 470676f54761f294784b26637a5cfa447ccef1ee (diff) | |
download | hikey-linaro-f7364ab617b5ae9bbc44b7efa255ef39049dfd3c.tar.gz |
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.
Signed-off-by: xinliang.liu <xinliang.liu@linaro.org>
-rw-r--r-- | drivers/gpu/arm/utgard/linux/mali_memory_external.c | 2 |
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 dcc9a7590885..3733f2e0c80a 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; |