Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293849
b: refs/heads/master
c: ba3849d
h: refs/heads/master
i:
  293847: 7df54f9
v: v3
  • Loading branch information
Eunchul Kim authored and Dave Airlie committed Mar 20, 2012
1 parent d1b703f commit 42470ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 590f418a5c26897f3626f961bf7422fde6fb9ec6
refs/heads/master: ba3849d56bd7adc8cd1254a261e75550a1d91c8a
8 changes: 6 additions & 2 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ struct exynos_plane {
bool enabled;
};

static const uint32_t formats[] = {
DRM_FORMAT_XRGB8888,
};

static int
exynos_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
struct drm_framebuffer *fb, int crtc_x, int crtc_y,
Expand Down Expand Up @@ -115,9 +119,9 @@ int exynos_plane_init(struct drm_device *dev, unsigned int nr)

exynos_plane->overlay.zpos = DEFAULT_ZPOS;

/* TODO: format */
return drm_plane_init(dev, &exynos_plane->base, possible_crtcs,
&exynos_plane_funcs, NULL, 0, false);
&exynos_plane_funcs, formats, ARRAY_SIZE(formats),
false);
}

int exynos_plane_set_zpos_ioctl(struct drm_device *dev, void *data,
Expand Down

0 comments on commit 42470ab

Please sign in to comment.