summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-09hsakmt: allow building with gcc 4.x v2HEADmasterBridgman, John1-0/+6
The hsakmt code requires C99 compiler support, however gcc 4.x defaults to C89 (gcc 5 defaults to C11). v2 patch copies code from libdrm, using AC_PROG_CC_C99 and checking success. v1 used AC_PROG_CC_STDC and did not check C99 was enabled. Signed-off-by: John Bridgman <john.bridgman@amd.com>
2015-10-24Post-release version bump to 1.0.1Oded Gabbay1-1/+1
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-24Fix paths inside Makefile.sourceshsakmt-1.0.0Oded Gabbay1-3/+3
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-04restore original pathsOded Gabbay6-4/+16
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-04include hsakmt-version.hOded Gabbay1-0/+1
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-04Revert "Fix include paths in source files"Oded Gabbay9-9/+8
This reverts commit b78c17c64c44a6d3a34e8836e5181e125625bd7c.
2015-10-01Add RELEASING fileOded Gabbay1-0/+44
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-01Add INSTALL fileOded Gabbay1-0/+189
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-01Add README fileOded Gabbay1-0/+16
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-10-01Add COPYING fileOded Gabbay1-0/+22
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-09-30Fix all ISO C90 warningsOded Gabbay7-42/+68
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-09-30Update .gitignoreOded Gabbay2-3/+36
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-09-30Fix include paths in source filesOded Gabbay9-8/+9
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-09-30Create autoconf/automake filesOded Gabbay10-65/+518
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-09-30Move all source/header files to hsakmt subfolderOded Gabbay21-0/+0
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-06-12Add missing DoorbellType field to HSA_CAPABILITYOded Gabbay1-1/+4
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-06-12Add Performance Counter Support on CarrizoXihan Zhang1-0/+36
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-06-12Add CZ support to queues moduleBen Goz1-6/+140
Signed-off-by: Ben Goz <ben.goz@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-06-12Add support for allocating executable memoryBen Goz3-11/+53
Signed-off-by: Ben Goz <ben.goz@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-06-03Add H/W debugger moduleYair Shachar1-4/+174
Signed-off-by: Yair Shachar <yair.shachar@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-06-03Add H/W debugger IOCTLs definitionsYair Shachar1-2/+41
Signed-off-by: Yair Shachar <yair.shachar@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2015-05-19Add memory exception notificationAlexey Skidanov3-5/+34
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-05-19Add memory exception IOCTLs definitionsAlexey Skidanov1-0/+26
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-05-05Add definitions of memory event type and exception dataAlexey Skidanov1-3/+38
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-05-05Add HSA Signals moduleAndrew Lewycky1-30/+132
Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-05-05Add events IOCTLs definitionsOded Gabbay1-2/+68
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-05-05Don't report local mem aperture if local mem size is 0Oded Gabbay1-1/+1
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-29Move from direct call to kfd_ioctl to wrapping kmtIoctlOded Gabbay9-15/+28
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-29Change names of IOCTLSOded Gabbay6-22/+29
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-29Add exclusive trace accessAlexey Skidanov2-2/+35
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
2014-12-10Add chip revision and fw version to topologyAlexey Skidanov1-2/+47
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com> Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
2014-12-08Don't build 32-bit library by defaultOded Gabbay1-1/+1
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-28Implement hsaKmtGetVersionOded Gabbay1-2/+11
Reviewed-by: Alexey Skidanov <Alexey.Skidanov@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-04Fix makefile to include dependency on header filesOded Gabbay1-1/+1
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add pmc moduleEvgeny Pinchuk1-16/+206
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add pmc table moduleEvgeny Pinchuk3-1/+149
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add clock counters moduleEvgeny Pinchuk1-1/+23
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add queues moduleBen Goz2-3/+136
Signed-off-by: Ben Goz <ben.goz@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add memory moduleAndrew Lewycky1-7/+83
Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add topology moduleEvgeny Pinchuk1-6/+834
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add flat memory manager moduleAlexey Skidanov4-2/+552
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add skeleton driver which supports open and closeOded Gabbay14-0/+1086
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add definitions of HSA functions and typesOded Gabbay2-0/+1416
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29Add IOCTL set definitions of amdkfdOded Gabbay1-0/+154
- KFD_IOC_GET_VERSION: Retrieves the interface version of amdkfd - KFD_IOC_CREATE_QUEUE: Creates a usermode queue that runs on a specific GPU device - KFD_IOC_DESTROY_QUEUE: Destroys an existing usermode queue - KFD_IOC_SET_MEMORY_POLICY: Sets the memory policy of the default and alternate aperture of the calling process - KFD_IOC_GET_CLOCK_COUNTERS: Retrieves counters (timestamps) of CPU and GPU - KFD_IOC_GET_PROCESS_APERTURES: Retrieves information about process apertures that were initialized during the open() call of the amdkfd device - KFD_IOC_UPDATE_QUEUE: Updates configuration of an existing usermode queue Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-28add outgoing/ to .gitignoreOded Gabbay1-0/+1
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29initial commithsakmt-initialcommitOded Gabbay1-0/+9