History log of /drivers/gpu/drm/gma500/psb_drv.c
Revision Date Author Comments
5f68127d9cf4b358060ce5f9906246262a56f179 25-Apr-2012 Alan Cox <alan@linux.intel.com> gma500: don't register the ACPI video bus

commit 155689defc782b486a7e6776a57ecc4ebb37ed52 upstream.

We are not yet ready for this and it makes a mess on some devices.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
aa53f5331c4ea156b6479c6e4d9a5d35528ac1eb 08-Mar-2012 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> gma500: fix two -Wmissing-field-initializers warnings

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
15308e23fb1bbb485be648b379717cecdc8a0da1 08-Mar-2012 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> gma500: mark psb_driver_device_is_agp() and psb_driver_preclose() as static

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1fc93332cd2ba59a5fd5b3c4369fc62c724ddae6 08-Mar-2012 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> gma500: psb_driver_load(): drop unused variables

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
670c044454a33ab679628518d5284fac6246b259 08-Mar-2012 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> gma500: use DRM_IOCTL_DEF_DRV instead of custom PSB_IOCTL_DEF

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
026abc333205c1fff80138b8c2cac3d0347685f4 08-Mar-2012 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> gma500: initial medfield merge

We need to merge this ahead of some of the cleanup because a lot of needed
cleanup spans both new and old chips. If we try and clean up and the merge
we end up fighting ourselves.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
[With a load of the cleanup stuff folded in, register stuff reworked sanely]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
466e69b8b03b8c1987367912782bc12988ad8794 19-Dec-2011 Dave Airlie <airlied@redhat.com> drm: move pci bus master enable into driver.

The current enabling of bus mastering in the drm midlayer allows a large
race condition under kexec. When a kexec'ed kernel re-enables bus mastering
for the GPU, previously setup dma blocks may cause writes to random pieces
of memory. On radeon the writeback mechanism can cause these sorts of issues.

This patch doesn't fix the problem, but it moves the bus master enable under
the individual drivers control so they can move enabling it until later in
their load cycle and close the race.

Fix for radeon kms driver will be in a follow-up patch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
f9f23a77f07506a32d9dc1d925bf85c0e7507b66 29-Dec-2011 Alan Cox <alan@linux.intel.com> gma500: remove no_fb bits

This doesn't work and isn't of any use. It was inherited from the older
driver code and can go away. Kill it off before it becomes part of mainstream
as we don't want to support it in future.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
b6195aab9ca63a4f6911365f36eb091666fcb15a 29-Dec-2011 Alan Cox <alan@linux.intel.com> gma500: Fix Cedarview support (Correct version)

And update to the actual product naming as the press release is now out.

http://newsroom.intel.com/docs/DOC-2553#pressmaterials

- Fixes the wrong ifdef check
- Fixes the missing crtc count declaration

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
56125db1eecf8d34d84f7925686110d90724edf0 28-Dec-2011 Alan Cox <alan@linux.intel.com> gma500: Add the E6xx PCI identifier we are missing

Oaktrail Atom E620 has a different PCI identifier we need to cover

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
0cecdd818cd79d092e36e70dfe3a71f2878d6b96 19-Dec-2011 Alan Cox <alan@linux.intel.com> gma500: Final enables for Oaktrail

This switches the ifdef to match the Kconfig so that Oaktrail probing occurs
and adds some additional minor bulletproofing.

Tested on a Fujtisu Stylistic Q550 internal display. HDMI might work but that
remains to be seen.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1730f89bfcff353484672cdcefbef13b2f374176 19-Dec-2011 Patrik Jakobsson <patrik.r.jakobsson@gmail.com> gma500: Fix encoder type checking for connectors

Fix cases where we need to know what encoder type is behind a given connector.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
9242fe23d2ebab9c61dbc50d65f30cfa20a856ae 29-Nov-2011 Alan Cox <alan@linux.intel.com> gma500: frame buffer locking

If we are the console then a printk can hit us with a spin lock held (and
in fact the kernel will do its best to take the console printing lock).

In that case we cannot politely sleep when synching after an accelerated op
but must behave obnoxiously to be sure of getting the bits out.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
a746092b679e6045dae91ceacb9abc6c83e38e0e 29-Nov-2011 Alan Cox <alan@linux.intel.com> gma500: do a pass over the FIXME tags

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
84b08fe62c9e8c066a29d6d6f656e409a2a86b27 29-Nov-2011 Patrik Jakobsson <patrik.r.jakobsson@gmail.com> gma500: Don't enable MSI on Poulsbo

Chipset reports MSI capabilities for Poulsbo even though it isn't really there.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
e036ba5914df8a6c2ce665ba4631fe1f17f4cc2b 29-Nov-2011 Patrik Jakobsson <patrik.r.jakobsson@gmail.com> gma500: Only register interrupt handler for poulsbo hardware

First step in adding proper irq handling. We'll start with poulsbo support so
make sure other chips don't touch drm_irq_install().

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
838fa588a29331da012876623c3bc170d7d647c2 16-Nov-2011 Alan Cox <alan@linux.intel.com> gma500: Move the API

Finally move the API where it can be seen

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
770179d5e35c191e2c760d37abd5572ccdf6a002 16-Nov-2011 Alan Cox <alan@linux.intel.com> gma500: Rename the ioctls to avoid clashing with the legacy drivers

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
61bedf702c81c47edf3bb0dec50e2de7c4537255 16-Nov-2011 Alan Cox <alan@linux.intel.com> drm/gma500: begin pruning dead bits of API

At this point we won't add an external set of definitions. We want to get
everything out before we admit to a public API beyond the standardised
ones.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1595c568c9237d1b1371ef3a2a2d98d231b1b59b 27-Nov-2011 Ilija Hadzic <ihadzic@research.bell-labs.com> drm/gma500: fix compile error

fops field in drm_driver is a pointer to file_operations
struct, not embedded structure

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
af3a2cfbd132a0556f0e5e457817337047ebcb4c 16-Nov-2011 Dave Airlie <airlied@redhat.com> gma500: fixup build versus latest header changes.

Signed-off-by: Dave Airlie <airlied@redhat.com>
5c49fd3aa0ab025e5f94617249db10a33138f37b 03-Nov-2011 Alan Cox <alan@linux.intel.com> gma500: Add the core DRM files and headers

Not really a nice way to split this up further for submission. This
provides all the DRM interfacing logic, the headers and relevant glue.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>