Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371610
b: refs/heads/master
c: f1998fe
h: refs/heads/master
v: v3
  • Loading branch information
Christopher Harvey authored and Dave Airlie committed Apr 29, 2013
1 parent c3324d0 commit 9e3c43e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 67d411ddb9def691572cd5ad0ee2991510d860d2
refs/heads/master: f1998fe2d89be370707bfbd213365689cacf9206
7 changes: 3 additions & 4 deletions trunk/drivers/gpu/drm/mgag200/mgag200_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1261,9 +1261,8 @@ static const struct drm_crtc_helper_funcs mga_helper_funcs = {
};

/* CRTC setup */
static void mga_crtc_init(struct drm_device *dev)
static void mga_crtc_init(struct mga_device *mdev)
{
struct mga_device *mdev = dev->dev_private;
struct mga_crtc *mga_crtc;
int i;

Expand All @@ -1274,7 +1273,7 @@ static void mga_crtc_init(struct drm_device *dev)
if (mga_crtc == NULL)
return;

drm_crtc_init(dev, &mga_crtc->base, &mga_crtc_funcs);
drm_crtc_init(mdev->dev, &mga_crtc->base, &mga_crtc_funcs);

drm_mode_crtc_set_gamma_size(&mga_crtc->base, MGAG200_LUT_SIZE);
mdev->mode_info.crtc = mga_crtc;
Expand Down Expand Up @@ -1529,7 +1528,7 @@ int mgag200_modeset_init(struct mga_device *mdev)

mdev->dev->mode_config.fb_base = mdev->mc.vram_base;

mga_crtc_init(mdev->dev);
mga_crtc_init(mdev);

encoder = mga_encoder_init(mdev->dev);
if (!encoder) {
Expand Down

0 comments on commit 9e3c43e

Please sign in to comment.