Lines Matching defs:drm_psb_private

429 struct drm_psb_private {  struct
430 struct drm_device *dev;
431 struct pci_dev *aux_pdev; /* Currently only used by mrst */
432 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
433 const struct psb_ops *ops;
434 const struct psb_offset *regmap;
436 struct child_device_config *child_dev;
437 int child_dev_num;
439 struct psb_gtt gtt;
442 struct psb_gtt_mm *gtt_mm;
443 struct page *scratch_page;
444 u32 __iomem *gtt_map;
445 uint32_t stolen_base;
446 u8 __iomem *vram_addr;
447 unsigned long vram_stolen_size;
448 int gtt_initialized;
449 u16 gmch_ctrl; /* Saved GTT setup */
450 u32 pge_ctl;
452 struct mutex gtt_mutex;
453 struct resource *gtt_mem; /* Our PCI resource */
455 struct mutex mmap_mutex;
457 struct psb_mmu_driver *mmu;
458 struct psb_mmu_pd *pf_pd;
461 uint8_t __iomem *sgx_reg;
462 uint8_t __iomem *vdc_reg;
463 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
464 uint16_t lpc_gpio_base;
465 uint32_t gatt_free_offset;
468 uint32_t vdc_irq_mask;
469 uint32_t pipestat[PSB_NUM_PIPE];
471 spinlock_t irqmask_lock;
474 bool suspended;
475 bool display_power;
476 int display_count;
479 struct psb_intel_mode_device mode_dev;
480 bool modeset; /* true if we have done the mode_device setup */
482 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
483 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
484 uint32_t num_pipe;
487 uint32_t ospm_base;
490 u32 fuse_reg_value;
491 u32 video_device_fuse;
494 uint8_t platform_rev_id;
497 struct intel_gmbus *gmbus;
498 uint8_t __iomem *gmbus_reg;
501 int crt_ddc_pin;
504 struct sdvo_device_mapping sdvo_mappings[2];
505 u32 hotplug_supported_mask;
506 struct drm_property *broadcast_rgb_property;
507 struct drm_property *force_audio_property;
510 int backlight_duty_cycle; /* restore backlight to this value */
511 bool panel_wants_dither;
512 struct drm_display_mode *panel_fixed_mode;
513 struct drm_display_mode *lfp_lvds_vbt_mode;
514 struct drm_display_mode *sdvo_lvds_vbt_mode;
516 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
517 struct psb_intel_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
520 unsigned int int_tv_support:1;
521 unsigned int lvds_dither:1;
522 unsigned int lvds_vbt:1;
523 unsigned int int_crt_support:1;
524 unsigned int lvds_use_ssc:1;
525 int lvds_ssc_freq;
526 bool is_lvds_on;
527 bool is_mipi_on;
528 bool lvds_enabled_in_vbt;
529 u32 mipi_ctrl_display;
531 unsigned int core_freq;
532 uint32_t iLVDS_enable;
535 int rpm_enabled;
538 bool has_gct;
539 struct oaktrail_gct_data gct_data;
542 struct oaktrail_hdmi_dev *hdmi_priv;
545 struct psb_save_area regs;
548 uint32_t msi_addr;
549 uint32_t msi_data;
552 struct work_struct hotplug_work;
555 spinlock_t lid_lock;
556 struct timer_list lid_timer;
557 struct psb_intel_opregion opregion;
558 u32 lid_last_state;
561 uint32_t apm_reg;
562 uint16_t apm_base;
568 struct backlight_device *backlight_device;
569 struct drm_property *backlight_property;
570 bool backlight_enabled;
571 int backlight_level;
572 uint32_t blc_adj1;
573 uint32_t blc_adj2;
575 void *fbdev;
578 spinlock_t lock_2d;
581 int brightness;
582 int brightness_adjusted;
584 bool dsr_enable;
585 u32 dsr_fb_update;
586 bool dpi_panel_on[3];
587 void *dsi_configs[2];
588 u32 bpp;
589 u32 bpp2;
591 u32 pipeconf[3];
592 u32 dspcntr[3];
594 int mdfld_panel_id;
596 bool dplla_96mhz; /* DPLL data from the VBT */
598 struct {
608 } edp;
609 uint8_t panel_type;