mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "disp: msm: sde: Add null pointer check for plane state"
This commit is contained in:
commit
0ab21016ee
1 changed files with 4 additions and 0 deletions
|
|
@ -3049,6 +3049,10 @@ static void _sde_plane_update_properties(struct drm_plane *plane,
|
|||
state = plane->state;
|
||||
|
||||
pstate = to_sde_plane_state(state);
|
||||
if (!pstate) {
|
||||
SDE_ERROR("invalid plane state for plane%d\n", DRMID(plane));
|
||||
return;
|
||||
}
|
||||
|
||||
msm_fmt = msm_framebuffer_format(fb);
|
||||
if (!msm_fmt) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue