diff options
| author | Sam Ravnborg <sam@ravnborg.org> | 2019-05-26 13:36:24 +0200 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2019-05-26 13:42:23 +0200 |
| commit | 182c58ab2e5b654c2ffd1e959311173cb3bc70b1 (patch) | |
| tree | 35f0d3b8d294411bf57bb7b5580bdafc58b39b52 /drivers/gpu/drm/mcde/mcde_display.c | |
| parent | 95b608044fe0ea128133fdf6ee4c999d5165f7af (diff) | |
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
Diffstat (limited to 'drivers/gpu/drm/mcde/mcde_display.c')
| -rw-r--r-- | drivers/gpu/drm/mcde/mcde_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mcde/mcde_display.c b/drivers/gpu/drm/mcde/mcde_display.c index 17dc46d554b0..f3ef108a41d9 100644 --- a/drivers/gpu/drm/mcde/mcde_display.c +++ b/drivers/gpu/drm/mcde/mcde_display.c @@ -823,7 +823,7 @@ static void mcde_display_enable(struct drm_simple_display_pipe *pipe, u32 formatter_ppl = mode->hdisplay; /* pixels per line */ u32 formatter_lpf = mode->vdisplay; /* lines per frame */ int pkt_size, fifo_wtrmrk; - int cpp = drm_format_plane_cpp(format, 0); + int cpp = fb->format->cpp[0]; int formatter_cpp; struct drm_format_name_buf tmp; u32 formatter_frame; |