[PATCH] drm: imx: Fix occasional screen corruption on modeset.

2020-07-08 Thread Martin Fuzzey
fixes this. Signed-off-by: Martin Fuzzey --- drivers/gpu/drm/imx/ipuv3-crtc.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/imx/ipuv3-crtc.c b/drivers/gpu/drm/imx/ipuv3-crtc.c index 63c0284..9137b64 100644 --- a/drivers/gpu/drm/imx/ipuv3-crtc.c +++ b/d

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-07 Thread Martin Fuzzey
On 06/08/18 21:05, Rob Herring wrote: On Fri, Aug 3, 2018 at 1:50 PM Sean Paul wrote: Fwiw, I'd lean towards allowing DUMB allocation from the render nodes. I understand it limits use cases that are undesirable, but it is also limiting usecases that are desirable. So, given that people are

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-06 Thread Martin Fuzzey
Hi Emil, On 03/08/18 14:35, Emil Velikov wrote: Hi Martin, On 1 August 2018 at 15:24, Martin Fuzzey wrote: Let's start with the not-so obvious question: Why does one open the imx as render node? Of the top of my head: There is nothing in egl/android that should require an authenticated

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-02 Thread Martin Fuzzey
. Here is my full patch: Make imx-drm export a render node so that mesa can use it to allocate From: Martin Fuzzey Date: 2018-07-26 15:37:28 +0200 dumb memory rather than requiring the master node. The problem with using the master node is that, on android 8.1, drm_hwcomposer is a seperate process

Android i.mx6 drm_hwcomposer

2017-11-20 Thread Martin Fuzzey
Hi, I'm trying to get Android graphics working on i.MX6 using upstream versions: Kernel 4.14 Mesa: mesa-17.3.0-rc2 Libdrm: libdrm-2.4.88 drm_hwcomposer (git head) gbm_gralloc (git head from git://github.com/robherring) I want to run on Android 5, which only has HWC1, the code for that