[PATCH v4 3/5] drm: add SimpleDRM driver

2016-09-02 Thread Daniel Vetter
On Fri, Sep 2, 2016 at 1:48 AM, David Herrmann wrote: > So either the drm_simple_kms_helpers are buggy, or the SimpleDRM use > of it. On DPMS updates, I get: > > Sep 02 01:00:39 david-t2 kernel: > [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* > [CRTC:25:crtc-0] flip_done tim

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-09-02 Thread David Herrmann
Hey On Mon, Aug 22, 2016 at 10:25 PM, Noralf Trønnes wrote: > The SimpleDRM driver binds to simple-framebuffer devices and provides a > DRM/KMS API. It provides only a single CRTC+encoder+connector combination > plus one initial mode. > > Userspace can create dumb-buffers which can be blit into

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-08-26 Thread Daniel Vetter
On Fri, Aug 26, 2016 at 12:11 AM, Noralf Trønnes wrote: > I'm really walking in the dark here. I have deleted drm_driver.gem_vm_ops > and used this function: > > int sdrm_drm_mmap(struct file *filp, struct vm_area_struct *vma) > { > struct drm_file *priv = filp->private_data; > struct drm

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-08-26 Thread Noralf Trønnes
Den 23.08.2016 08:17, skrev Daniel Vetter: > On Mon, Aug 22, 2016 at 10:25:23PM +0200, Noralf Trønnes wrote: >> The SimpleDRM driver binds to simple-framebuffer devices and provides a >> DRM/KMS API. It provides only a single CRTC+encoder+connector combination >> plus one initial mode. >> >> User

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-08-25 Thread Noralf Trønnes
Den 25.08.2016 15:09, skrev Rob Herring: > On Mon, Aug 22, 2016 at 3:25 PM, Noralf Trønnes > wrote: >> The SimpleDRM driver binds to simple-framebuffer devices and provides a >> DRM/KMS API. It provides only a single CRTC+encoder+connector combination >> plus one initial mode. >> >> Userspace c

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-08-25 Thread Rob Herring
On Mon, Aug 22, 2016 at 3:25 PM, Noralf Trønnes wrote: > The SimpleDRM driver binds to simple-framebuffer devices and provides a > DRM/KMS API. It provides only a single CRTC+encoder+connector combination > plus one initial mode. > > Userspace can create dumb-buffers which can be blit into the re

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-08-23 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 10:25:23PM +0200, Noralf Trønnes wrote: > The SimpleDRM driver binds to simple-framebuffer devices and provides a > DRM/KMS API. It provides only a single CRTC+encoder+connector combination > plus one initial mode. > > Userspace can create dumb-buffers which can be blit in

[PATCH v4 3/5] drm: add SimpleDRM driver

2016-08-22 Thread Noralf Trønnes
The SimpleDRM driver binds to simple-framebuffer devices and provides a DRM/KMS API. It provides only a single CRTC+encoder+connector combination plus one initial mode. Userspace can create dumb-buffers which can be blit into the real framebuffer similar to UDL. No access to the real framebuffer i