Skip to content
Commit a1c3e3e0 authored by Archit Taneja's avatar Archit Taneja Committed by Rob Clark
Browse files

drm/msm: mdp4: Fix drm_framebuffer dereference crash



mdp4_get_frame_format() can dereference a drm_framebuffer when it's NULL.
Call it in mdp4_plane_mode_set only when we know fb is non-NULL.

Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent ac451467
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment