projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff2e8a
)
radeon: remove _DRM_DRIVER from the preadded sarea map
author
Dave Airlie
<airlied@redhat.com>
Thu, 11 Jun 2009 06:16:10 +0000
(16:16 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 11 Jun 2009 06:16:10 +0000
(16:16 +1000)
This shouldn't be there and is what broke r600 late in the 2.6.30
release cycle with Ben's patch.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_cp.c
b/drivers/gpu/drm/radeon/radeon_cp.c
index 77a7a4d846508f8e2f1e89aee9b0f3ff812cd84a..521ef6a653568e355845a801690c48c0485fd014 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_cp.c
+++ b/
drivers/gpu/drm/radeon/radeon_cp.c
@@
-2109,7
+2109,7
@@
int radeon_master_create(struct drm_device *dev, struct drm_master *master)
/* prebuild the SAREA */
sareapage = max_t(unsigned long, SAREA_MAX, PAGE_SIZE);
- ret = drm_addmap(dev, 0, sareapage, _DRM_SHM, _DRM_CONTAINS_LOCK
|_DRM_DRIVER
,
+ ret = drm_addmap(dev, 0, sareapage, _DRM_SHM, _DRM_CONTAINS_LOCK,
&master_priv->sarea);
if (ret) {
DRM_ERROR("SAREA setup failed\n");