Lines Matching defs:drm_psb_private

391 struct drm_psb_private {  struct
392 struct drm_device *dev;
393 struct pci_dev *aux_pdev; /* Currently only used by mrst */
394 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
395 const struct psb_ops *ops;
396 const struct psb_offset *regmap;
398 struct child_device_config *child_dev;
399 int child_dev_num;
401 struct psb_gtt gtt;
404 struct psb_gtt_mm *gtt_mm;
405 struct page *scratch_page;
406 u32 __iomem *gtt_map;
407 uint32_t stolen_base;
408 u8 __iomem *vram_addr;
409 unsigned long vram_stolen_size;
410 int gtt_initialized;
411 u16 gmch_ctrl; /* Saved GTT setup */
412 u32 pge_ctl;
414 struct mutex gtt_mutex;
415 struct resource *gtt_mem; /* Our PCI resource */
417 struct mutex mmap_mutex;
419 struct psb_mmu_driver *mmu;
420 struct psb_mmu_pd *pf_pd;
423 uint8_t __iomem *sgx_reg;
424 uint8_t __iomem *vdc_reg;
425 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
426 uint16_t lpc_gpio_base;
427 uint32_t gatt_free_offset;
430 uint32_t vdc_irq_mask;
431 uint32_t pipestat[PSB_NUM_PIPE];
433 spinlock_t irqmask_lock;
436 bool suspended;
437 bool display_power;
438 int display_count;
441 struct psb_intel_mode_device mode_dev;
442 bool modeset; /* true if we have done the mode_device setup */
444 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
445 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
446 uint32_t num_pipe;
449 uint32_t ospm_base;
452 u32 fuse_reg_value;
453 u32 video_device_fuse;
456 uint8_t platform_rev_id;
459 struct intel_gmbus *gmbus;
460 uint8_t __iomem *gmbus_reg;
463 int crt_ddc_pin;
466 struct sdvo_device_mapping sdvo_mappings[2];
467 u32 hotplug_supported_mask;
468 struct drm_property *broadcast_rgb_property;
469 struct drm_property *force_audio_property;
472 int backlight_duty_cycle; /* restore backlight to this value */
473 bool panel_wants_dither;
474 struct drm_display_mode *panel_fixed_mode;
475 struct drm_display_mode *lfp_lvds_vbt_mode;
476 struct drm_display_mode *sdvo_lvds_vbt_mode;
478 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
479 struct psb_intel_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
482 unsigned int int_tv_support:1;
483 unsigned int lvds_dither:1;
484 unsigned int lvds_vbt:1;
485 unsigned int int_crt_support:1;
486 unsigned int lvds_use_ssc:1;
487 int lvds_ssc_freq;
488 bool is_lvds_on;
489 bool is_mipi_on;
490 bool lvds_enabled_in_vbt;
491 u32 mipi_ctrl_display;
493 unsigned int core_freq;
494 uint32_t iLVDS_enable;
497 int rpm_enabled;
500 bool has_gct;
501 struct oaktrail_gct_data gct_data;
504 struct oaktrail_hdmi_dev *hdmi_priv;
507 struct psb_save_area regs;
510 uint32_t msi_addr;
511 uint32_t msi_data;
514 struct work_struct hotplug_work;
517 spinlock_t lid_lock;
518 struct timer_list lid_timer;
519 struct psb_intel_opregion opregion;
520 u32 lid_last_state;
523 uint32_t apm_reg;
524 uint16_t apm_base;
530 struct intel_scu_ipc_dev *scu;
531 struct backlight_device *backlight_device;
532 struct drm_property *backlight_property;
533 bool backlight_enabled;
534 int backlight_level;
535 uint32_t blc_adj1;
536 uint32_t blc_adj2;
538 struct drm_fb_helper *fb_helper;
541 int brightness;
542 int brightness_adjusted;
544 bool dsr_enable;
545 u32 dsr_fb_update;
546 bool dpi_panel_on[3];
547 void *dsi_configs[2];
548 u32 bpp;
549 u32 bpp2;
551 u32 pipeconf[3];
552 u32 dspcntr[3];
554 bool dplla_96mhz; /* DPLL data from the VBT */
556 struct {
566 } edp;
567 uint8_t panel_type;