Lines Matching defs:drm_psb_private

383 struct drm_psb_private {  struct
384 struct drm_device dev;
386 struct pci_dev *aux_pdev; /* Currently only used by mrst */
387 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
388 const struct psb_ops *ops;
389 const struct psb_offset *regmap;
391 struct child_device_config *child_dev;
392 int child_dev_num;
394 struct psb_gtt gtt;
397 struct psb_gtt_mm *gtt_mm;
398 struct page *scratch_page;
399 u32 __iomem *gtt_map;
400 uint32_t stolen_base;
401 u8 __iomem *vram_addr;
402 unsigned long vram_stolen_size;
403 u16 gmch_ctrl; /* Saved GTT setup */
404 u32 pge_ctl;
406 struct mutex gtt_mutex;
407 struct resource *gtt_mem; /* Our PCI resource */
409 struct mutex mmap_mutex;
411 struct psb_mmu_driver *mmu;
412 struct psb_mmu_pd *pf_pd;
415 uint8_t __iomem *sgx_reg;
416 uint8_t __iomem *vdc_reg;
417 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
418 uint16_t lpc_gpio_base;
419 uint32_t gatt_free_offset;
422 uint32_t vdc_irq_mask;
423 uint32_t pipestat[PSB_NUM_PIPE];
425 spinlock_t irqmask_lock;
426 bool irq_enabled;
429 bool pm_initialized;
432 struct psb_intel_mode_device mode_dev;
433 bool modeset; /* true if we have done the mode_device setup */
435 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
436 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
437 uint32_t num_pipe;
440 uint32_t ospm_base;
443 u32 fuse_reg_value;
444 u32 video_device_fuse;
447 uint8_t platform_rev_id;
450 struct intel_gmbus *gmbus;
451 uint8_t __iomem *gmbus_reg;
454 int crt_ddc_pin;
457 struct sdvo_device_mapping sdvo_mappings[2];
458 u32 hotplug_supported_mask;
459 struct drm_property *broadcast_rgb_property;
460 struct drm_property *force_audio_property;
463 int backlight_duty_cycle; /* restore backlight to this value */
464 bool panel_wants_dither;
465 struct drm_display_mode *panel_fixed_mode;
466 struct drm_display_mode *lfp_lvds_vbt_mode;
467 struct drm_display_mode *sdvo_lvds_vbt_mode;
469 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
470 struct gma_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
473 unsigned int int_tv_support:1;
474 unsigned int lvds_dither:1;
475 unsigned int lvds_vbt:1;
476 unsigned int int_crt_support:1;
477 unsigned int lvds_use_ssc:1;
478 int lvds_ssc_freq;
479 bool is_lvds_on;
480 bool is_mipi_on;
481 bool lvds_enabled_in_vbt;
482 u32 mipi_ctrl_display;
484 unsigned int core_freq;
485 uint32_t iLVDS_enable;
488 bool use_msi;
489 bool has_gct;
490 struct oaktrail_gct_data gct_data;
493 struct oaktrail_hdmi_dev *hdmi_priv;
496 struct psb_save_area regs;
499 struct work_struct hotplug_work;
501 struct psb_intel_opregion opregion;
504 uint32_t apm_reg;
505 uint16_t apm_base;
511 struct intel_scu_ipc_dev *scu;
512 struct backlight_device *backlight_device;
513 struct drm_property *backlight_property;
514 bool backlight_enabled;
515 int backlight_level;
516 uint32_t blc_adj1;
517 uint32_t blc_adj2;
519 bool dsr_enable;
520 u32 dsr_fb_update;
521 bool dpi_panel_on[3];
545 static inline struct drm_psb_private *to_drm_psb_private(struct drm_device *dev) in to_drm_psb_private() argument