Lines Matching defs:drm_psb_private
376 struct drm_psb_private { struct
377 struct drm_device dev;
379 struct pci_dev *aux_pdev; /* Currently only used by mrst */
380 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
381 const struct psb_ops *ops;
382 const struct psb_offset *regmap;
384 struct child_device_config *child_dev;
385 int child_dev_num;
387 struct psb_gtt gtt;
390 struct psb_gtt_mm *gtt_mm;
391 struct page *scratch_page;
392 u32 __iomem *gtt_map;
393 uint32_t stolen_base;
394 u8 __iomem *vram_addr;
395 unsigned long vram_stolen_size;
396 u16 gmch_ctrl; /* Saved GTT setup */
397 u32 pge_ctl;
399 struct mutex gtt_mutex;
400 struct resource *gtt_mem; /* Our PCI resource */
402 struct mutex mmap_mutex;
404 struct psb_mmu_driver *mmu;
405 struct psb_mmu_pd *pf_pd;
408 uint8_t __iomem *sgx_reg;
409 uint8_t __iomem *vdc_reg;
410 uint8_t __iomem *aux_reg; /* Auxillary vdc pipe regs */
411 uint16_t lpc_gpio_base;
412 uint32_t gatt_free_offset;
415 uint32_t vdc_irq_mask;
416 uint32_t pipestat[PSB_NUM_PIPE];
418 spinlock_t irqmask_lock;
419 bool irq_enabled;
422 bool pm_initialized;
425 struct psb_intel_mode_device mode_dev;
426 bool modeset; /* true if we have done the mode_device setup */
428 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
429 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
430 uint32_t num_pipe;
433 uint32_t ospm_base;
436 u32 fuse_reg_value;
437 u32 video_device_fuse;
440 uint8_t platform_rev_id;
443 struct intel_gmbus *gmbus;
444 uint8_t __iomem *gmbus_reg;
447 int crt_ddc_pin;
450 struct sdvo_device_mapping sdvo_mappings[2];
451 u32 hotplug_supported_mask;
452 struct drm_property *broadcast_rgb_property;
453 struct drm_property *force_audio_property;
456 int backlight_duty_cycle; /* restore backlight to this value */
457 bool panel_wants_dither;
458 struct drm_display_mode *panel_fixed_mode;
459 struct drm_display_mode *lfp_lvds_vbt_mode;
460 struct drm_display_mode *sdvo_lvds_vbt_mode;
462 struct bdb_lvds_backlight *lvds_bl; /* LVDS backlight info from VBT */
463 struct gma_i2c_chan *lvds_i2c_bus; /* FIXME: Remove this? */
466 unsigned int int_tv_support:1;
467 unsigned int lvds_dither:1;
468 unsigned int lvds_vbt:1;
469 unsigned int int_crt_support:1;
470 unsigned int lvds_use_ssc:1;
471 int lvds_ssc_freq;
472 bool is_lvds_on;
473 bool is_mipi_on;
474 bool lvds_enabled_in_vbt;
475 u32 mipi_ctrl_display;
477 unsigned int core_freq;
478 uint32_t iLVDS_enable;
481 bool use_msi;
482 bool has_gct;
483 struct oaktrail_gct_data gct_data;
486 struct oaktrail_hdmi_dev *hdmi_priv;
489 struct psb_save_area regs;
492 struct work_struct hotplug_work;
495 spinlock_t lid_lock;
496 struct timer_list lid_timer;
497 struct psb_intel_opregion opregion;
498 u32 lid_last_state;
501 uint32_t apm_reg;
502 uint16_t apm_base;
508 struct intel_scu_ipc_dev *scu;
509 struct backlight_device *backlight_device;
510 struct drm_property *backlight_property;
511 bool backlight_enabled;
512 int backlight_level;
513 uint32_t blc_adj1;
514 uint32_t blc_adj2;
516 bool dsr_enable;
517 u32 dsr_fb_update;
518 bool dpi_panel_on[3];
542 static inline struct drm_psb_private *to_drm_psb_private(struct drm_device *dev) in to_drm_psb_private() argument