[PATCH 2/2] drm/tegra: Set the DMA mask

2016-02-23 Thread Terje Bergstrom
On 02/23/2016 08:04 AM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, Feb 23, 2016 at 03:25:54PM +0900, > Alexandre Courbot wrote: >> The default DMA mask covers a 32 bits address range, but tegradrm >> can address more than that. Set the DMA mask to the actual >> addre

Re: [PATCH] MAINTAINERS: Remove Terje Bergström as Tegra DRM maintainer

2016-03-07 Thread Terje Bergstrom
Terje Bergström > L: dri-devel at lists.freedesktop.org > L: linux-tegra at vger.kernel.org > T: git git://anongit.freedesktop.org/tegra/linux.git Acked-by: Terje Bergstrom Terje

[RFC v2 0/8] Support for Tegra 2D hardware

2012-11-26 Thread Terje Bergstrom
user space code * Rebase on linux-next Arto Merilainen (2): gpu: drm: tegra: Remove redundant host1x gpu: drm: tegra: Prime support Terje Bergstrom (6): video: tegra: Add nvhost driver video: tegra: Add syncpoint wait and interrupts video: tegra: host: Add channel and client suppor

[RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergstrom
Add SoC specific auxiliary data to host1x and gr2d. nvhost uses this data. Signed-off-by: Terje Bergstrom Signed-off-by: Arto Merilainen --- arch/arm/mach-tegra/board-dt-tegra20.c| 38 - arch/arm/mach-tegra/board-dt-tegra30.c| 38

[RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-26 Thread Terje Bergstrom
Add nvhost, the driver for host1x. This patch adds support for reading and incrementing sync points and dynamic power management. Signed-off-by: Terje Bergstrom --- drivers/video/Kconfig |2 + drivers/video/Makefile |2 + drivers

[RFC v2 7/8] gpu: drm: tegra: Prime support

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces support for exporting allocated memory as dmabuf objects. Exported buffers are used for delivering data to nvhost driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm

[RFC v2 4/8] video: tegra: Add debug support

2012-11-26 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck submit. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/bus_client.c |3 + drivers/video/tegra/host

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-11-26 Thread Terje Bergstrom
removes the ability to use IOMMU in tegradrm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Kconfig |8 +- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/dc.c | 22 +-- drivers/gpu/drm/tegra/drm.c| 207

[RFC v2 3/8] video: tegra: host: Add channel and client support

2012-11-26 Thread Terje Bergstrom
Add support for host1x client modules, and host1x channels to submit work to the clients. The work is submitted in dmabuf buffers, so add support for dmabuf memory management, too. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |8 +- drivers/video

[RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-26 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait uses interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/chip_support.h | 17 ++ drivers/video/tegra/host/dev.c

[RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 231 +++- drivers/gpu/drm/tegra/drm.h| 42 ++-- drivers/gpu/drm/tegra

[RFC v2 0/8] Support for Tegra 2D hardware

2012-11-26 Thread Terje Bergstrom
user space code * Rebase on linux-next Arto Merilainen (2): gpu: drm: tegra: Remove redundant host1x gpu: drm: tegra: Prime support Terje Bergstrom (6): video: tegra: Add nvhost driver video: tegra: Add syncpoint wait and interrupts video: tegra: host: Add channel and client support vi

[RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergstrom
Add SoC specific auxiliary data to host1x and gr2d. nvhost uses this data. Signed-off-by: Terje Bergstrom Signed-off-by: Arto Merilainen --- arch/arm/mach-tegra/board-dt-tegra20.c| 38 - arch/arm/mach-tegra/board-dt-tegra30.c| 38

[RFC v2 7/8] gpu: drm: tegra: Prime support

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces support for exporting allocated memory as dmabuf objects. Exported buffers are used for delivering data to nvhost driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm

[RFC v2 4/8] video: tegra: Add debug support

2012-11-26 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck submit. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/bus_client.c |3 + drivers/video/tegra/host

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-11-26 Thread Terje Bergstrom
removes the ability to use IOMMU in tegradrm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Kconfig |8 +- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/dc.c | 22 +-- drivers/gpu/drm/tegra/drm.c| 207

[RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-26 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait uses interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/chip_support.h | 17 ++ drivers/video/tegra/host/dev.c

[RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 231 +++- drivers/gpu/drm/tegra/drm.h| 42 ++-- drivers/gpu/drm/tegra

[PATCHv3 2/7] gpu: host1x: Add syncpoint wait and interrupts

2012-12-13 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |3 +- drivers/gpu/host1x/dev.c | 44 drivers/gpu/host1x/dev.h

[PATCHv3 5/7] drm: tegra: Remove redundant host1x

2012-12-13 Thread Terje Bergstrom
external drivers. Therefore, only the drm_active list is reserved. Removal of the list also simplifies the driver unregistration. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Kconfig |2 +- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm

[PATCHv3 1/7] gpu: host1x: Add host1x driver

2012-12-13 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 + drivers/gpu/host1x/dev.c

[PATCHv3 7/7] drm: tegra: Add gr2d device

2012-12-13 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 211 +++- drivers/gpu/drm/tegra/drm.h| 29 drivers/gpu/drm/tegra/gr2d.c | 300

[PATCHv3 4/7] gpu: host1x: Add debug support

2012-12-13 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c | 37 +++ drivers/gpu/host1x/debug.c

[PATCHv3 6/7] ARM: tegra: Add board data and 2D clocks

2012-12-13 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2

[PATCHv3 0/7] Support for Tegra 2D hardware

2012-12-13 Thread Terje Bergstrom
Merilainen (1): drm: tegra: Remove redundant host1x Terje Bergstrom (6): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support ARM: tegra: Add board data and 2D clocks drm: tegra: Add gr2d device

[PATCHv4 6/8] ARM: tegra: Add board data and 2D clocks

2012-12-21 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2

[PATCHv4 0/8] Support for Tegra 2D hardware

2012-12-21 Thread Terje Bergstrom
also adds user space API to tegradrm for accessing host1x and 2D. Arto Merilainen (1): drm: tegra: Remove redundant host1x Terje Bergstrom (7): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support

[PATCHv4 1/8] gpu: host1x: Add host1x driver

2012-12-21 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 + drivers/gpu/host1x/dev.c

[PATCHv4 2/8] gpu: host1x: Add syncpoint wait and interrupts

2012-12-21 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |2 + drivers/gpu/host1x/dev.c | 37 +++- drivers/gpu/host1x/dev.h

[PATCHv4 7/8] drm: tegra: Add gr2d device

2012-12-21 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 211 ++- drivers/gpu/drm/tegra/drm.h| 29 drivers/gpu/drm/tegra/gr2d.c | 307

[PATCHv4 8/8] gpu: host1x: Register DRM dummy device

2012-12-21 Thread Terje Bergstrom
Register a dummy device for tegradrm, and provide a getter to access the device. Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/dc.c |5 - drivers/gpu/drm/tegra/drm.c | 11 + drivers/gpu/drm/tegra/gr2d.c |4 +++- drivers/gpu/drm/tegra/hdmi.c |5

[PATCHv4 5/8] drm: tegra: Remove redundant host1x

2012-12-21 Thread Terje Bergstrom
external drivers. Therefore, only the drm_active list is reserved. Removal of the list also simplifies the driver unregistration. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Kconfig |2 +- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm

[PATCHv4 4/8] gpu: host1x: Add debug support

2012-12-21 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c | 37 +++ drivers/gpu/host1x/debug.c

[PATCHv5 0/8] Support for Tegra 2D hardware

2013-01-15 Thread Terje Bergstrom
and 2D. Terje Bergstrom (8): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support drm: tegra: Move drm to live under host1x gpu: host1x: Remove second host1x driver ARM: tegra: Add board data and

[PATCHv5 1/8] gpu: host1x: Add host1x driver

2013-01-15 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 ++ drivers/gpu/host1x/dev.c

[PATCHv5 2/8] gpu: host1x: Add syncpoint wait and interrupts

2013-01-15 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 21 +- drivers/gpu/host1x/dev.h

[PATCHv5 4/8] gpu: host1x: Add debug support

2013-01-15 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c | 34 +++ drivers/gpu/host1x/debug.c

[PATCHv5 6/8] gpu: host1x: Remove second host1x driver

2013-01-15 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c | 58 +- drivers/gpu/host1x

[PATCHv5 7/8] ARM: tegra: Add board data and 2D clocks

2013-01-15 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2

[PATCHv5 8/8] drm: tegra: Add gr2d device

2013-01-15 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c |7 + drivers/gpu/host1x/drm

[PATCHv5,RESEND 0/8] Support for Tegra 2D hardware

2013-01-15 Thread Terje Bergstrom
adds user space API to tegradrm for accessing host1x and 2D. Terje Bergstrom (8): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support drm: tegra: Move drm to live under host1x gpu: host1x: Remove

[PATCHv5,RESEND 2/8] gpu: host1x: Add syncpoint wait and interrupts

2013-01-15 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 21 +- drivers/gpu/host1x/dev.h

[PATCHv5,RESEND 1/8] gpu: host1x: Add host1x driver

2013-01-15 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 ++ drivers/gpu/host1x/dev.c

[PATCHv5,RESEND 4/8] gpu: host1x: Add debug support

2013-01-15 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c | 34 +++ drivers/gpu/host1x/debug.c

[PATCHv5,RESEND 5/8] drm: tegra: Move drm to live under host1x

2013-01-15 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 --- drivers/gpu/host1x/Kconfig

[PATCHv5,RESEND 6/8] gpu: host1x: Remove second host1x driver

2013-01-15 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c | 58 +- drivers/gpu/host1x

[PATCHv5,RESEND 7/8] ARM: tegra: Add board data and 2D clocks

2013-01-15 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2

[PATCHv5,RESEND 8/8] drm: tegra: Add gr2d device

2013-01-15 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c |7 + drivers/gpu/host1x/drm

[PATCHv6 0/9] Support for Tegra 2D hardware

2013-03-08 Thread Terje Bergstrom
oints. The patch set also adds user space API to tegradrm for accessing host1x and 2D. The changes to add support to libdrm are in g...@gitorious.org:linux-host1x/libdrm-host1x.git Arto Merilainen (2): gpu: host1x: drm: Rename host1x to host1x_drm gpu: host1x: drm: Add CMA ops for host1x dri

[PATCHv6 6/9] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-08 Thread Terje Bergstrom
From: Arto Merilainen Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/drm/dc.c |4 ++-- drivers/gpu/host1x/drm/drm.c

[PATCHv6 5/9] drm: tegra: Move drm to live under host1x

2013-03-08 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 --- drivers/gpu/host1x

[PATCHv6 4/9] gpu: host1x: Add debug support

2013-03-08 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c |5 + drivers

[PATCHv6 2/9] gpu: host1x: Add syncpoint wait and interrupts

2013-03-08 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 12 ++ drivers/gpu

[PATCHv6 9/9] drm: tegra: Add gr2d device

2013-03-08 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c

[PATCHv6 7/9] gpu: host1x: Remove second host1x driver

2013-03-08 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c

[PATCHv6 8/9] gpu: host1x: drm: Add CMA ops for host1x driver

2013-03-08 Thread Terje Bergstrom
From: Arto Merilainen This patch adds CMA memory operations for host1x driver. This allows usage of CMA buffers inside host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/drm/cma.c | 87

[PATCHv6 1/9] gpu: host1x: Add host1x driver

2013-03-08 Thread Terje Bergstrom
ation. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|9 ++ drivers/gpu/host1x/Makefile |8 ++ drivers/gpu/host1x/dev.c |

[PATCHv7 00/10] Support for Tegra 2D hardware

2013-03-13 Thread Terje Bergstrom
drm-host1x.git Arto Merilainen (3): gpu: drm: Support CMA object preallocation gpu: host1x: drm: Rename host1x to host1x_drm gpu: host1x: drm: Add CMA ops for host1x driver Terje Bergstrom (7): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add c

[PATCHv7 06/10] drm: tegra: Move drm to live under host1x

2013-03-13 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 --- drivers/gpu/host1x

[PATCHv7 03/10] gpu: host1x: Add syncpoint wait and interrupts

2013-03-13 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 12 ++ drivers/gpu

[PATCHv7 09/10] gpu: host1x: drm: Add CMA ops for host1x driver

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen This patch implements a CMA memory handler for the host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/drm/cma.c | 93 ++ drivers/gpu/host1x

[PATCHv7 02/10] gpu: host1x: Add host1x driver

2013-03-13 Thread Terje Bergstrom
ation. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|9 ++ drivers/gpu/host1x/Makefile |8 ++ drivers/gpu/host1x/dev.c |

[PATCHv7 07/10] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/drm/dc.c |4 ++-- drivers/gpu/host1x/drm/drm.c

[PATCHv7 01/10] gpu: drm: Support CMA object preallocation

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen This patch adds helper functions drm_gem_cma_init() and drm_gem_cma_deinit() for handling CMA structures that already have been allocated. This allows embedding the CMA structure inside other structures. Signed-off-by: Arto Merilainen --- drivers/gpu/drm/drm_gem_cma_helpe

[PATCHv7 08/10] gpu: host1x: Remove second host1x driver

2013-03-13 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c

[PATCHv7 10/10] drm: tegra: Add gr2d device

2013-03-13 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c

[PATCHv7 05/10] gpu: host1x: Add debug support

2013-03-13 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c |4 + drivers

[PATCHv8 0/9] Support for Tegra 2D hardware

2013-03-22 Thread Terje Bergstrom
host1x: drm: Rename host1x to host1x_drm gpu: host1x: drm: Add memory manager and fb Terje Bergstrom (7): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support drm: tegra: Move drm to live under host1

[PATCHv8 5/9] drm: tegra: Move drm to live under host1x

2013-03-22 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 --- drivers/gpu/host1x

[PATCHv8 4/9] gpu: host1x: Add debug support

2013-03-22 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c |4 + drivers

[PATCHv8 2/9] gpu: host1x: Add syncpoint wait and interrupts

2013-03-22 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 12 ++ drivers/gpu

[PATCHv8 1/9] gpu: host1x: Add host1x driver

2013-03-22 Thread Terje Bergstrom
ation. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|9 ++ drivers/gpu/host1x/Makefile |8 ++ drivers/gpu/host1x/dev.c |

[PATCHv8 6/9] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-22 Thread Terje Bergstrom
From: Arto Merilainen Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/drm/dc.c |4 ++-- drivers/gpu/host1x/drm/drm.c

[PATCHv8 8/9] gpu: host1x: drm: Add memory manager and fb

2013-03-22 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces a memory manager for tegra drm and moves existing parts to use it. As cma framebuffer helpers can no more be used, this patch adds also a separate framebuffer driver for tegra. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom

[PATCHv8 9/9] drm: tegra: Add gr2d device

2013-03-22 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|1 + drivers/gpu/host1x/dev.c

[PATCHv8 7/9] gpu: host1x: Remove second host1x driver

2013-03-22 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c

[PATCHv9 0/9] Support Tegra 2D hardware

2013-03-22 Thread Terje Bergstrom
. The patch set also adds user space API to tegradrm for accessing host1x and 2D. The changes to add support to libdrm are in g...@gitorious.org:linux-host1x/libdrm-host1x.git Arto Merilainen (2): gpu: host1x: drm: Rename host1x to host1x_drm gpu: host1x: drm: Add memory manager and fb Terje Ber

[PATCHv9 1/9] gpu: host1x: Add host1x driver

2013-03-22 Thread Terje Bergstrom
ation. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|9 ++ drivers/gpu/host1x/Makefile |8 ++ drivers/gpu/host1x/dev.c |

[PATCHv9 2/9] gpu: host1x: Add syncpoint wait and interrupts

2013-03-22 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 12 ++ drivers/gpu

[PATCHv9 6/9] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-22 Thread Terje Bergstrom
From: Arto Merilainen Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/drm/dc.c |4 ++-- drivers/gpu/host1x/drm/drm.c

[PATCHv9 5/9] drm: tegra: Move drm to live under host1x

2013-03-22 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 --- drivers/gpu/host1x

[PATCHv9 8/9] gpu: host1x: drm: Add memory manager and fb

2013-03-22 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces a memory manager for tegra drm and moves existing parts to use it. As cma framebuffer helpers can no more be used, this patch adds also a separate framebuffer driver for tegra. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom

[PATCHv9 4/9] gpu: host1x: Add debug support

2013-03-22 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c |4 + drivers

[PATCHv9 9/9] drm: tegra: Add gr2d device

2013-03-22 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|1 + drivers/gpu/host1x/dev.c

[PATCHv9 7/9] gpu: host1x: Remove second host1x driver

2013-03-22 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c

[PATCHv3 2/7] gpu: host1x: Add syncpoint wait and interrupts

2012-12-13 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |3 +- drivers/gpu/host1x/dev.c | 44 drivers/gpu/host1x/dev.h

[PATCHv3 5/7] drm: tegra: Remove redundant host1x

2012-12-13 Thread Terje Bergstrom
external drivers. Therefore, only the drm_active list is reserved. Removal of the list also simplifies the driver unregistration. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Kconfig |2 +- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm

[PATCHv3 1/7] gpu: host1x: Add host1x driver

2012-12-13 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 + drivers/gpu/host1x/dev.c

[PATCHv3 7/7] drm: tegra: Add gr2d device

2012-12-13 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 211 +++- drivers/gpu/drm/tegra/drm.h| 29 drivers/gpu/drm/tegra/gr2d.c | 300

[PATCHv3 4/7] gpu: host1x: Add debug support

2012-12-13 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c | 37 +++ drivers/gpu/host1x/debug.c

[PATCHv3 3/7] gpu: host1x: Add channel support

2012-12-13 Thread Terje Bergstrom
Add support for host1x client modules, and host1x channels to submit work to the clients. The work is submitted in GEM CMA buffers, so this patch adds support for them. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Kconfig | 24 +- drivers/gpu/host1x/Makefile

[PATCHv3 6/7] ARM: tegra: Add board data and 2D clocks

2012-12-13 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2

[PATCHv3 0/7] Support for Tegra 2D hardware

2012-12-13 Thread Terje Bergstrom
Merilainen (1): drm: tegra: Remove redundant host1x Terje Bergstrom (6): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support ARM: tegra: Add board data and 2D clocks drm: tegra: Add gr2d device

[PATCHv4 6/8] ARM: tegra: Add board data and 2D clocks

2012-12-21 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2

[PATCHv4 0/8] Support for Tegra 2D hardware

2012-12-21 Thread Terje Bergstrom
also adds user space API to tegradrm for accessing host1x and 2D. Arto Merilainen (1): drm: tegra: Remove redundant host1x Terje Bergstrom (7): gpu: host1x: Add host1x driver gpu: host1x: Add syncpoint wait and interrupts gpu: host1x: Add channel support gpu: host1x: Add debug support

[PATCHv4 1/8] gpu: host1x: Add host1x driver

2012-12-21 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 + drivers/gpu/host1x/dev.c

[PATCHv4 2/8] gpu: host1x: Add syncpoint wait and interrupts

2012-12-21 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |2 + drivers/gpu/host1x/dev.c | 37 +++- drivers/gpu/host1x/dev.h

[PATCHv4 7/8] drm: tegra: Add gr2d device

2012-12-21 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 211 ++- drivers/gpu/drm/tegra/drm.h| 29 drivers/gpu/drm/tegra/gr2d.c | 307

[PATCHv4 8/8] gpu: host1x: Register DRM dummy device

2012-12-21 Thread Terje Bergstrom
Register a dummy device for tegradrm, and provide a getter to access the device. Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/dc.c |5 - drivers/gpu/drm/tegra/drm.c | 11 + drivers/gpu/drm/tegra/gr2d.c |4 +++- drivers/gpu/drm/tegra/hdmi.c |5

[PATCHv4 5/8] drm: tegra: Remove redundant host1x

2012-12-21 Thread Terje Bergstrom
external drivers. Therefore, only the drm_active list is reserved. Removal of the list also simplifies the driver unregistration. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Kconfig |2 +- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm

  1   2   >