[PATCH v2 3/3] drm/msm: a4xx support for msm-drm

2014-11-14 Thread Ganesan, Aravind
Added a4xx GPU support. Signed-off-by: Aravind Ganesan --- drivers/gpu/drm/msm/Makefile | 1 + drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 612 + drivers/gpu/drm/msm/adreno/a4xx_gpu.h | 34 ++ drivers/gpu/drm/msm/adreno/adreno_device.c | 13 +

[PATCH v2 2/3] drm/msm: Handle register offset differences between a3xx, and a4xx

2014-11-14 Thread Ganesan, Aravind
Register offsets have changed between a3xx and a4xx GPUs. To be able access these registers in common code, we create a lookup table, and set of read-write APIs to access the register through the lookup table. Signed-off-by: Aravind Ganesan --- drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 99 +

[PATCH v2 1/3] drm/msm: Additional definitions for a3xx and a4xx

2014-11-14 Thread Ganesan, Aravind
Updated a3xx and a4xx headers, generated from rnndb files: https://github.com/freedreno/envytools Signed-off-by: Aravind Ganesan --- drivers/gpu/drm/msm/adreno/a3xx.xml.h | 50 +- drivers/gpu/drm/msm/adreno/a4xx.xml.h | 2062 + 2 files changed, 2102 insertions(+

[PATCH v2 0/3] drm/msm: Adreno 4xx support

2014-11-14 Thread Ganesan, Aravind
A set of three patches to support adreno 4xx GPUs in msm-drm: (1) Updated the a3xx and a4xx header files. (2) Handle register offset differences between a3xx and a4xx GPUs. (3) Added a4xx GPU support. Changes since v1: Addressed review comments from Rob. -Reworked the register offset look-up table

[PATCH 3/3] drm/msm: a4xx support for msm-drm

2014-11-07 Thread Ganesan, Aravind
On 11/6/2014 2:13 PM, Rob Clark wrote: > On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind > wrote: >> Added a4xx GPU support. >> >> Signed-off-by: Aravind Ganesan >> --- >> Resend the patch-set with the same thread-id >> Resend in patch-set format a

[PATCH 2/3] drm/msm: Handle register offset differences between a3xx, and a4xx

2014-11-07 Thread Ganesan, Aravind
On 11/6/2014 2:11 PM, Rob Clark wrote: > On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind > wrote: >> Register offsets have changed between a3xx and a4xx GPUs. >> To be able access these registers in common code, we create >> a lookup table, and set of read-

[PATCH 3/3] drm/msm: a4xx support for msm-drm

2014-10-31 Thread Ganesan, Aravind
Added a4xx GPU support. Signed-off-by: Aravind Ganesan --- Resend the patch-set with the same thread-id Resend in patch-set format and with dri-devel at lists.freedesktop.org on the CC. drivers/gpu/drm/msm/Makefile | 1 + drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 620 +

[PATCH 2/3] drm/msm: Handle register offset differences between a3xx, and a4xx

2014-10-31 Thread Ganesan, Aravind
Register offsets have changed between a3xx and a4xx GPUs. To be able access these registers in common code, we create a lookup table, and set of read-write APIs to access the register through the lookup table. Signed-off-by: Aravind Ganesan --- Resend the patch-set with the same thread-id Resend

[PATCH 1/3] drm/msm: Additional definitions for a3xx and a4xx

2014-10-31 Thread Ganesan, Aravind
Updated a3xx and a4xx headers, generated from rnndb files: https://github.com/freedreno/envytools Signed-off-by: Aravind Ganesan --- Resend the patch-set with the same thread-id Resend in patch-set format and with dri-devel at lists.freedesktop.org on the CC. drivers/gpu/drm/msm/adreno/a3xx.xml

[PATCH 0/3] drm/msm: Adreno 4xx support

2014-10-31 Thread Ganesan, Aravind
Resend the patch-set with the same thread-id A set of three patches to support adreno 4xx GPUs in msm-drm: (1) Updated the a3xx and a4xx header files. (2) Handle register offset differences between a3xx and a4xx GPUs. (3) Added a4xx GPU support. Aravind Ganesan (3): drm/msm: Additional definitio

[PATCH] drm/msm: Don't split an IB at the end of ring buffer.

2014-10-30 Thread Ganesan, Aravind
Splitting the command sequence for an IB1 submission at the end of the ring buffer can hang the GPU. To fix this, if there isn't enough contiguous space at the end to fit the full command sequence, insert NOPs at the end, and write the sequence at the start, as space becomes available. Signed-off

[PATCH 3/3] drm/msm: a4xx support for msm-drm

2014-10-30 Thread Ganesan, Aravind
Added a4xx GPU support. Signed-off-by: Aravind Ganesan --- Resend in patch-set format and with dri-devel at lists.freedesktop.org on the CC. drivers/gpu/drm/msm/Makefile | 1 + drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 620 + drivers/gpu/drm/msm/adr

[PATCH 2/3] drm/msm: Handle register offset differences between a3xx, and a4xx

2014-10-30 Thread Ganesan, Aravind
Register offsets have changed between a3xx and a4xx GPUs. To be able access these registers in common code, we create a lookup table, and set of read-write APIs to access the register through the lookup table. Signed-off-by: Aravind Ganesan --- Resend in patch-set format and with dri-devel at lis

[PATCH 1/3] drm/msm: Additional definitions for a3xx and a4xx

2014-10-30 Thread Ganesan, Aravind
Updated a3xx and a4xx headers, generated from rnndb files: https://github.com/freedreno/envytools Signed-off-by: Aravind Ganesan --- Resend in patch-set format and with dri-devel at lists.freedesktop.org on the CC. drivers/gpu/drm/msm/adreno/a3xx.xml.h | 50 +- drivers/gpu/drm/msm/adreno/a4xx

[PATCH 0/3] drm/msm: Adreno 4xx support

2014-10-30 Thread Ganesan, Aravind
A set of three patches to support adreno 4xx GPUs in msm-drm: (1) Updated the a3xx and a4xx header files. (2) Handle register offset differences between a3xx and a4xx GPUs. (3) Added a4xx GPU support. Aravind Ganesan (3): drm/msm: Additional definitions for a3xx and a4xx drm/msm: Handle regist