All of lore.kernel.org
 help / color / mirror / Atom feed
From: pavel@ucw.cz (Pavel Machek)
To: linux-snps-arc@lists.infradead.org
Subject: UDL's fbdev doesn't work for user-space apps
Date: Sat, 9 Dec 2017 18:20:22 +0100	[thread overview]
Message-ID: <20171209172022.GC19862@localhost> (raw)
In-Reply-To: <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com>

On Mon 2017-12-04 11:50:40, Jose Abreu wrote:
> Hi Alexey,
> 
> On 04-12-2017 11:32, Alexey Brodkin wrote:
> > My first [probably incorrect] assumption is Xserver requires fbdev (/dev/fbX)
> > and it cannot use DRI video card natively. Is that correct?
> >
> >
> 
> Xserver can use DRI directly, you need to enable modesetting
> driver in Xorg config or use the designated driver for your card
> (if there is any).

Still, dev/fb1 should work. Can be tested using dd, even :-)

Best regards,
									Pavel
> 
> e.g.:
> 
> Section "Device"
>         Identifier "Card0"
>         Driver "modesetting"
>         Option "kmsdev" "/dev/dri/card0"
>         Option "SWcursor" "true"
>         BusID "PCI:X:X:X"
> EndSection
> 
> Best Regards,
> Jose Miguel Abreu

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: "tutankhamen@chromium.org" <tutankhamen@chromium.org>,
	"daniel.vetter@ffwll.ch" <daniel.vetter@ffwll.ch>,
	Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"airlied@redhat.com" <airlied@redhat.com>,
	"linux-snps-arc@lists.infradead.org"
	<linux-snps-arc@lists.infradead.org>,
	"hshi@chromium.org" <hshi@chromium.org>
Subject: Re: UDL's fbdev doesn't work for user-space apps
Date: Sat, 9 Dec 2017 18:20:22 +0100	[thread overview]
Message-ID: <20171209172022.GC19862@localhost> (raw)
In-Reply-To: <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com>

On Mon 2017-12-04 11:50:40, Jose Abreu wrote:
> Hi Alexey,
> 
> On 04-12-2017 11:32, Alexey Brodkin wrote:
> > My first [probably incorrect] assumption is Xserver requires fbdev (/dev/fbX)
> > and it cannot use DRI video card natively. Is that correct?
> >
> >
> 
> Xserver can use DRI directly, you need to enable modesetting
> driver in Xorg config or use the designated driver for your card
> (if there is any).

Still, dev/fb1 should work. Can be tested using dd, even :-)

Best regards,
									Pavel
> 
> e.g.:
> 
> Section "Device"
>         Identifier "Card0"
>         Driver "modesetting"
>         Option "kmsdev" "/dev/dri/card0"
>         Option "SWcursor" "true"
>         BusID "PCI:X:X:X"
> EndSection
> 
> Best Regards,
> Jose Miguel Abreu

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
	"airlied@gmail.com" <airlied@gmail.com>,
	"tutankhamen@chromium.org" <tutankhamen@chromium.org>,
	"daniel.vetter@ffwll.ch" <daniel.vetter@ffwll.ch>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"airlied@redhat.com" <airlied@redhat.com>,
	"linux-snps-arc@lists.infradead.org" 
	<linux-snps-arc@lists.infradead.org>,
	"hshi@chromium.org" <hshi@chromium.org>
Subject: Re: UDL's fbdev doesn't work for user-space apps
Date: Sat, 9 Dec 2017 18:20:22 +0100	[thread overview]
Message-ID: <20171209172022.GC19862@localhost> (raw)
In-Reply-To: <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com>

On Mon 2017-12-04 11:50:40, Jose Abreu wrote:
> Hi Alexey,
> 
> On 04-12-2017 11:32, Alexey Brodkin wrote:
> > My first [probably incorrect] assumption is Xserver requires fbdev (/dev/fbX)
> > and it cannot use DRI video card natively. Is that correct?
> >
> >
> 
> Xserver can use DRI directly, you need to enable modesetting
> driver in Xorg config or use the designated driver for your card
> (if there is any).

Still, dev/fb1 should work. Can be tested using dd, even :-)

Best regards,
									Pavel
> 
> e.g.:
> 
> Section "Device"
>         Identifier "Card0"
>         Driver "modesetting"
>         Option "kmsdev" "/dev/dri/card0"
>         Option "SWcursor" "true"
>         BusID "PCI:X:X:X"
> EndSection
> 
> Best Regards,
> Jose Miguel Abreu

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  parent reply	other threads:[~2017-12-09 17:20 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-04 11:32 UDL's fbdev doesn't work for user-space apps Alexey Brodkin
2017-12-04 11:32 ` Alexey Brodkin
2017-12-04 11:50 ` Jose Abreu
2017-12-04 11:50   ` Jose Abreu
2017-12-04 11:50   ` Jose Abreu
2017-12-04 13:16   ` xf86-video-armada via UDL [was: Re: UDL's fbdev doesn't work for user-space apps] Alexey Brodkin
2017-12-04 13:16     ` Alexey Brodkin
2017-12-04 14:02     ` Jose Abreu
2017-12-04 14:02       ` Jose Abreu
2017-12-04 14:02       ` Jose Abreu
2017-12-04 14:53       ` Alexey Brodkin
2017-12-04 14:53         ` Alexey Brodkin
2017-12-04 15:55         ` Jose Abreu
2017-12-04 15:55           ` Jose Abreu
2017-12-04 15:55           ` Jose Abreu
2017-12-04 16:00           ` Alexey Brodkin
2017-12-04 16:00             ` Alexey Brodkin
2017-12-04 17:24             ` Jose Abreu
2017-12-04 17:24               ` Jose Abreu
2017-12-04 17:29               ` Alexey Brodkin
2017-12-04 17:29                 ` Alexey Brodkin
2017-12-05 10:39                 ` Jose Abreu
2017-12-05 10:39                   ` Jose Abreu
2017-12-05 10:39                   ` Jose Abreu
2017-12-05 11:53                   ` Alexey Brodkin
2017-12-05 11:53                     ` Alexey Brodkin
2017-12-05 11:53                     ` Alexey Brodkin
2017-12-05 12:26                     ` Jose Abreu
2017-12-05 12:26                       ` Jose Abreu
2017-12-05 12:26                       ` Jose Abreu
2017-12-05 14:47                       ` Alexey Brodkin
2017-12-05 14:47                         ` Alexey Brodkin
2017-12-04 17:52       ` Emil Velikov
2017-12-04 17:52         ` Emil Velikov
2017-12-04 17:52         ` Emil Velikov
2017-12-09 17:20   ` Pavel Machek [this message]
2017-12-09 17:20     ` UDL's fbdev doesn't work for user-space apps Pavel Machek
2017-12-09 17:20     ` Pavel Machek
2017-12-12 19:48     ` Alexey Brodkin
2017-12-12 19:48       ` Alexey Brodkin
2017-12-12 21:12       ` Pavel Machek
2017-12-12 21:12         ` Pavel Machek
2017-12-12 21:12         ` Pavel Machek
2017-12-12 21:58 ` Noralf Trønnes
2017-12-12 21:58   ` Noralf Trønnes
2017-12-12 21:58   ` Noralf Trønnes
2017-12-13 21:53   ` Alexey Brodkin
2017-12-13 21:53     ` Alexey Brodkin

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=20171209172022.GC19862@localhost \
    --to=pavel@ucw.cz \
    --cc=linux-snps-arc@lists.infradead.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.