Lines Matching defs:drm_psb_private

442 struct drm_psb_private {  struct
443 struct drm_device *dev;
444 struct pci_dev *aux_pdev; /* Currently only used by mrst */
445 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
446 const struct psb_ops *ops;
447 const struct psb_offset *regmap;
449 struct child_device_config *child_dev;
450 int child_dev_num;
452 struct psb_gtt gtt;
455 struct psb_gtt_mm *gtt_mm;
456 struct page *scratch_page;
457 u32 __iomem *gtt_map;
458 uint32_t stolen_base;
459 u8 __iomem *vram_addr;
460 unsigned long vram_stolen_size;
461 int gtt_initialized;
462 u16 gmch_ctrl; /* Saved GTT setup */
463 u32 pge_ctl;
465 struct mutex gtt_mutex;
466 struct resource *gtt_mem; /* Our PCI resource */
468 struct psb_mmu_driver *mmu;
469 struct psb_mmu_pd *pf_pd;
472 uint8_t __iomem *sgx_reg;
473 uint8_t __iomem *vdc_reg;
474 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
475 uint16_t lpc_gpio_base;
476 uint32_t gatt_free_offset;
479 uint32_t vdc_irq_mask;
480 uint32_t pipestat[PSB_NUM_PIPE];
482 spinlock_t irqmask_lock;
485 bool suspended;
486 bool display_power;
487 int display_count;
490 struct psb_intel_mode_device mode_dev;
491 bool modeset; /* true if we have done the mode_device setup */
493 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
494 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
495 uint32_t num_pipe;
498 uint32_t ospm_base;
501 u32 fuse_reg_value;
502 u32 video_device_fuse;
505 uint8_t platform_rev_id;
508 struct intel_gmbus *gmbus;
509 uint8_t __iomem *gmbus_reg;
512 int crt_ddc_pin;
515 struct sdvo_device_mapping sdvo_mappings[2];
516 u32 hotplug_supported_mask;
517 struct drm_property *broadcast_rgb_property;
518 struct drm_property *force_audio_property;
521 int backlight_duty_cycle; /* restore backlight to this value */
522 bool panel_wants_dither;
523 struct drm_display_mode *panel_fixed_mode;
524 struct drm_display_mode *lfp_lvds_vbt_mode;
525 struct drm_display_mode *sdvo_lvds_vbt_mode;
527 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
528 struct psb_intel_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
531 unsigned int int_tv_support:1;
532 unsigned int lvds_dither:1;
533 unsigned int lvds_vbt:1;
534 unsigned int int_crt_support:1;
535 unsigned int lvds_use_ssc:1;
536 int lvds_ssc_freq;
537 bool is_lvds_on;
538 bool is_mipi_on;
539 u32 mipi_ctrl_display;
541 unsigned int core_freq;
542 uint32_t iLVDS_enable;
545 int rpm_enabled;
548 bool has_gct;
549 struct oaktrail_gct_data gct_data;
552 struct oaktrail_hdmi_dev *hdmi_priv;
555 struct psb_save_area regs;
558 uint32_t msi_addr;
559 uint32_t msi_data;
562 struct work_struct hotplug_work;
565 spinlock_t lid_lock;
566 struct timer_list lid_timer;
567 struct psb_intel_opregion opregion;
568 u32 lid_last_state;
571 uint32_t apm_reg;
572 uint16_t apm_base;
578 struct backlight_device *backlight_device;
579 struct drm_property *backlight_property;
580 bool backlight_enabled;
581 int backlight_level;
582 uint32_t blc_adj1;
583 uint32_t blc_adj2;
585 void *fbdev;
588 spinlock_t lock_2d;
591 int brightness;
592 int brightness_adjusted;
594 bool dsr_enable;
595 u32 dsr_fb_update;
596 bool dpi_panel_on[3];
597 void *dsi_configs[2];
598 u32 bpp;
599 u32 bpp2;
601 u32 pipeconf[3];
602 u32 dspcntr[3];
604 int mdfld_panel_id;
606 bool dplla_96mhz; /* DPLL data from the VBT */
608 struct {
618 } edp;
619 uint8_t panel_type;