linux/drivers/gpu/host1x
Thierry Reding c1bef81fe7 drm/tegra: gr2d: Miscellaneous cleanups
Rework the address table code for the host1x firewall. The previous
implementation allocated a bitfield but didn't check for a valid pointer
so it could potentially crash. Instead, embed a static bitmap within the
gr2d structure to avoid the allocation and use the Linux bitmap API to
reduce code complexity.

Don't annotate the driver's .remove() function __exit. Even if built in
the driver can be unloaded via sysfs, so .remove() needs to stick around
after initialization. Also remove the explicit initialization of the
driver's .owner field to THIS_MODULE because that's now handled by the
driver core.

Furthermore make an error message more consistent with other subdrivers,
index the syncpts array for better readability, remove a gratuituous
newline and reorder some variable declarations to make the code easier
to read.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2013-10-31 09:20:09 +01:00
..
drm drm/tegra: gr2d: Miscellaneous cleanups 2013-10-31 09:20:09 +01:00
hw gpu: host1x: Cleanup includes 2013-10-31 09:20:07 +01:00
cdma.c gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
cdma.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
channel.c gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
channel.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
debug.c gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Do not discard .remove() 2013-10-31 09:20:07 +01:00
dev.h gpu: host1x: Sort drivers by probe order 2013-09-03 10:10:12 +02:00
host1x_bo.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
host1x_client.h drm/tegra: Rename host1x_drm structure to tegra_drm 2013-10-31 09:20:05 +01:00
host1x.h drm/tegra: Add gr2d device 2013-04-22 12:40:04 +02:00
intr.c gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
intr.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
job.c gpu: host1x: firewall: Refactor register check 2013-10-31 09:20:08 +01:00
job.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
Kconfig drm/tegra: Move drm to live under host1x 2013-04-22 12:39:11 +02:00
Makefile drm/tegra: Add gr2d device 2013-04-22 12:40:04 +02:00
syncpt.c gpu: host1x: Rework CPU syncpoint increment 2013-06-22 12:43:55 +02:00
syncpt.h gpu: host1x: Rework CPU syncpoint increment 2013-06-22 12:43:55 +02:00