Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ab21016 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: sde: Add null pointer check for plane state"

parents 6232bdd5 f434c0c3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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) {