> I guess that it is failing to find the old kgsl shim drm driver, which
> enabled allocation of GEM buffers for pixmaps. I know Wladimir played
> a bit with this on imx5, but I think he was just using gbm/kms and not
> x11. I guess he was using imx-drm for GEM buffer allocation?
kely :)
If the registers of the GPU return 0, it's likely that either the base
address in the dts is not correct, or the device is not powered on /
clocked properly.
If there is a kernel available for your device that does successfully
enables the GPU y
Hello Abhijit,
On Thu, Aug 10, 2017 at 07:45:03PM +0530, abhijit wrote:
> Hi Wladimir,
>
> Thank you very much for the reply.
>
> I am able to build the kernel, drm and mesa components.
>
> After loading the kernel, I am getting following entries,
> /dev/gsl_kmo
at that.
Using the 3D hardware makes sense, however. For example the application I'm
working on is also mostly a 2D application, it is built with Qt Quick, which
uses OpenGL ES 2 as rendering backend.
Regards,
Wladimir
___
Freedreno ma
On Fri, Aug 25, 2017 at 12:48:22AM -0400, Ilia Mirkin wrote:
> The rest should be possible too, just needs some additional
> investigation. Passes fbo-*-formats piglit tests.
Reviewed-by: Wladimir J. van der Laan
> Signed-off-by: Ilia Mirkin
> ---
> src/gallium/drivers
Hello abhijit,
On Thu, Nov 16, 2017 at 01:02:21PM +0530, abhijit wrote:
> Hi Wladimir,
>
> Thank you very much for you response.
>
> I am using the kernel which is provided by you and I was able to
> successfully get the GPU driver on to imx53 based QSRB board.
>
> I
the patch stack.
Wladimir J. van der Laan (7):
freedreno: a2xx: Update rnndb header
freedreno: a2xx: Fix fd2_tex_swiz
freedreno: a2xx: Prevent crash in emit_texture if view is not set
freedreno: a2xx: Support TEXTURE_RECT
freedreno: a2xx: Compressed textures support
freedreno: a2xx: imp
Compose swizzles using util_format_compose_swizzles instead
of the custom code (which somehow had a bug).
This makes the GL_ALPHA internal format work.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_util.c | 18 +-
1 file changed, 9
Extend translate_sge_slt to emit these, in analogous fashion
but using CNDEv.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 23 ---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/freedreno
Denormalized texture coordinates are required for text rendering in
GALLIUM_HUD.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 3 ++-
src/gallium/drivers/freedreno/a2xx/ir-a2xx.c | 1 +
src/gallium/drivers/freedreno/a2xx/ir-a2xx.h | 1
Use DOT2ADDv instruction with 0.0f constant add.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_compiler.c
b/src/gallium/drivers
Add support for:
- PIPE_FORMAT_ETC1_RGB8
- PIPE_FORMAT_DXT1_RGB
- PIPE_FORMAT_DXT1_RGBA
- PIPE_FORMAT_DXT3_RGBA
- PIPE_FORMAT_DXT5_RGBA
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_util.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src
Also update BLEND_ to BLEND2_ opcodes to accomodate.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/a2xx.xml.h | 33 +++
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c | 4 ++--
2 files changed, 15 insertions(+), 22 deletions(-)
diff
Textures will sometimes be updated if texture view state was
un-set, without this change that causes an assertion crash or
segfault.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff
On Thu, Jan 25, 2018 at 08:40:00AM -0500, Ilia Mirkin wrote:
> On Thu, Jan 25, 2018 at 8:29 AM, Wladimir J. van der Laan
> wrote:
> > Also update BLEND_ to BLEND2_ opcodes to accomodate.
>
> Are you saying this doesn't compile right now? I would have expected
>
On Thu, Jan 25, 2018 at 08:41:11AM -0500, Ilia Mirkin wrote:
> Should you also expose PIPE_CAP_TEXTURE_RECTANGLE? (Or whatever it's
> called... I forget.)
Yes, good point, will add that.
Wladimir
___
Freedreno mailing lis
that all Gallium drivers support, or at
least emulate this.
For example in src/mesa/state_tracker/st_extensions.c:
extensions->NV_texture_rectangle = GL_TRUE;
Regards,
Wladimir
___
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://li
The format enumeration comes comes from the yamoto
register headers that are part of the amd-gpu kernel driver.
(see freedreno envytools commit 1b32c444f82cd7144d71602106462f59f146c1d0)
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/a2xx.xml.h | 33
the patch stack.
Changes since first post:
- Split up rnndb patch into a patch that changes formate numeration
and one that changed BLEND->BLEND2.
- fd2_emit emit_texture const correctness.
I checked that there is no Gallium capability to be set for TEXTURE_RECT.
Wladimir J. van der Laan (8)
Denormalized texture coordinates are required for text rendering in
GALLIUM_HUD.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 3 ++-
src/gallium/drivers/freedreno/a2xx/ir-a2xx.c | 1 +
src/gallium/drivers/freedreno/a2xx/ir-a2xx.h | 1
Change use of BLEND_ to BLEND2_,
BLEND_* a3xx_rb_blend_opcode
BLEND2_* is a2xx_rb_blend_opcode
This makes no effective difference as the used enumerant has the same
value (0), but the other enumerants do not match 1-to-1 so this will
avoid future problems.
Signed-off-by: Wladimir J. van
Compose swizzles using util_format_compose_swizzles instead
of the custom code (which somehow had a bug).
This makes the GL_ALPHA internal format work.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_util.c | 18 +-
1 file changed, 9
Extend translate_sge_slt to emit these, in analogous fashion
but using CNDEv.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 23 ---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/freedreno
Add support for:
- PIPE_FORMAT_ETC1_RGB8
- PIPE_FORMAT_DXT1_RGB
- PIPE_FORMAT_DXT1_RGBA
- PIPE_FORMAT_DXT3_RGBA
- PIPE_FORMAT_DXT5_RGBA
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_util.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src
Use DOT2ADDv instruction with 0.0f constant add.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_compiler.c
b/src/gallium/drivers
Textures will sometimes be updated if texture view state was
un-set, without this change that causes an assertion crash or
segfault.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions
sue here is that I had set my editor for spaces due to the other
parts of mesa)
> Reviewed-by: Ilia Mirkin
Thanks.
Wladimir
___
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
Compose swizzles using util_format_compose_swizzles instead
of the custom code (which somehow had a bug).
This makes the GL_ALPHA internal format work.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx/fd2_util.c | 18 +-
1
Change use of BLEND_ to BLEND2_,
BLEND_* a3xx_rb_blend_opcode
BLEND2_* is a2xx_rb_blend_opcode
This makes no effective difference as the used enumerant has the same
value (0), but the other enumerants do not match 1-to-1 so this will
avoid future problems.
Signed-off-by: Wladimir J. van
Textures will sometimes be updated if texture view state was
un-set, without this change that causes an assertion crash or
segfault.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 13 ++---
1 file changed, 10
Denormalized texture coordinates are required for text rendering in
GALLIUM_HUD.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 3 ++-
src/gallium/drivers/freedreno/a2xx/ir-a2xx.c | 1 +
src/gallium/drivers
p patch 6,7,8
Wladimir J. van der Laan (8):
freedreno: a2xx: Update rnndb header for formats enumeration
freedreno: a2xx: Change use of BLEND_ to BLEND2_
freedreno: a2xx: Fix fd2_tex_swiz
freedreno: a2xx: Prevent crash in emit_texture if view is not set
freedreno: a2xx: Support
Use DOT2ADDv instruction with 0.0f constant add.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 21 +
1 file changed, 21 insertions(+)
Change since v2: spaces->tabs
diff --git a/src/gallium/driv
Extend translate_sge_slt to emit these, in analogous fashion
but using CNDEv.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c | 23 ---
1 file changed, 20 insertions(+), 3 deletions(-)
Change since v2
Add support for:
- PIPE_FORMAT_ETC1_RGB8
- PIPE_FORMAT_DXT1_RGB
- PIPE_FORMAT_DXT1_RGBA
- PIPE_FORMAT_DXT3_RGBA
- PIPE_FORMAT_DXT5_RGBA
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx/fd2_util.c | 11 +++
1 file changed, 11
The format enumeration comes comes from the yamoto
register headers that are part of the amd-gpu kernel driver.
(see freedreno envytools commit 1b32c444f82cd7144d71602106462f59f146c1d0)
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/freedreno/a2xx
06d0d11d0b238ab2ba2d4dd9d43.
> Reviewed-by: Rob Clark
Thanks!
Regards,
Wladimir
___
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
37 matches
Mail list logo