]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/gpu/drm/zte/zx_plane.c
drm: Nuke fb->pixel_format
[mirror_ubuntu-jammy-kernel.git] / drivers / gpu / drm / zte / zx_plane.c
index 72d27b0a48b2e5c8811497f5bfb71410a10ebd85..b634b090cdc1bc7d79fbe7d6faf7885984658bfc 100644 (file)
@@ -146,7 +146,7 @@ static void zx_gl_plane_atomic_update(struct drm_plane *plane,
        if (!fb)
                return;
 
-       format = fb->pixel_format;
+       format = fb->format->format;
        stride = fb->pitches[0];
 
        src_x = plane->state->src_x >> 16;