summaryrefslogtreecommitdiff
path: root/src/i830_debug.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-23Remove VGA regs from debug output.Eric Anholt1-0/+6
(cherry picked from commit 52a414d1158aa7512fb79560dc220e2a78456a2d)
2008-07-21Fix uninitialized-use warning in i830_debug.c ring dumping.Eric Anholt1-2/+0
(cherry picked from commit 3cbfc6c76bcd2bc9194a944092f6ce0881ff9da2)
2008-07-21move FBC register dump out of display registersZhenyu Wang1-9/+9
This makes it easier to read. (cherry picked from commit 0c67219d0e6cfc858af2eb375c2f9473d0f6db60)
2008-06-26Add DisplayPort registers.Eric Anholt1-0/+25
(cherry picked from commit da58dc3b02999f3244d0eaf77180b828d85bd609)
2008-05-20Revert "Add FIFO watermark regs to register dumper"Zhenyu Wang1-4/+0
This reverts commit 0c00a638ef57aa9d6a3047176b0bfad733f781f0. Those FIFO watermark regs are 945-ish, and cause problem on G35.
2008-05-06Add FIFO watermark regs to register dumperJesse Barnes1-0/+4
2008-04-21Dump batch buffers found from main ringKeith Packard1-96/+184
2008-04-20Add a bunch of 965 ring stuff to the debug dumpKeith Packard1-3/+456
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt1-73/+75
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-11Crack down on warnings.Kristian Høgsberg1-11/+17
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 Wang1-1/+1
2008-02-21Remove side effects from VGA debug codeJesse Barnes1-0/+1
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 Packard1-1/+133
MI_ARB_STATE, MI_RDRET_STATE, ECOSKPD
2008-02-07Add CACHE_MODE_0 register to dump outputJesse Barnes1-0/+1
2008-02-05Fix build warnings on 64 bitJesse Barnes1-19/+21
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 Wang1-2/+2
2008-02-05Fix PLL reference clk debug dumpHong Liu1-12/+26
2008-02-04Bug 10773: fix i8xx pll p2 value in i830_crtc_clock_get()Hong Liu1-1/+5
Also fix debug dump, slightly modified to use macro instead.
2007-11-15Move fb compression reg definition into i810_reg.hZhenyu Wang1-1/+0
where we put MMIO control reg in, and shared with intel_reg_dump program.
2007-11-14Add FBC registers to register dump outputJesse Barnes1-0/+10
Just for completeness.
2007-11-09Remove unused 'palette_enable' variableJesse Barnes1-1/+1
2007-10-22intel_reg_dumper - dump VGA AR registers tooJesse Barnes1-0/+29
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 Anholt1-0/+32
2007-06-28Decode PLL registers in LVDS mode a bit better in debug code.Keith Packard1-32/+84
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 Zhenyu1-1/+1
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 Anholt1-1/+2
2007-05-23Dump pending ring on crash.Keith Packard1-0/+25
When the hardware locks up, dump the pending commands in the ring for analysis.
2007-05-02Add DVO[ABC] register debugging.Eric Anholt1-3/+30
2007-03-20Attempt to fix single/dual-channel issues on i9xx LVDS panels.Eric Anholt1-1/+14
- 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 Anholt1-1/+12
2007-03-13Refine the i855 LVDS clock code. In particular, p2 is always 14.Eric Anholt1-7/+6
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 Anholt1-0/+13
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 Anholt1-16/+69
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 Anholt1-2/+6
2007-02-01Improve register debugging output.Eric Anholt1-19/+30
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 Packard1-0/+1
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 Anholt1-7/+54
2006-12-12Move PrintErrorState and CheckInheritedErrors code to i830_debug.c.Eric Anholt1-0/+161
2006-12-12More debugging output for SDVO.Eric Anholt1-5/+42
2006-12-06Clean up SDVO multiplier debug outputKeith Packard1-1/+1
2006-12-06Merge branch 'modesetting' into nonrandr-setupKeith Packard1-43/+221
Also, fix buffer overflow in i830_debug.c
2006-12-06Merge branch 'generic-mode-set' into modesettingEric Anholt1-43/+221
2006-12-06Add missing newlines to new debug output.Eric Anholt1-2/+2
2006-12-05Capture VGA registers sooner so checks are more informativeKeith Packard1-2/+2
2006-12-05Fix ordering of PIPE[AB]SRC debug output to be (x, y).Eric Anholt1-2/+8
2006-12-05Add a bunch of per-register debug code to i830DumpRegs().Eric Anholt1-43/+215
2006-11-27Reduce the severity of many informational log messages.Eric Anholt1-7/+9
2006-11-19Preliminary 945 TV output. Color key is broken. Fixed mode.Keith Packard1-0/+35
TV output is generating video with this patch, but the color burst signal is incorrect somehow.
2006-11-02Remove duplicated register defs that were just added.Eric Anholt1-3/+2
2006-11-02Dump more registers for debug purposesKeith Packard1-1/+133