gpu driver: remove most of the remaining "abstraction" for OS mutex and so on
authorMatt Sealey <matt@genesi-usa.com>
Mon, 29 Aug 2011 19:55:29 +0000 (14:55 -0500)
committerMatt Sealey <matt@genesi-usa.com>
Mon, 29 Aug 2011 19:55:29 +0000 (14:55 -0500)
commitaac2fc75d30d9e67affe5157aceac66ea6e23155
tree861e30aaf8eeb32dd289370e1f03b60807be18cc
parent63da19a0223e179cb0a05ffea524a3786f965cb4
gpu driver: remove most of the remaining "abstraction" for OS mutex and so on

 * mutex, events, sleeps, process id unabstracted
 * defines for function types (inline, extern) unabstracted
 * defines for debug assert change name (KOS_ASSERT -> DEBUG_ASSERT) and left disabled
 * driver now warns, if logging is enabled, that interruptible mutex locks are interrupted (which never happens in reality but it fixes a warning)
 * remove fine grained locking "feature" since it's not enabled (and Qualcomm's public driver does not even implement it)
 * refine mutex initialization where it's still present - don't try and allocate mutex structures where they're always used, just make them parts of the structure (struct mutex * -> struct mutex)
 * whitespace police
38 files changed:
drivers/mxc/amd-gpu/Makefile
drivers/mxc/amd-gpu/common/gsl_cmdstream.c
drivers/mxc/amd-gpu/common/gsl_cmdwindow.c
drivers/mxc/amd-gpu/common/gsl_context.c
drivers/mxc/amd-gpu/common/gsl_debug_pm4.c
drivers/mxc/amd-gpu/common/gsl_device.c
drivers/mxc/amd-gpu/common/gsl_drawctxt.c
drivers/mxc/amd-gpu/common/gsl_driver.c
drivers/mxc/amd-gpu/common/gsl_g12.c
drivers/mxc/amd-gpu/common/gsl_intrmgr.c
drivers/mxc/amd-gpu/common/gsl_log.c
drivers/mxc/amd-gpu/common/gsl_memmgr.c
drivers/mxc/amd-gpu/common/gsl_mmu.c
drivers/mxc/amd-gpu/common/gsl_ringbuffer.c
drivers/mxc/amd-gpu/common/gsl_sharedmem.c
drivers/mxc/amd-gpu/common/gsl_tbdump.c
drivers/mxc/amd-gpu/common/gsl_yamato.c
drivers/mxc/amd-gpu/include/api/gsl_displayapi.h
drivers/mxc/amd-gpu/include/api/gsl_klibapi.h
drivers/mxc/amd-gpu/include/api/gsl_libapi.h
drivers/mxc/amd-gpu/include/api/gsl_types.h
drivers/mxc/amd-gpu/include/gsl.h
drivers/mxc/amd-gpu/include/gsl_cmdstream.h
drivers/mxc/amd-gpu/include/gsl_context.h [deleted file]
drivers/mxc/amd-gpu/include/gsl_device.h
drivers/mxc/amd-gpu/include/gsl_driver.h
drivers/mxc/amd-gpu/include/gsl_hal.h
drivers/mxc/amd-gpu/include/gsl_intrmgr.h
drivers/mxc/amd-gpu/include/gsl_log.h
drivers/mxc/amd-gpu/include/gsl_memmgr.h
drivers/mxc/amd-gpu/include/gsl_mmu.h
drivers/mxc/amd-gpu/include/gsl_ringbuffer.h
drivers/mxc/amd-gpu/os/include/os_types.h [deleted file]
drivers/mxc/amd-gpu/os/kernel/include/kos_libapi.h [deleted file]
drivers/mxc/amd-gpu/os/kernel/src/linux/kos_lib.c [deleted file]
drivers/mxc/amd-gpu/platform/hal/linux/gsl_hwaccess.h
drivers/mxc/amd-gpu/platform/hal/linux/gsl_kmod.c
drivers/mxc/amd-gpu/platform/hal/linux/gsl_kmod_cleanup.c