aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2009-08-22Remove 'vram_base'Thomas White
This isn't needed any more. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-22Release mapping resources when deleting a GEM objectThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-22Zero VRAM before passing to userspaceThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-20Initial buffer wait/IRQ stuffThomas White
IRQ stuff brought across from earlier work by Andreas. 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-19Formatting fussinessThomas White
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-18Remove CmdQ wrap-around printkThomas White
This works - no need for the message any more. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-16Unlock mutex on unsuccessful mmapThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-16FormattingThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-16Remove unused snippetThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-11Merge branch 'drm-tracking' of ↵Thomas White
git+ssh://git-weiss@git.bitwiz.org.uk/srv/git-public/kernel into drm-tracking
2009-08-11Update licence boilerplateThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-06Tidy up, and remove debugThomas White
Tidy up a few lines, and remove debug lines which would slow us down. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-06Put the mutex functions the right way roundThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-04ioremap() the framebuffer properlyThomas White
This fixes the glamo-kms-fb initialisation to ioremap() the proper address for the framebuffer, rather than just assuming it's at the start of the VRAM. 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-08-04Keep glamo-kms-fb off the hardware registersThomas White
This removes the last remaining instance of glamo-kms-fb touching Glamo's registers directly. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-04Copyright and debugThomas White
Update the copyright notice to include proper BSD credit for the memory mapping in glamo-buffer.c. Also removes some superfluous debug messages. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-04Take FB allocation back down to the minimumThomas White
This doesn't work with the current 'standard' DDX, so there's no point trying to make it work. 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-29Implement glamo_crtc_mode_set_base()Thomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-29Set minimum and maximum dimensions in mode configThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-15Tidy upThomas White
This just alters some formatting and removes old code. 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-11De-bodge pixel clocksThomas White
.. or re-bodge them, depending on your perspective. This makes mode->clock contain a value in Hz, in line with the KMS convention. This is at the expense of more calculations when generating the mode from the mach_info and when setting the mode. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-09DebugThomas White
Just a little bit more debug information Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-09Expose more memory via glamo-kms-fbThomas White
This increases the amount of memory exposed via the framebuffer. This should eventually allow an fbdev-based DDX or a KMS DDX to run on the same kernel, albeit suboptimally. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-09Fix resume, part 2Thomas White
This removes a bogus check of var->pixclock. With KMS, this value is not relevant. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-06Fix resume, part 1Thomas White
This seems to fix the kernel-level suspend/resume. There remains a problem which causes Xorg to crash on resume. 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-02More whitespaceThomas White
Fix a whitespace error introduced by the earlier debug stuff. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-02WhitespaceThomas White
Fix trailing whitespace Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-02Alter jbt6k74 state on DPMSThomas White
This uses the "stopgap" method implemented earlier. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-02Do not switch the screen off when changing modeThomas White
...because the clock(s) must be running while we talk to the chip. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-01Remove debug watchpointsThomas White
Finished with these now. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-01Fix scanout timingsThomas White
This fixes the scanout timing conversion so that it works. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-01Nasty jbt stuffThomas White
This adds a stopgap measure to permit manipulation of the LCD controller chip in the absence of an fb notifier chain. It also adds some messing around with the DPMS stuff. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-07-01DebugThomas White
This adds some register debugging watchpoints 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-30Enable the LCD engineThomas White
Well, duh. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-30Whitespace and debuggingThomas 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-30Program the LCD registersThomas White
This also alters some debug lines. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-28KMS bits and piecesThomas White
This adds some missing bits and pieces to make most of the KMS initialisation flow work.` Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-27Call the helper init functionThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-24Muppetry and comments, and other small thingsThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-06-24This is not a PCI deviceThomas White
pdev -> platform_dev 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>