summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc_helper.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2015-06-24 08:59:24 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-02 17:00:49 +0200
commita9cc54eeba635d2feb2ed4bf43d4ea4e08e7e0a9 (patch)
tree72c5bd78e43a0e218d389f54a73171525e0dcc79 /drivers/gpu/drm/drm_crtc_helper.c
parentdrm: Remove useless blank line (diff)
downloadlinux-a9cc54eeba635d2feb2ed4bf43d4ea4e08e7e0a9.tar.xz
linux-a9cc54eeba635d2feb2ed4bf43d4ea4e08e7e0a9.zip
drm/atomic: Update old_fb after setting a property.
This change updates the old_fb pointer only after acquiring the plane lock, if there are no properties the fb cannot have been changed either, so this works out correctly. Found in a discussion with Rob Clark. Cc: Rob Clark <robdclark@gmail.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_helper.c')
0 files changed, 0 insertions, 0 deletions