projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a32eb
)
drm/exynos: fix gem buffer allocation type checking
author
Inki Dae
<inki.dae@samsung.com>
Thu, 27 Dec 2012 10:54:23 +0000
(19:54 +0900)
committer
Inki Dae
<inki.dae@samsung.com>
Fri, 4 Jan 2013 06:54:34 +0000
(15:54 +0900)
This patch fixes gem buffer allocation type checking.
EXYNOS_BO_CONTIG has 0 so the checking should be fixed
to 'if (!(flags & EXYNOS_BO_NONCONTIG))'
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_buf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_buf.c
b/drivers/gpu/drm/exynos/exynos_drm_buf.c
index b7937a616e46a0adc834d5505f4073e2cf392059..57affae9568b22c1b4713fb0fe330a33ffe6ca01 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_buf.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_buf.c
@@
-38,7
+38,7
@@
static int lowlevel_buffer_allocate(struct drm_device *dev,
* region will be allocated else physically contiguous
* as possible.
*/
- if (
flags & EXYNOS_BO_CONTIG
)
+ if (
!(flags & EXYNOS_BO_NONCONTIG)
)
dma_set_attr(DMA_ATTR_FORCE_CONTIGUOUS, &buf->dma_attrs);
/*