summaryrefslogtreecommitdiff
path: root/src/i830_debug.c
AgeCommit message (Collapse)Author
2009-03-06intel: Nuke shared-entity support (zaphod mode).Eric Anholt
It's been broken for years now, and KMS offers a much better chance of getting this working sensibly without making a mess of the 2D driver.
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-12-12Dump out fence registers by default, add fence end registers as wellKeith Packard
In debugging the frame buffer resize code, I needed to see what the server was doing to the fence registers, so I added this debug code. Seems useful enough to include it. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-12-12Don't warn on ring enabled in GEMZhenyu Wang
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-05Add UXA - the unified memory acceleration architecture.Keith Packard
This eliminates the cost of EXA migration management while providing full pixmap allocation control to the driver. The goal is to make something useful for UMA drivers.
2008-08-05Merge branch 'master' into drm-gemJesse Barnes
Conflicts: src/i830_driver.c
2008-07-18Fix uninitialized-use warning in i830_debug.c ring dumping.Eric Anholt
2008-07-17Merge branch 'master' into drm-gemCarl Worth
Conflicts: configure.ac src/reg_dumper/Makefile.am
2008-07-16move FBC register dump out of display registersZhenyu Wang
This makes it easier to read.
2008-06-19Add DisplayPort registers.Eric Anholt
2008-06-19Remove VGA regs from debug output.Eric Anholt
2008-06-05Merge branch 'master' into drm-gemEric Anholt
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-06Add FIFO watermark regs to register dumperJesse Barnes
2008-05-05Fix up ring dumping code for non-i965Keith Packard
2008-04-21Dump batch buffers found from main ringKeith Packard
2008-04-20Add a bunch of 965 ring stuff to the debug dumpKeith Packard
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-11Crack down on warnings.Kristian Høgsberg
Fix printf formatting warnings, wrap a couple of long lines, nuke unused variables, add missing #include <unistd.h>.
2008-02-29Bug 14591: comment out MI_DISPLAY_POWER_DOWN as for 965GM onlyZhenyu Wang
2008-02-21Remove side effects from VGA debug codeJesse Barnes
The VGA register dumping code was leaving ARX in data mode rather than index mode, which could cause problems for later software accessing AR* registers. Fix it to make sure it's in index mode when we're done. Fixes #14434.
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-07Add CACHE_MODE_0 register to dump outputJesse Barnes
2008-02-05Fix build warnings on 64 bitJesse Barnes
Use PRIx32 for printing CARD32 types, and PRIx64 for portably printing uint64_t types. Requires the addition of a new include, inttypes.h, to work. Hope C99 is ok with everybody...
2008-02-05Fix last commit on i8xx debug p2 valueZhenyu Wang
2008-02-05Fix PLL reference clk debug dumpHong Liu
2008-02-04Bug 10773: fix i8xx pll p2 value in i830_crtc_clock_get()Hong Liu
Also fix debug dump, slightly modified to use macro instead.
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-11-14Add FBC registers to register dump outputJesse Barnes
Just for completeness.
2007-11-09Remove unused 'palette_enable' variableJesse Barnes
2007-10-22intel_reg_dumper - dump VGA AR registers tooJesse Barnes
Add a VGA AR dumping function so we can debug text mode problems too.
2007-08-10Add #if 0-ed fence debugging code. It's noisy, and of little use to most.Eric Anholt
2007-06-28Decode PLL registers in LVDS mode a bit better in debug code.Keith Packard
LVDS mode changes how the PLL works in fairly dramatic ways; the debug code wasn't properly accounting for those differences resulting in fairly bogus debug output.
2007-06-19Fix left G33 issuesWang Zhenyu
Be sure to check G33 chip type in: - sdvo output - Y-major tile - crt detect - and xaa composite Sorry for that I should have fixed them very earlier...
2007-06-12On hang, dump up to the head pointer, not just up to the tail.Eric Anholt
2007-05-23Dump pending ring on crash.Keith Packard
When the hardware locks up, dump the pending commands in the ring for analysis.
2007-05-02Add DVO[ABC] register debugging.Eric Anholt
2007-03-20Attempt to fix single/dual-channel issues on i9xx LVDS panels.Eric Anholt
- Use the existing single/dual-channel state when available, as changing it doesn't appear to work out. - Set the power state of the CLKB and B0-B3 pairs according to whether choose to go dual-channel or not. - Restore the LVDS register at the appropriate point (before DPLLs are re-programmed.
2007-03-19Add debug output for ADPA.Eric Anholt
2007-03-13Refine the i855 LVDS clock code. In particular, p2 is always 14.Eric Anholt
This gets correct clocks detected on most harware. The SSC is always assumed to be 66Mhz, which may not be true, but we'll fix that when we find example hardware.
2007-02-28Add a non-installed command line tool using libpciaccess to dump registers.Eric Anholt
This reuses the i830_debug.c code, so we can run that from the console or from the BIOS-based X server to debug some remaining issues.
2007-02-28Many fixes to mode_get, mode_set, clock limits, and register dumps on i855.Eric Anholt
This should fix a number of issues with i855s, particularly with integrated LVDS panels.
2007-02-15Print the correct meaning of bit 30 of pipeconf for 965 in debug output.Eric Anholt
2007-02-01Improve register debugging output.Eric Anholt
This includes not reporting some fields on hardware where those bits are reserved, correcting one of the hardware error bit numbers, and reducing the severity of the debugging output warnings.
2007-01-02Make driver build and run on Xorg 7.1. Delay DSP*BASE setting until last.Keith Packard
Autodetect libdrm version, disable new memory manager on older libraries. Move new M_T_ defines from i830.h to i830_xf86Crtc.h. Add many system headers to define functions. Use i830PipeSetBase at end of mode setting code to set DSP*BASE and flush changes. Don't duplicate PipeSetBase call from screen init function. Make initial RandR configuration code usable on older versions of extension so the server doesn't start in a panning mode. Use xfree instead of free in i830_tv.c.
2006-12-12Extend the error state reporting to cover ESR and decode PGTBL_ERR for 945.Eric Anholt
2006-12-12Move PrintErrorState and CheckInheritedErrors code to i830_debug.c.Eric Anholt