summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_fb.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-05-04 11:31:56 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-06-02 10:57:26 +0300
commit41aff42ae6e3e9dbb800640fe3bb62383d4aa6e3 (patch)
treeeb1df6093c9df7aa8216f1f75304e80eb46816f2 /drivers/gpu/drm/omapdrm/omap_fb.c
parentc2e52e32049c0e94aa35a0635a2b150478ef3b2a (diff)
downloadlinux-41aff42ae6e3e9dbb800640fe3bb62383d4aa6e3.tar.xz
drm/omap: rename color_mode to fourcc
Now that we use fourccs, we can also rename the 'color_mode' variables to 'fourcc'. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fb.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c
index 16b510dcee2f..c5b2088ee168 100644
--- a/drivers/gpu/drm/omapdrm/omap_fb.c
+++ b/drivers/gpu/drm/omapdrm/omap_fb.c
@@ -132,7 +132,7 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
struct plane *plane = &omap_fb->planes[0];
uint32_t x, y, orient = 0;
- info->color_mode = fb->format->format;
+ info->fourcc = fb->format->format;
info->pos_x = win->crtc_x;
info->pos_y = win->crtc_y;