summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
AgeCommit message (Collapse)Author
2009-08-21Add HDMI audio registersWu Fengguang
Dump some of the audio registers at server startup time. (II) intel(0): AUD_CONFIG: 0x00000004 (II) intel(0): AUD_HDMIW_STATUS: 0x00000000 (II) intel(0): AUD_CONV_CHCNT: 0x00000000 (II) intel(0): VIDEO_DIP_CTL: 0x20000600 (II) intel(0): AUD_PINW_CNTR: 0x00000040 (II) intel(0): AUD_CNTL_ST: 0x00002000 (II) intel(0): AUD_PIN_CAP: 0x00000094 (II) intel(0): AUD_PINW_CAP: 0x004073bd (II) intel(0): AUD_PINW_UNSOLRESP: 0x80000008 (II) intel(0): AUD_OUT_DIG_CNVT: 0x00000001 (II) intel(0): AUD_OUT_CWCAP: 0x00006211 (II) intel(0): AUD_GRP_CAP: 0x00000004 Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
2009-06-17TV: Set correct voltage level override valuesling.ma@intel.com
We detect TV connect status by setting DAC voltage level override values as 0.7 voltage for DAC_A/B/C. The corresponding 2-bits shold be 0x2, In order correctly to set last bit as 0, at first we must clean it. It fixed freedesktop.org bug #21204 Signed-off-by: Ma Ling <ling.ma@intel.com>
2009-06-10Add new register definitionsZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-03Set activation periods as 64 cdclk sync up with KMSMa Ling
We use force CRT detect trigger bit(1 << 3) to detect VGA in hot plug mode, which triggers a CRT hotplug/unplug detection cycle independent of the interrupt enable bit(1 << 9), so keep bit 9. And although spec says CRT_HOTPLUG_ACTIVATION_PERIOD_64(1 << 8) is only useful for mobile platform, it is also required to detect vga on G4x platform correctly. Tested the patch on G45/G43/Q45 platforms with no regressions It fixed freedesktop.org bug #21120 and part of bug #21210. Signed-off-by: Ma Ling <ling.ma@intel.com>
2009-05-12Add DP link and GMCH M and N registersKeith Packard
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-04-28Remove a handful of pointless commentsKristian Høgsberg
CVS keywords, comments about how the source was once reformatted, and the ad-hoc changelog comment in in i830_driver.c
2009-04-13set broadcast RGB mode for HDMI and TMDS from SDVOX outputMa Ling
Almost all digital TVs accept broadcast RGB values from 16 to 235 for each channel, otherwise for those uncompensated videos, when RGB values are set from 0 to 255, they will shows black and whiter clamping, which seriously degrades picture quality. The patch will enable the broadcast RGB mode for hdtv according to user's setting. It fixed bug #14486
2009-04-07Fix value for MI_WAIT_FOR_PIPEA_SCAN_LINE_WINDOWShuang He
Since the change to scan-line based video sync, (rather than vblank- based), we've only been getting tear-free video on one of the two pipes. This fixes that bug by using the correct constant for waiting on PIPEA.
2009-04-06Use WAIT_FOR_SCAN_LINE instead of WAIT_FOR_VBLANKCarl Worth
Either way, the goal is tear-free video playing. But waiting for a scan-line window not only has the advantage of being cheaper for small windows, but also avoids hanging the GPU in the case of the pipe getting turned off, (by screensaver, for example), while a batch is waiting for a VBLANK that will never occur. This fixes that GPU hang.
2009-03-13Add DCC register dumping.Eric Anholt
2009-03-06Xv: free tearing on textured videoXiang, Haihao
Add an Xv attribute XV_SYNC_TO_VBLANK which has three values -1(auto), 0(off) and 1(on) to control whether textured adapter synchronizes the screen update to the vblank. The default value is -1(auto).
2009-02-26Intel video driver patchShaohua Li
This is the intel video driver patch for a new chip, which is G33-like and has some clocking setting related register changes. This patch adds the pci id and DPLx/FPx register changes. The gtt tool should just work to me, as the chip hasn't any changes against G33 on this side. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2008-11-13enable Intel G45 integrated HDMI audio outputWu Fengguang
Enable audio output for the integrated HDMI of Intel G45 chipset by introducing the SDVO_AUDIO_ENABLE bit. Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
2008-11-06Use long crt hotplug activation time on GM45.Keith Packard
The GM45 b-spec requires the use of the longer hotplug activation period, but does not require looping twice over the detection logic. With this patch, CRT detection appears solid on my GM45. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-11-06TV: save serveral TV_CTL register fields in mode setZhenyu Wang
Driver should keep those fields according with spec.
2008-09-26Render register clock gating disable fix on 4 series chipsetZhenyu Wang
2008-09-11Disable render standbyZhenyu Wang
Render standby is known to cause possible hang issue on some mobile chips, so always disable it.
2008-09-09Add some MCHBAR registers for debugging tile swizzling issues.Eric Anholt
2008-08-20Add more panel debugging info to register dump & vbios readerJesse Barnes
2008-08-11Fix possible spurious interrupts in hotplug detect on 4 series chipZhenyu Wang
2008-07-17Merge branch 'master' into drm-gemCarl Worth
Conflicts: configure.ac src/reg_dumper/Makefile.am
2008-06-19Set the sync active bits like we're supposed to, matching the BIOS.Eric Anholt
2008-06-19Initial HDMI work. Not currently hooked up at startup.Eric Anholt
2008-06-19Add DisplayPort registers.Eric Anholt
2008-06-17Add support for Intel 4 series chipsets.Zhenyu Wang
2008-06-10Use batchbuffers instead of ring emits for general commands.Eric Anholt
The batchbuffers are managed using libdrm and bufmgr_fake, and dispatched from the ring from userland.
2008-06-09Add a little program to dump out the first 64 dwords of the status page.Eric Anholt
2008-06-05Merge branch 'master' into drm-gemEric Anholt
2008-06-04Set SDVO sync polarity to default on 965Hong Liu
Fix fd.o bug 15766
2008-05-28Fixup DSPARB for 855 & 945Jesse Barnes
It turns out 855 has a different DSPARB layout than 915+. And 945+ have more FIFO entries, so we have to allocate things differently. So on 855 split the FIFO evenly again between A & B planes, and do the same on 945, where we have a larger FIFO. Fixes an issue reported by Daniel Stone with the previous default value.
2008-05-26Handle display FIFOs betterJesse Barnes
Add some debug code to catch FIFO underruns, which are normally bugs (unless they occur during mode setting) and remove any plane C FIFO allocations, since we don't use that plane at all. We may eventually need to be a little smarter about this on platforms that use plane C for the popup.
2008-05-26Fixup power saving registersJesse Barnes
Update clock gating disable bits to match docs and allocate a power context memory area so that newer chips can save state and power down the render unit.
2008-05-20Revert "Add FIFO watermark regs to register dumper"Zhenyu Wang
This reverts commit 0c00a638ef57aa9d6a3047176b0bfad733f781f0. Those FIFO watermark regs are 945-ish, and cause problem on G35.
2008-05-17Merge commit 'origin/master' into drm-gemKeith Packard
2008-05-13Add i915 support to intel_idle.Eric Anholt
2008-05-06Add FIFO watermark regs to register dumperJesse Barnes
2008-05-05Fix up ring dumping code for non-i965Keith Packard
2008-03-31Fix composite with mask using new compositing thread codeKeith Packard
Clean up register allocation to never overlap Always write 4 values for each texture vertex.
2008-03-13Initial panel fitting changesJesse Barnes
Basic support for panel fitting.
2008-02-26Fix SDVO I2C access on Mac Mini in EFI mode.Eric Anholt
The GMBUS was being left in SDVO pin access mode, which blocked our bit-banging access to those pins. Thanks to Peter Jones for quick debugging turnaround in getting this fixed.
2008-02-16Decode DSPCLK_GATE, dump PIPE*STAT, MI_MODE, MI_DISPLAY_POWER_DOWN, ↵Keith Packard
MI_ARB_STATE, MI_RDRET_STATE, ECOSKPD
2008-02-15Bug #14440: fix stolen mem size mask on i830MZhenyu Wang
For i830M stolen mem size mask should always be 0x70. Use 0xF0 for later chipsets should be ok, so behavior is identical to kernel agp.
2008-01-30Add detail on different units to intel_idle.Eric Anholt
2008-01-30Frame buffer compression support on new chipsetJesse Barnes
2008-01-09Update PIPELINE_SELECT instruction and surface state format for new chipsetZhenyu Wang
2008-01-09GTT access change for new integrated graphics deviceZhenyu Wang
2007-11-15Move fb compression reg definition into i810_reg.hZhenyu Wang
where we put MMIO control reg in, and shared with intel_reg_dump program.
2007-08-28Add register defines for hw binningKeith Packard
2007-08-03Tiled rendering & fbc fixes:Jesse Barnes
- actually enable tiling in DSP(A|B)CNTR if needed - add logic to EXA routines for tiled case (still needs work) - enable/disable fbc on DPMS events (meant moving functions higher in file) - fix fence register pitch programming (use correct pitch instead of kludged value)
2007-07-31Legacy backlight changes:Jesse Barnes
- add support for 965GM - make sure legacy enabled systems don't reduce the range of backlight values we can present to the user