Lines Matching defs:drm_psb_private
377 struct drm_psb_private { struct
378 struct drm_device dev;
380 struct pci_dev *aux_pdev; /* Currently only used by mrst */
381 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
382 const struct psb_ops *ops;
383 const struct psb_offset *regmap;
385 struct child_device_config *child_dev;
386 int child_dev_num;
388 struct psb_gtt gtt;
391 struct psb_gtt_mm *gtt_mm;
392 struct page *scratch_page;
393 u32 __iomem *gtt_map;
394 uint32_t stolen_base;
395 u8 __iomem *vram_addr;
396 unsigned long vram_stolen_size;
397 u16 gmch_ctrl; /* Saved GTT setup */
398 u32 pge_ctl;
400 struct mutex gtt_mutex;
401 struct resource *gtt_mem; /* Our PCI resource */
403 struct mutex mmap_mutex;
405 struct psb_mmu_driver *mmu;
406 struct psb_mmu_pd *pf_pd;
409 uint8_t __iomem *sgx_reg;
410 uint8_t __iomem *vdc_reg;
411 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
412 uint16_t lpc_gpio_base;
413 uint32_t gatt_free_offset;
416 uint32_t vdc_irq_mask;
417 uint32_t pipestat[PSB_NUM_PIPE];
419 spinlock_t irqmask_lock;
420 bool irq_enabled;
423 bool pm_initialized;
426 struct psb_intel_mode_device mode_dev;
427 bool modeset; /* true if we have done the mode_device setup */
429 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
430 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
431 uint32_t num_pipe;
434 uint32_t ospm_base;
437 u32 fuse_reg_value;
438 u32 video_device_fuse;
441 uint8_t platform_rev_id;
444 struct intel_gmbus *gmbus;
445 uint8_t __iomem *gmbus_reg;
448 int crt_ddc_pin;
451 struct sdvo_device_mapping sdvo_mappings[2];
452 u32 hotplug_supported_mask;
453 struct drm_property *broadcast_rgb_property;
454 struct drm_property *force_audio_property;
457 int backlight_duty_cycle; /* restore backlight to this value */
458 bool panel_wants_dither;
459 struct drm_display_mode *panel_fixed_mode;
460 struct drm_display_mode *lfp_lvds_vbt_mode;
461 struct drm_display_mode *sdvo_lvds_vbt_mode;
463 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
464 struct gma_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
467 unsigned int int_tv_support:1;
468 unsigned int lvds_dither:1;
469 unsigned int lvds_vbt:1;
470 unsigned int int_crt_support:1;
471 unsigned int lvds_use_ssc:1;
472 int lvds_ssc_freq;
473 bool is_lvds_on;
474 bool is_mipi_on;
475 bool lvds_enabled_in_vbt;
476 u32 mipi_ctrl_display;
478 unsigned int core_freq;
479 uint32_t iLVDS_enable;
482 bool use_msi;
483 bool has_gct;
484 struct oaktrail_gct_data gct_data;
487 struct oaktrail_hdmi_dev *hdmi_priv;
490 struct psb_save_area regs;
493 struct work_struct hotplug_work;
495 struct psb_intel_opregion opregion;
498 uint32_t apm_reg;
499 uint16_t apm_base;
505 struct intel_scu_ipc_dev *scu;
506 struct backlight_device *backlight_device;
507 struct drm_property *backlight_property;
508 bool backlight_enabled;
509 int backlight_level;
510 uint32_t blc_adj1;
511 uint32_t blc_adj2;
513 bool dsr_enable;
514 u32 dsr_fb_update;
515 bool dpi_panel_on[3];
539 static inline struct drm_psb_private *to_drm_psb_private(struct drm_device *dev) in to_drm_psb_private() argument