All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Dave Airlie <airlied@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	Paulius Zaleckas <paulius.zaleckas@gmail.com>,
	Michal Suchanek <hramrach@centrum.cz>,
	Alex Deucher <alexdeucher@gmail.com>,
	dri-devel@lists.sourceforge.net
Subject: Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video  mode
Date: Sun, 14 Mar 2010 12:41:20 +0100	[thread overview]
Message-ID: <1268566880.9302.65.camel@thor.local> (raw)
In-Reply-To: <21d7e9971003131301r723f3311p3553ea8a1a86bf0a@mail.gmail.com>

On Sun, 2010-03-14 at 07:01 +1000, Dave Airlie wrote: 
> 
> The big issue we have with resizing the buffer is userspace mmaps of the fbdev
> device, and invalidation.
> Previous thread of unresolvedness is here.
> http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg41878.html

Actually AFAIR (and reading through it again seems to confirm this)
userspace mappings should be fully handled by the last patch series I
posted back then[0]. The problem was that the struct fb_ops hooks may be
called by the kernel from pretty much any context, and neither I nor
Thomas was sure how to handle the TTM locking given that. Maybe James
has ideas for this given his better familiarity with fbdev internals.


[0] Though that was really only about making it possible to unpin the
fbcon BO while it isn't being displayed, resizing it might involve other
issues I'm not aware of.

-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: "Michel Dänzer" <michel@daenzer.net>
To: Dave Airlie <airlied@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	Paulius Zaleckas <paulius.zaleckas@gmail.com>,
	Michal Suchanek <hramrach@centrum.cz>,
	Alex Deucher <alexdeucher@gmail.com>,
	dri-devel@lists.sourceforge.net
Subject: Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode
Date: Sun, 14 Mar 2010 12:41:20 +0100	[thread overview]
Message-ID: <1268566880.9302.65.camel@thor.local> (raw)
In-Reply-To: <21d7e9971003131301r723f3311p3553ea8a1a86bf0a@mail.gmail.com>

On Sun, 2010-03-14 at 07:01 +1000, Dave Airlie wrote: 
> 
> The big issue we have with resizing the buffer is userspace mmaps of the fbdev
> device, and invalidation.
> Previous thread of unresolvedness is here.
> http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg41878.html

Actually AFAIR (and reading through it again seems to confirm this)
userspace mappings should be fully handled by the last patch series I
posted back then[0]. The problem was that the struct fb_ops hooks may be
called by the kernel from pretty much any context, and neither I nor
Thomas was sure how to handle the TTM locking given that. Maybe James
has ideas for this given his better familiarity with fbdev internals.


[0] Though that was really only about making it possible to unpin the
fbcon BO while it isn't being displayed, resizing it might involve other
issues I'm not aware of.

-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

  reply	other threads:[~2010-03-14 11:41 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 13:16 [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Paulius Zaleckas
2009-11-20 15:55 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Clemens Ladisch
2009-11-20 18:53 ` James Simmons
2009-11-20 19:05 ` Andrew Morton
2009-11-20 19:39 ` Paulius Zaleckas
2009-11-20 20:01 ` James Simmons
2009-11-20 20:13 ` Paulius Zaleckas
2009-11-20 20:48 ` James Simmons
2009-11-21  4:25 ` Dave Airlie
2009-11-21  4:27 ` Dave Airlie
2010-03-01  9:18   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michal Suchanek
2010-03-01  9:18     ` Michal Suchanek
2010-03-03  5:02     ` Dave Airlie
2010-03-03  5:02       ` Dave Airlie
2010-03-03  8:23       ` Michal Suchanek
2010-03-03  8:23         ` Michal Suchanek
2010-03-03  9:23         ` Dave Airlie
2010-03-03  9:23           ` Dave Airlie
2010-03-03 10:32           ` Michal Suchanek
2010-03-03 10:32             ` Michal Suchanek
2010-03-10 18:11             ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 18:11               ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-10 21:04               ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Ville Syrjälä
2010-03-10 21:04                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Ville Syrjälä
2010-03-10 21:16                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Michal Suchanek
2010-03-10 21:16                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michal Suchanek
2010-03-11  2:24                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-11  2:24                     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-11  2:22                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-11  2:22                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-11  5:03                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Ville Syrjälä
2010-03-11  5:03                     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Ville Syrjälä
2010-03-10 18:04           ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 18:04             ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-10 17:42       ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 17:42         ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-10 18:05         ` Alex Deucher
2010-03-10 18:05           ` Alex Deucher
2010-03-10 18:10           ` Alex Deucher
2010-03-10 18:10             ` Alex Deucher
2010-03-10 18:47             ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 18:47               ` drm_fb_helper: Impossible to change video mode James Simmons
2010-03-10 19:49               ` [Linux-fbdev-devel] " Michal Suchanek
2010-03-10 19:49                 ` Michal Suchanek
2010-03-10 20:06               ` Alex Deucher
2010-03-10 20:06                 ` Alex Deucher
2010-03-11 10:13             ` Michel Dänzer
2010-03-11 10:13               ` Michel Dänzer
2010-03-11 10:31               ` Pauli Nieminen
2010-03-11 10:31                 ` Pauli Nieminen
2010-03-11 15:12               ` Alex Deucher
2010-03-11 15:12                 ` Alex Deucher
2010-03-11 15:17                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-11 15:17                   ` drm_fb_helper: Impossible to change video mode James Simmons
2010-03-11 15:47                   ` [Linux-fbdev-devel] " Michal Suchanek
2010-03-11 15:47                     ` Michal Suchanek
2010-03-12 14:52                     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-12 14:52                       ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-12 20:51                       ` Dave Airlie
2010-03-12 20:51                         ` Dave Airlie
2010-03-13 14:40                         ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-13 14:40                           ` drm_fb_helper: Impossible to change video mode James Simmons
2010-03-13 21:01                           ` [Linux-fbdev-devel] " Dave Airlie
2010-03-13 21:01                             ` Dave Airlie
2010-03-14 11:41                             ` Michel Dänzer [this message]
2010-03-14 11:41                               ` Michel Dänzer
2010-03-15 18:38                               ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-15 18:38                                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-16 13:46                                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Michel Dänzer
2010-03-16 13:46                                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michel Dänzer
2010-03-16 13:56                                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-16 13:56                                     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-16 14:00                                     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Michel Dänzer
2010-03-16 14:00                                       ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michel Dänzer
2010-03-25 12:30                                       ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-25 12:30                                         ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons
2010-03-15 18:22                             ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-15 18:22                               ` drm_fb_helper: Impossible to change video mode James Simmons
2010-03-10 20:58         ` [Linux-fbdev-devel] " Michal Suchanek
2010-03-10 20:58           ` Michal Suchanek
2010-03-11  3:41           ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-11  3:41             ` drm_fb_helper: Impossible to change video mode James Simmons
2010-03-10 17:35     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 17:35       ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode James Simmons

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=1268566880.9302.65.camel@thor.local \
    --to=michel@daenzer.net \
    --cc=airlied@gmail.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=hramrach@centrum.cz \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=paulius.zaleckas@gmail.com \
    /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.