diff options
author | Rob Clark <robdclark@gmail.com> | 2014-11-19 12:29:33 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-11-21 08:57:22 -0500 |
commit | 3e2f29e4137c78a3bd7e1b85cf287ff375f6367e (patch) | |
tree | c2c827f1ef39695cd1e62f57cb6fa08161d9962a /drivers/gpu/drm/msm/msm_atomic.c | |
parent | 32c0e3e24c885ffeecb6d3a67ecb607b8fe63129 (diff) | |
download | lwn-3e2f29e4137c78a3bd7e1b85cf287ff375f6367e.tar.gz lwn-3e2f29e4137c78a3bd7e1b85cf287ff375f6367e.zip |
drm/msm: atomic fixes
Fixes for a couple little issues found in testing.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_atomic.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_atomic.c b/drivers/gpu/drm/msm/msm_atomic.c index 8cf3361daba3..f0de412e13dc 100644 --- a/drivers/gpu/drm/msm/msm_atomic.c +++ b/drivers/gpu/drm/msm/msm_atomic.c @@ -117,7 +117,7 @@ int msm_atomic_commit(struct drm_device *dev, if (!plane) continue; - if (plane->state->fb != new_state->fb) + if ((plane->state->fb != new_state->fb) && new_state->fb) add_fb(c, new_state->fb); } |