All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 203201] New: [mgag200] Unable to do mmap call on mgadrmfb device - Returns -EINVAL
Date: Tue, 09 Apr 2019 15:11:56 +0000	[thread overview]
Message-ID: <bug-203201-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=203201

            Bug ID: 203201
           Summary: [mgag200] Unable to do mmap call on mgadrmfb device -
                    Returns -EINVAL
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.4 LTS
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: olivier@bonhomme.io
        Regression: No

Hello dear kernel maintainers,

I'm trying to map memory on the frame buffer device fb0 provided by the mgag200
driver. However, that mmap call always returns -EINVAL code while the same
mmmap call works with other drivers (uvesafb for example).

After some investigations, I discovered that a patch which resolves that
problem has been produced by SuSe guys. The patch is available here :
https://lists.freedesktop.org/archives/dri-devel/2017-July/147650.html

I tested that patch on my 4.4.150 kernel and it resolved the problem.

I checked in the GIT kernel tree and it seems that this patch hasn't been
included in 4.4 branch nor in the current kernel branch while the same kind of
patch has been done for ast driver
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpu/drm/ast?h=linux-4.4.y&id=28fb4cb7fa6f63dc2fbdb5f2564dcbead8e3eee0)

It would be nice if that patch for mgag200 would be imported in the kernel
source tree.

Thanks

Regards,
Olivier Bonhomme

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2019-04-09 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-09 15:11 bugzilla-daemon [this message]
2024-01-08 10:31 ` [Bug 203201] [mgag200] Unable to do mmap call on mgadrmfb device - Returns -EINVAL bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-203201-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.