Lines Matching defs:drm_psb_private

431 struct drm_psb_private {  struct
432 struct drm_device *dev;
433 struct pci_dev *aux_pdev; /* Currently only used by mrst */
434 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
435 const struct psb_ops *ops;
436 const struct psb_offset *regmap;
438 struct child_device_config *child_dev;
439 int child_dev_num;
441 struct psb_gtt gtt;
444 struct psb_gtt_mm *gtt_mm;
445 struct page *scratch_page;
446 u32 __iomem *gtt_map;
447 uint32_t stolen_base;
448 u8 __iomem *vram_addr;
449 unsigned long vram_stolen_size;
450 int gtt_initialized;
451 u16 gmch_ctrl; /* Saved GTT setup */
452 u32 pge_ctl;
454 struct mutex gtt_mutex;
455 struct resource *gtt_mem; /* Our PCI resource */
457 struct mutex mmap_mutex;
459 struct psb_mmu_driver *mmu;
460 struct psb_mmu_pd *pf_pd;
463 uint8_t __iomem *sgx_reg;
464 uint8_t __iomem *vdc_reg;
465 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
466 uint16_t lpc_gpio_base;
467 uint32_t gatt_free_offset;
470 uint32_t vdc_irq_mask;
471 uint32_t pipestat[PSB_NUM_PIPE];
473 spinlock_t irqmask_lock;
476 bool suspended;
477 bool display_power;
478 int display_count;
481 struct psb_intel_mode_device mode_dev;
482 bool modeset; /* true if we have done the mode_device setup */
484 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
485 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
486 uint32_t num_pipe;
489 uint32_t ospm_base;
492 u32 fuse_reg_value;
493 u32 video_device_fuse;
496 uint8_t platform_rev_id;
499 struct intel_gmbus *gmbus;
500 uint8_t __iomem *gmbus_reg;
503 int crt_ddc_pin;
506 struct sdvo_device_mapping sdvo_mappings[2];
507 u32 hotplug_supported_mask;
508 struct drm_property *broadcast_rgb_property;
509 struct drm_property *force_audio_property;
512 int backlight_duty_cycle; /* restore backlight to this value */
513 bool panel_wants_dither;
514 struct drm_display_mode *panel_fixed_mode;
515 struct drm_display_mode *lfp_lvds_vbt_mode;
516 struct drm_display_mode *sdvo_lvds_vbt_mode;
518 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
519 struct psb_intel_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
522 unsigned int int_tv_support:1;
523 unsigned int lvds_dither:1;
524 unsigned int lvds_vbt:1;
525 unsigned int int_crt_support:1;
526 unsigned int lvds_use_ssc:1;
527 int lvds_ssc_freq;
528 bool is_lvds_on;
529 bool is_mipi_on;
530 bool lvds_enabled_in_vbt;
531 u32 mipi_ctrl_display;
533 unsigned int core_freq;
534 uint32_t iLVDS_enable;
537 int rpm_enabled;
540 bool has_gct;
541 struct oaktrail_gct_data gct_data;
544 struct oaktrail_hdmi_dev *hdmi_priv;
547 struct psb_save_area regs;
550 uint32_t msi_addr;
551 uint32_t msi_data;
554 struct work_struct hotplug_work;
557 spinlock_t lid_lock;
558 struct timer_list lid_timer;
559 struct psb_intel_opregion opregion;
560 u32 lid_last_state;
563 uint32_t apm_reg;
564 uint16_t apm_base;
570 struct backlight_device *backlight_device;
571 struct drm_property *backlight_property;
572 bool backlight_enabled;
573 int backlight_level;
574 uint32_t blc_adj1;
575 uint32_t blc_adj2;
577 struct drm_fb_helper *fb_helper;
580 spinlock_t lock_2d;
583 int brightness;
584 int brightness_adjusted;
586 bool dsr_enable;
587 u32 dsr_fb_update;
588 bool dpi_panel_on[3];
589 void *dsi_configs[2];
590 u32 bpp;
591 u32 bpp2;
593 u32 pipeconf[3];
594 u32 dspcntr[3];
596 int mdfld_panel_id;
598 bool dplla_96mhz; /* DPLL data from the VBT */
600 struct {
610 } edp;
611 uint8_t panel_type;