drm/exynos: fix the number of overlay planes
Subsystems (3)
PATCH 1/1 drm/exynos: fix the number of overlay planes
The number of overlay planes is one less than the maximum number of planes, because the one is used for primary plane.
Signed-off-by Hyungwon Hwang <[email protected]>
--- drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +1 -1
@@ -81,7 +81,7 @@ static int exynos_drm_load(struct drm_device *dev, unsigned long flags)exynos_drm_mode_config_init (dev); -for (nr =0 ; nr <MAX_PLANE ; nr++) { +for (nr =0 ; nr <MAX_PLANE -1 ; nr++) {struct drm_plane *plane;unsigned long possible_crtcs = (1 <<MAX_CRTC ) -1 ;
Signature · 6 lines
1.9.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel