Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/mcde: Fix compile problems

Some further compile problems appeared while merging the
patch, fix them up.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190526113624.6702-1-linus.walleij@linaro.org

authored by

Sam Ravnborg and committed by
Linus Walleij
182c58ab 95b60804

+2 -2
+1 -1
drivers/gpu/drm/mcde/mcde_display.c
··· 823 823 u32 formatter_ppl = mode->hdisplay; /* pixels per line */ 824 824 u32 formatter_lpf = mode->vdisplay; /* lines per frame */ 825 825 int pkt_size, fifo_wtrmrk; 826 - int cpp = drm_format_plane_cpp(format, 0); 826 + int cpp = fb->format->cpp[0]; 827 827 int formatter_cpp; 828 828 struct drm_format_name_buf tmp; 829 829 u32 formatter_frame;
+1 -1
drivers/gpu/drm/mcde/mcde_dsi.c
··· 191 191 } 192 192 193 193 dev_dbg(d->dev, 194 - "message to channel %d, %u bytes", 194 + "message to channel %d, %zd bytes", 195 195 msg->channel, 196 196 txlen); 197 197