summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_plane_helper.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-03-01 10:21:26 +0100
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-03-06 11:40:56 +0100
commit415c3ac3f2565a7fffab1fdb5ef4f9b6bc0065f1 (patch)
treecf9842533dc4aa02486ce6ff2805d8461c927f7d /drivers/gpu/drm/drm_plane_helper.c
parent7160d57b6f81185c4bcf2365dc152c1905ff2ab7 (diff)
drm/atomic: Fix atomic helpers to use the new iterator macros, v3.
There are new iterator macros that annotate whether the new or old state should be used. This is better than using a state that depends on whether it's called before or after swap. For clarity, also rename the variables from $obj_state to (old,new)_$obj_state as well. Changes since v1: - Use old/new_*_state for variable names as much as possible. (pinchartl) - Expand commit message. Changes since v2: - Rebase on top of link training patches. - free -> cleanup (pinchartl) Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: http://patchwork.freedesktop.org/patch/msgid/aafa0d4d-474d-441f-3685-fa6c042ef37e@linux.intel.com Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/drm_plane_helper.c')
0 files changed, 0 insertions, 0 deletions