summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-23Make radeon_ms compile.Kristian Høgsberg
Remove lock functions and use pci_map_rom() instead of pci_map_rom_copy().
2008-04-23Don't disable IRQs, just tasklets, when taking the drm lock spinlock.Thomas Hellstrom
2008-04-23Fixed unlock check on EAGAINJakob Bornecrantz
2008-04-23i915: fix for compatibility modeXiang, Haihao
2008-04-22i915: allocate devname at init timeJesse Barnes
Since it'll be freed at unload time, we should alloc devname rather than pointing to the DRIVER_NAME string.
2008-04-22add sysfs entry for DVO outputHong Liu
forget to add it in the previous DVO porting patch. Signed-off-by: Hong Liu <hong.liu@intel.com>
2008-04-22clear interrupt status before install irqHong Liu
On my 865G machine, it seems the CPU will receive interrupt before irq_postinstall is called. This will cause kernel oops because vblank is not inited at that time. Clear interrupt status before install seems fixing this problem. Signed-off-by: Hong Liu <hong.liu@intel.com>
2008-04-22fix removing output_attrsHong Liu
* VIA, S3 GRAPHICS, AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ #ifndef _via_drm_mm_h_ #define _via_drm_mm_h_ typedef struct { unsigned int context; unsigned int size; unsigned long offset; unsigned long free; } drm_via_mm_t; typedef struct { unsigned int size; unsigned long handle; void *virtual; } drm_via_dma_t; #endif
927e139a684dd'>On I965, use correct 3DSTATE_DRAWING_RECTANGLE command in vblankKeith Packard The batchbuffer submission paths were fixed to use the 965-specific command, but the vblank tasklet was not. When the older version is sent, the 965 will lock up. 2008-04-17Porting DVO stuffHong Liu Ported from Xorg intel 2d driver. Changed interfaces definitions, which needed to be changed later if other device wants to use these DVO stuff. 2008-04-14Fix buffer object map wait error.Thomas Hellstrom Add some branch prediction hints. 2008-04-14Fix buffer object creation validation.Thomas Hellstrom BO lock fixes. 2008-04-14Unlock the BO mutex while waiting for idle, unmapped, unfenced.Thomas Hellstrom Move unfenced checking into idle checking. Never time out while waiting for software events like unmapped or unfenced. 2008-04-14Fix up buffer manager locking.Thomas Hellstrom 2008-04-11Save and restore dsparb and d_state regsKeith Packard 2008-04-12Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm ↵Jerome Glisse into modesetting-101 2008-04-12radeon_ms: rework command submission ioctl & cleanupJerome Glisse 2008-04-10Fixup Intel TV property codeJesse Barnes Use the new TV property creation routine and fixup the set_property code to actually do a mode set call when properties change. 2008-04-10Split TV property creation into its own routineJesse Barnes It needs to take arguments from the caller about supported TV formats, so declare it in drm_crtc.h and export it. 2008-04-10Remove structure fields & codeJesse Barnes Cleanup some random cruft left over from the initial port. 2008-04-10Fix masking in get_load_detect_pipeJesse Barnes Start i at -1 so that the masking works right. 2008-04-10Keep display info in struct display_infoJesse Barnes Some fields had snuck into the drm_output structure. Put them back and fill in more stuff from the EDID block. 2008-04-09Add TV out hotplug detectionJesse Barnes Doesn't yet work on my i915 test machine, but most of the necessary bits should be there. 2008-04-09Fix TV load detectionJesse Barnes Now that we can allocate load detect pipes, we can perform TV out load detection correctly. Call the new routines and enable proper TV detection. 2008-04-09Port pipe reservation code for load detectionJesse Barnes TV out needs to do load detection, which means we have to find an available pipe to use for the detection. Port over the pipe reservation code for this purpose. 2008-04-09Add newline to debug output for output addJesse Barnes 2008-04-09Older kernels don't have kobject_uevent_env(), so puntAlan Hourihane the event for these older kernels. 2008-04-09Fixup sysfs output registrationJesse Barnes Put off registering new outputs with sysfs until they're properly configured, or we may get duplicates if the type hasn't been set yet (as is the case with SDVO initialization). This also means moving de-registration into the cleanup function instead of output destroy, since the latter occurs during the normal course of setup when an output isn't found (and therefore not registered with sysfs yet. 2008-04-08Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes into modesetting-101 2008-04-08Add devname in modeset caseJesse Barnes If the driver is 'modeset' enabled, it'll register it's interrupt handler at load time. Set the devname in this case so that /proc/interrupts makes sense. 2008-04-08Improved DRM sysfs supportJesse Barnes This patch ties outputs, output properties and hotplug events into the DRM core. Each output has a corresponding directory under the primary DRM device (usually card0) containing dpms, edid, modes, and connection status files. New hotplug change events occur when outputs are added or hotplug events are detected. 2008-04-08radeon_ms: command buffer validation use array of function pointerJerome Glisse 2008-04-07Missing KERNEL_VERSION macroPatrice Mandin 2008-04-07radeon_ms: another fb fix reset mode if fb changedJerome Glisse 2008-04-07Add DragonFly BSD support for device creationHasso Tepper DragonFly behaves just like FreeBSD in this regard. 2008-04-07nouveau: enable accelerated move to sysmemBen Skeggs 2008-04-07nouveau: enable m2mf for tt<->vram moves, fix fence_pollBen Skeggs 2008-04-06radeon_ms: fix framebuffer codeJerome Glisse 2008-04-06radeon_ms: check for NULL fbJerome Glisse 2008-04-06Place highmem pages last in the ttm page array.Thomas Hellstrom 2008-04-06Use clflush() when available for cache flushing.Thomas Hellstrom 2008-04-06[I915] Fix VRAM eviction.Thomas Hellstrom 2008-04-06Fix emergency allocation accounting.Thomas Hellstrom 2008-04-05nv50: primitive i2c interrupt handlerMaarten Maathuis 2008-04-03radeon_ms: add crtc set base callback & fix paletteJerome Glisse 2008-04-03radeon_ms: fixes fb handlingJerome Glisse 2008-04-03nv50: primitive display interrupt handler.Maarten Maathuis