projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b4b44
)
drm: omapdrm: gem: Remove check for impossible condition
author
Laurent Pinchart
<
[email protected]
>
Mon, 14 Dec 2015 20:39:42 +0000
(22:39 +0200)
committer
Tomi Valkeinen
<
[email protected]
>
Thu, 31 Dec 2015 09:25:46 +0000
(11:25 +0200)
The GEM object can't be tiled without a usergart as that condition is
checked and considered as an error when creating the GEM object.
Signed-off-by: Laurent Pinchart <
[email protected]
>
Signed-off-by: Tomi Valkeinen <
[email protected]
>
drivers/gpu/drm/omapdrm/omap_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/omap_gem.c
b/drivers/gpu/drm/omapdrm/omap_gem.c
index a589685ec63ddbec80f1fcc8d5d730536165a577..984462622291d3f5fae2493d1234727d12fcc58d 100644
(file)
--- a/
drivers/gpu/drm/omapdrm/omap_gem.c
+++ b/
drivers/gpu/drm/omapdrm/omap_gem.c
@@
-218,9
+218,6
@@
static void evict(struct drm_gem_object *obj)
enum tiler_fmt fmt = gem2fmt(omap_obj->flags);
int i;
- if (!priv->usergart)
- return;
-
for (i = 0; i < NUM_USERGART_ENTRIES; i++) {
struct omap_drm_usergart_entry *entry =
&priv->usergart[fmt].entry[i];