aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-drm-drv.c
AgeCommit message (Collapse)Author
2009-11-15Add interrupt-driven waitqueue for better GPU synchronisationThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-10-22Add burst commandsThomas White
This adds kernel support for sending burst commands to the hardware. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-19Move glamo_ioctl_gem_wait_rendering() to glamo-cmdq.cThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-19Remove KMS function announcementsThomas White
I'm happy with how this works, now. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-04Tidy up initialisationThomas White
Fix label usage, making a compiler warning go away in the process. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-30Implement glamo_ioctl_gem_mmap(), properly this timeThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-15Merge branch 'drm-kms' into drm-trackingThomas White
Conflicts: drivers/mfd/glamo/glamo-cmdq.c drivers/mfd/glamo/glamo-cmdq.h drivers/mfd/glamo/glamo-drm-drv.c drivers/mfd/glamo/glamo-drm-private.h Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-02Initial suspend/resumeThomas White
Doesn't work yet... Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-01Compatibility glamo-drm <---> glamo-fbThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-30Set gdrm->devThomas White
This was uninitialised before. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-18Revert "Front buffer kludge"Thomas White
That wasn't the right way to go about this. And it didn't compile. This reverts commit d8e4b9ff4dc8bf57e53fa174f977c8fb00ec4e90. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-18More KMS plumbingThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-15Just backing up progress (again)Thomas White
Nearly there... Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-11Front buffer kludgeThomas White
This makes the GEM "info" ioctl produce an object handle which can be used to refer to the front buffer (i.e. screen pixmap) in Xorg or otherwise. This is unfortunately necessary since this memory is allocated in the kernel by the framebuffer driver, and is not available to DRM until we move to KMS. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-05Adding Glamo CMDQ IRQAndreas Pokorny
The code is still not functional, only the first set of commands get executed. Signed-off-by: Andreas Pokorny <andreas.pokorny@gmail.com>
2009-06-02Reorganise memory map (again)Thomas White
This reuinites the "framebuffer" and "work" VRAM areas. With KMS, both roles will be done by one pool of memory. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-05-27Initial KMS stuffThomas White
2009-05-04Add (untested) memory managementThomas White
This implements the GEM 'create' ioctl. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-05-03Create glamo-buffer.cThomas White
This just creates a new file for the memory management stuff. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-05-03Reset command queue on resumeThomas White
Reinitialise the command queue on resume, so the fun can continue... Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-05-02Reorder startup of enginesThomas White
This just moves the engine enabling calls around a bit. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-04-28Tidy up, fix silly mistake, and enable command queueThomas White
Tidy up the code in glamodrm_probe by doing glamodrm->gdrm Pass 'gdrm' to glamo_cmdq_init, not glamo_core (d'oh!) Enable the command queue engine at the start Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-04-28Build fixesThomas White
This fixes up the Makefile so that the build actually works. Signed-off-by: Thomas White <taw@bitwiz.org.uk>