drm/msm: atomic fixes
Fixes for a couple little issues found in testing. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user