diff options
Diffstat (limited to 'drivers/gpu/drm/meson/meson_plane.c')
-rw-r--r-- | drivers/gpu/drm/meson/meson_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson/meson_plane.c index 4942ca090b46..642b2fab42ff 100644 --- a/drivers/gpu/drm/meson/meson_plane.c +++ b/drivers/gpu/drm/meson/meson_plane.c | |||
@@ -113,7 +113,7 @@ static void meson_plane_atomic_update(struct drm_plane *plane, | |||
113 | if (meson_vpu_is_compatible(priv, "amlogic,meson-gxbb-vpu")) | 113 | if (meson_vpu_is_compatible(priv, "amlogic,meson-gxbb-vpu")) |
114 | priv->viu.osd1_blk0_cfg[0] |= OSD_OUTPUT_COLOR_RGB; | 114 | priv->viu.osd1_blk0_cfg[0] |= OSD_OUTPUT_COLOR_RGB; |
115 | 115 | ||
116 | switch (fb->pixel_format) { | 116 | switch (fb->format->format) { |
117 | case DRM_FORMAT_XRGB8888: | 117 | case DRM_FORMAT_XRGB8888: |
118 | /* For XRGB, replace the pixel's alpha by 0xFF */ | 118 | /* For XRGB, replace the pixel's alpha by 0xFF */ |
119 | writel_bits_relaxed(OSD_REPLACE_EN, OSD_REPLACE_EN, | 119 | writel_bits_relaxed(OSD_REPLACE_EN, OSD_REPLACE_EN, |