drivers/gpu/drm/drm_crtc_helper.c: fix setting of fb_changed in drm_crtc_helper_set_config()
Subsystems (2)
PATCH 5/6 drivers/gpu/drm/drm_crtc_helper.c: fix setting of fb_changed in drm_crtc_helper_set_config()
From: Roel Kluin <[email protected]>
Only set fb_changed if bits_per_pixel or depth changed.
Signed-off-by Roel Kluin <[email protected]>
Cc David Airlie <[email protected]>
Cc Zhao Yakui <[email protected]>
Cc Jesse Barnes <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/gpu/drm/drm_crtc_helper.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/drm_crtc_helper.c renamed from drivers/gpu/drm/drm_crtc_helper.c~drivers-gpu-drm-drm_crtc_helperc-fix-setting-of-fb_changed-in-drm_crtc_helper_set_config +0 -2
@@ -840,8 +840,6 @@ int drm_crtc_helper_set_config(struct dr set->crtc->fb->bits_per_pixel) || set->fb->depth != set->crtc->fb->depth) fb_changed = true; - else - fb_changed = true; }if (set->x != set->crtc->x || set->y != set->crtc->y)
_
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--