Skip to content

Commit

Permalink
staging: gma500: Add moorestown specific data to the device structure
Browse files Browse the repository at this point in the history
Moorestown needs somewhere to stash various pipe config registers and the
firmware and fuse configurations

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent a9100ca commit d3fc13d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion drivers/staging/gma500/psb_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ struct drm_psb_private {

struct drm_psb_sizes_arg sizes;

uint32_t fuse_reg_value;
u32 fuse_reg_value;
u32 video_device_fuse;

/* pci revision id for B0:D2:F0 */
uint8_t platform_rev_id;
Expand All @@ -669,13 +670,28 @@ struct drm_psb_private {
unsigned int lvds_use_ssc:1;
int lvds_ssc_freq;
bool is_lvds_on;
bool is_mipi_on;

unsigned int core_freq;
uint32_t iLVDS_enable;

/*runtime PM state*/
int rpm_enabled;

/* Moorestown specific */
struct mrst_vbt vbt_data;
struct mrst_gct_data gct_data;

/* Moorestown pipe config register value cache */
uint32_t pipeconf;
uint32_t pipeconf1;
uint32_t pipeconf2;

/* Moorestown plane control register value cache */
uint32_t dspcntr;
uint32_t dspcntr1;
uint32_t dspcntr2;

/*
*Register state
*/
Expand Down

0 comments on commit d3fc13d

Please sign in to comment.