OSDN Git Service

drm: Merge __drm_atomic_helper_disable_all() into drm_atomic_helper_disable_all()
authorSean Paul <seanpaul@chromium.org>
Tue, 12 Feb 2019 17:32:41 +0000 (12:32 -0500)
committerSean Paul <seanpaul@chromium.org>
Wed, 13 Feb 2019 15:50:38 +0000 (10:50 -0500)
commit37406a60fac7de336dec331a8707a94462ac5a5e
tree2255f3a159dd8632949b3cc11ae55404d3579e9c
parent6649a95d35d850e417f125821a803ca7889c713c
drm: Merge __drm_atomic_helper_disable_all() into drm_atomic_helper_disable_all()

The only difference between the functions is the clean_old_fbs argument, whose
use was removed in the patch referenced below. So remove the internal
copy and drop the guts back into drm_atomic_helper_disable_all()

Changes in v2:
- Instead of just removing the unused arg, merge the functions

Fixes: e00fb8564ee9 ("drm: Stop updating plane->crtc/fb/old_fb on atomic drivers")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Sinclair Yeh <syeh@vmware.com> # This email bounces :(
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190212173245.51980-1-sean@poorly.run
drivers/gpu/drm/drm_atomic_helper.c