projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f6c7f
)
drm: plane: Clear plane.crtc and plane.fb after disable_plane()
author
Ville Syrjälä
<ville.syrjala@linux.intel.com>
Mon, 19 Dec 2011 22:06:43 +0000
(
00:06
+0200)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 20 Dec 2011 10:03:50 +0000
(10:03 +0000)
These are the only indication to user space that the plane was disabled.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_crtc.c
b/drivers/gpu/drm/drm_crtc.c
index e05d997915445cab42e1fb2fe8e48fac0297587e..d9bf9d88ff43ae95128188c1285fff588a264dea 100644
(file)
--- a/
drivers/gpu/drm/drm_crtc.c
+++ b/
drivers/gpu/drm/drm_crtc.c
@@
-1684,6
+1684,8
@@
int drm_mode_setplane(struct drm_device *dev, void *data,
/* No fb means shut it down */
if (!plane_req->fb_id) {
plane->funcs->disable_plane(plane);
+ plane->crtc = NULL;
+ plane->fb = NULL;
goto out;
}