]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/rcar-du/rcar_du_vsp.c
Merge tag 'media/v4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-linux.git] / drivers / gpu / drm / rcar-du / rcar_du_vsp.c
index 22da2d671297f3ad936a3963d138867fa4c27f28..b0ff304ce3dc4a9ac18f359a73498efede18cbd4 100644 (file)
@@ -205,10 +205,10 @@ static int rcar_du_vsp_plane_atomic_check(struct drm_plane *plane,
                return -EINVAL;
        }
 
-       rstate->format = rcar_du_format_info(state->fb->pixel_format);
+       rstate->format = rcar_du_format_info(state->fb->format->format);
        if (rstate->format == NULL) {
                dev_dbg(rcdu->dev, "%s: unsupported format %08x\n", __func__,
-                       state->fb->pixel_format);
+                       state->fb->format->format);
                return -EINVAL;
        }