msm: mdss: Return proper msmfb_data back to client

For local clients, return the relevant msmfb_data which contains a
cookie relevant to the client.

Change-Id: I9b845c0cd7fde1bc8c53a5063ba331460d67427d
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
This commit is contained in:
Deva Ramasubramanian 2012-07-26 17:17:53 -07:00 committed by Stephen Boyd
parent 99f8c3e4ce
commit b59d111e75

View file

@ -235,6 +235,7 @@ static struct mdss_mdp_wb_data *get_local_node(struct mdss_mdp_wb *wb,
}
node->buf_data.num_planes = 1;
node->buf_info = *data;
buf = &node->buf_data.p[0];
buf->addr = (u32) (data->iova + data->offset);
buf->len = UINT_MAX; /* trusted source */