Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249021
b: refs/heads/master
c: c9981d9
h: refs/heads/master
i:
  249019: 491a4dd
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 31869eb commit 3609d7c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 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: 54edcea62dbf7c4b4a429411d216d86c2788d8e9
refs/heads/master: c9981d941cfe1d5b5244ca4c5f7211153b1d0805
15 changes: 15 additions & 0 deletions trunk/drivers/staging/gma500/psb_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,21 @@ int psb_set_brightness(struct backlight_device *bd);
int psb_get_brightness(struct backlight_device *bd);
struct backlight_device * psb_get_backlight_device(void);

/* mrst_crtc.c */
extern const struct drm_crtc_helper_funcs mrst_helper_funcs;

/* mrst_lvds.c */
extern void mrst_lvds_init(struct drm_device *dev,
struct psb_intel_mode_device *mode_dev);

/* psb_intel_lvds.c */
extern void psb_intel_lvds_prepare(struct drm_encoder *encoder);
extern void psb_intel_lvds_commit(struct drm_encoder *encoder);
extern const struct drm_connector_helper_funcs
psb_intel_lvds_connector_helper_funcs;
extern const struct drm_connector_funcs psb_intel_lvds_connector_funcs;


/*
*Debug print bits setting
*/
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/gma500/psb_intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1335,10 +1335,6 @@ static const struct drm_crtc_helper_funcs psb_intel_helper_funcs = {
.commit = psb_intel_crtc_commit,
};

static const struct drm_crtc_helper_funcs mrst_helper_funcs;
static const struct drm_crtc_helper_funcs mdfld_helper_funcs;
const struct drm_crtc_funcs mdfld_intel_crtc_funcs;

const struct drm_crtc_funcs psb_intel_crtc_funcs = {
.save = psb_intel_crtc_save,
.restore = psb_intel_crtc_restore,
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/gma500/psb_intel_lvds.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder,
return true;
}

static void psb_intel_lvds_prepare(struct drm_encoder *encoder)
void psb_intel_lvds_prepare(struct drm_encoder *encoder)
{
struct drm_device *dev = encoder->dev;
struct psb_intel_output *output = enc_to_psb_intel_output(encoder);
Expand All @@ -470,7 +470,7 @@ static void psb_intel_lvds_prepare(struct drm_encoder *encoder)
ospm_power_using_hw_end(OSPM_DISPLAY_ISLAND);
}

static void psb_intel_lvds_commit(struct drm_encoder *encoder)
void psb_intel_lvds_commit(struct drm_encoder *encoder)
{
struct drm_device *dev = encoder->dev;
struct psb_intel_output *output = enc_to_psb_intel_output(encoder);
Expand Down Expand Up @@ -673,14 +673,14 @@ static const struct drm_encoder_helper_funcs psb_intel_lvds_helper_funcs = {
.commit = psb_intel_lvds_commit,
};

static const struct drm_connector_helper_funcs
const struct drm_connector_helper_funcs
psb_intel_lvds_connector_helper_funcs = {
.get_modes = psb_intel_lvds_get_modes,
.mode_valid = psb_intel_lvds_mode_valid,
.best_encoder = psb_intel_best_encoder,
};

static const struct drm_connector_funcs psb_intel_lvds_connector_funcs = {
const struct drm_connector_funcs psb_intel_lvds_connector_funcs = {
.dpms = drm_helper_connector_dpms,
.save = psb_intel_lvds_save,
.restore = psb_intel_lvds_restore,
Expand Down

0 comments on commit 3609d7c

Please sign in to comment.