drm-amdkfd-next
Hi Dave,
Here is the pull request of amdkfd for 4.2
drm-amdkfd-next-2015-05-18:
- Add the interrupts & events modules, including new IOCTLs to create and wait on events. The HSA RT open source stack is mainly using events to know when a dispatched work has been completed. In addition, this module is a pre-requisite for the next module I'm going to upstream - debugger support
This module also handles H/W exceptions, such as memory exception received through the IOMMUv2 H/W and Bad Opcode exception receieved from the GPU.
- Adding a new kernel module parameter to let the user decide whether he wants to receive a SIGTERM when a memory exception occurs inside the GPU kernel and the HSA application doesn't wait on an appropriate event, or if he just want to receive notification about this event in dmesg. The default is the latter.
- Additional improvements for SDMA code
- Update my email address in Maintainers file as I'm leaving AMD in two weeks.
Thanks,
Oded
The following changes since commit dde10068e1a4798fa44e68a5d08b5dfe3602cbba:
Merge branch 'drm-armada-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into drm-next (2015-05-15 15:24:41 +1000)
are available in the git repository at:
ssh://[email protected]/~gabbayo/linux tags/drm-amdkfd-next-2015-05-18
for you to fetch changes up to a441b1ddc5ad53aaa9e6d4d0b98387b1cf0a9ba8:
drm/amdkfd: change driver version to 0.7.2 (2015-05-18 09:15:28 +0300)
----------------------------------------------------------------
Alexey Skidanov (2):
drm/amdkfd: Add memory exception handling drm/amdkfd: Add bad opcode exception handling
Andrew Lewycky (4):
drm/amdkfd: Add interrupt handling module drm/amdkfd: add events IOCTL set definitions drm/amdkfd: Add the events module drm/amdkfd: Implement events IOCTLs
Firo Yang (1):
drm/amdkfd: Remove unessary void pointer cast
Oded Gabbay (7):
drm/amdkfd: reformat some debug prints drm/amdkfd: Use new struct for asic specific ops drm/amdkfd: make the sdma vm init to be asic specific
MAINTAINERS: update amdkfd Oded's email address drm/radeon: Add init interrupt kfd->kgd interface drm/amdkfd: Add module parameter of send_sigterm drm/amdkfd: change driver version to 0.7.2
MAINTAINERS | 2 +- drivers/gpu/drm/amd/amdkfd/Makefile | 1 + drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c | 66 ++ drivers/gpu/drm/amd/amdkfd/cik_int.h | 41 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 87 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 52 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 30 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 21 +- .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 18 +- .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 10 +- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 15 +- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 965 +++++++++++++++++++++ drivers/gpu/drm/amd/amdkfd/kfd_events.h | 84 ++ drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 188 ++++ drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 9 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 75 ++ drivers/gpu/drm/amd/amdkfd/kfd_process.c | 27 +- drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 2 + drivers/gpu/drm/radeon/cik_reg.h | 2 + drivers/gpu/drm/radeon/cikd.h | 1 + drivers/gpu/drm/radeon/radeon_kfd.c | 21 +- include/uapi/linux/kfd_ioctl.h | 96 +- 23 files changed, 1778 insertions(+), 40 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c create mode 100644 drivers/gpu/drm/amd/amdkfd/cik_int.h create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_events.c create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_events.h create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 97 lines · Oded Gabbay
Hi Dave,
Here is the pull request of amdkfd for 4.2
drm-amdkfd-next-2015-05-18:
- Add the interrupts & events modules, including new IOCTLs to create and wait
on events. The HSA RT open source stack is mainly using events to know
when
a dispatched work has been completed. In addition, this module is a pre-requisite for the next module I'm going to upstream - debugger
supportThis module also handles H/W exceptions, such as memory exception
received
through the IOMMUv2 H/W and Bad Opcode exception receieved from the GPU.- Adding a new kernel module parameter to let the user decide whether he wants
to receive a SIGTERM when a memory exception occurs inside the GPU
kernel and
the HSA application doesn't wait on an appropriate event, or if he just
want
to receive notification about this event in dmesg. The default is the
latter.- Additional improvements for SDMA code
- Update my email address in Maintainers file as I'm leaving AMD in two weeks.
Thanks,
Oded
The following changes since commit
dde10068e1a4798fa44e68a5d08b5dfe3602cbba:Merge branch 'drm-armada-devel' of
git://
ftp.arm.linux.org.uk/~rmk/linux-arm into drm-next (2015-05-15 15:24:41 +1000)are available in the git repository at:
ssh://[email protected]/~gabbayo/linux
tags/drm-amdkfd-next-2015-05-18for you to fetch changes up to
a441b1ddc5ad53aaa9e6d4d0b98387b1cf0a9ba8:drm/amdkfd: change driver version to 0.7.2 (2015-05-18 09:15:28 +0300)
----------------------------------------------------------------
Alexey Skidanov (2):
drm/amdkfd: Add memory exception handling drm/amdkfd: Add bad opcode exception handlingAndrew Lewycky (4):
drm/amdkfd: Add interrupt handling module drm/amdkfd: add events IOCTL set definitions drm/amdkfd: Add the events module drm/amdkfd: Implement events IOCTLsFiro Yang (1):
drm/amdkfd: Remove unessary void pointer castOded Gabbay (7):
drm/amdkfd: reformat some debug prints drm/amdkfd: Use new struct for asic specific ops drm/amdkfd: make the sdma vm init to be asic specific
MAINTAINERS: update amdkfd Oded's email address drm/radeon: Add init interruptkfd->kgdinterface drm/amdkfd: Add module parameter ofsend_sigtermdrm/amdkfd: change driver version to 0.7.2MAINTAINERS | 2 +- drivers/gpu/drm/amd/amdkfd/Makefile | 1 + drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c | 66 ++ drivers/gpu/drm/amd/amdkfd/cik_int.h | 41 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 87 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 52 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 30 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 21 +- .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 18 +- .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 10 +- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 15 +- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 965 +++++++++++++++++++++ drivers/gpu/drm/amd/amdkfd/kfd_events.h | 84 ++ drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 188 ++++ drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 9 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 75 ++ drivers/gpu/drm/amd/amdkfd/kfd_process.c | 27 +- drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 2 + drivers/gpu/drm/radeon/cik_reg.h | 2 + drivers/gpu/drm/radeon/cikd.h | 1 +
Quoted 9 lines
drivers/gpu/drm/radeon/radeon_kfd.c | 21 +- include/uapi/linux/kfd_ioctl.h | 96 +- 23 files changed, 1778 insertions(+), 40 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c create mode 100644 drivers/gpu/drm/amd/amdkfd/cik_int.h create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_events.c create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_events.h create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
Fixing Alex's email address.
Sorry.
Signature · 1 line
Oded
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 24 lines
Quoted 24 lines
drm-amdkfd-next-2015-05-18:
- Add the interrupts & events modules, including new IOCTLs to create and wait
on events. The HSA RT open source stack is mainly using events to know
when
a dispatched work has been completed. In addition, this module is a pre-requisite for the next module I'm going to upstream - debugger
supportThis module also handles H/W exceptions, such as memory exception
received
through the IOMMUv2 H/W and Bad Opcode exception receieved from the GPU.- Adding a new kernel module parameter to let the user decide whether he wants
to receive a SIGTERM when a memory exception occurs inside the GPU
kernel and
the HSA application doesn't wait on an appropriate event, or if he just
want
to receive notification about this event in dmesg. The default is the
latter.
Quoted 6 lines
Quoted 5 lines
- Additional improvements for SDMA code
- Update my email address in Maintainers file as I'm leaving AMD in two weeks.
Two things,
a) pull request from ssh:// please fix scripts to generate git:// URLs,
b) ioctls with bool in them make me worry, four packed bool's even more, 4 packed bools with a 64-bit straight after them put me over the not pulling this edge.
I don't trust bools in ioctl defintions, please use explicitly sized types.
Dave.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Dave Airlie
Quoted 6 lines
Quoted 6 lines
drm-amdkfd-next-2015-05-18:
- Add the interrupts & events modules, including new IOCTLs to create
and wait
Quoted 1 line
Quoted 1 line
Quoted 1 line
on events. The HSA RT open source stack is mainly using events to
know when
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
a dispatched work has been completed. In addition, this module is a pre-requisite for the next module I'm going to upstream - debugger
support
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
This module also handles H/W exceptions, such as memory exception
received
Quoted 1 line
Quoted 1 line
Quoted 1 line
through the IOMMUv2 H/W and Bad Opcode exception receieved from the
GPU.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
- Adding a new kernel module parameter to let the user decide whether
he wants
Quoted 1 line
Quoted 1 line
Quoted 1 line
to receive a SIGTERM when a memory exception occurs inside the GPU
kernel and
Quoted 1 line
Quoted 1 line
Quoted 1 line
the HSA application doesn't wait on an appropriate event, or if he
just want
Quoted 1 line
Quoted 1 line
Quoted 1 line
to receive notification about this event in dmesg. The default is the
latter.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
- Additional improvements for SDMA code
- Update my email address in Maintainers file as I'm leaving AMD in two
weeks.
Quoted 8 lines
Two things,
a) pull request from ssh:// please fix scripts to generate
git://URLs,b) ioctls with bool in them make me worry, four packed bool's even more, 4 packed bools with a 64-bit straight after them put me over the not
pulling this edge.
Quoted 2 lines
I don't trust bools in ioctl defintions, please use explicitly sized
types.
Quoted 2 lines
Dave.
Thanks Dave,
No problem, I'll fix and resend it today.
Oded
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel