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

Commit 3582b668 authored by Xu Yang's avatar Xu Yang Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: sde: program dither with correct data



Program dither config with correct data.

Change-Id: I0ae870ddf4a2f87523c7cea0cbcd49b030b76e43
Signed-off-by: default avatarXu Yang <yangxu@codeaurora.org>
parent ffd0bffe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ int sde_connector_get_dither_cfg(struct drm_connector *conn,
					CONNECTOR_PROP_PP_DITHER);
	/* if user config data doesn't exist, use default dither blob */
	if (*cfg == NULL && c_conn->blob_dither) {
		*cfg = &c_conn->blob_dither->data;
		*cfg = c_conn->blob_dither->data;
		dither_sz = c_conn->blob_dither->length;
	}
	*len = dither_sz;
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@

#define DITHER_DEPTH_MAP_INDEX 9
static u32 dither_depth_map[DITHER_DEPTH_MAP_INDEX] = {
	0, 0, 0, 0, 0, 1, 2, 3, 3
	0, 0, 0, 0, 0, 0, 0, 1, 2
};

#define MERGE_3D_MODE 0x004