linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] PMAG-AA frame buffer driver rework
@ 2016-02-22  1:54 Maciej W. Rozycki
  2016-02-22  1:54 ` [PATCH 1/7] video: fbdev: pmag-aa-fb: Adapt to current APIs Maciej W. Rozycki
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Maciej W. Rozycki @ 2016-02-22  1:54 UTC (permalink / raw)
  To: Jean-Christophe Plagniol-Villard, Tomi Valkeinen,
	Geert Uytterhoeven
  Cc: linux-fbdev, linux-kernel

Hi,

 This is an update to the PMAG-AA frame buffer driver to adapt it to our 
current APIs, which I promised a while ago (too much of a while, which I 
apologise for).

 This series starts with a change that makes the driver build and retains 
its previous functionality.  A bunch of further clean-ups follow, each of 
which is explained individually.  There's a potential in this code for 
further clean-ups and improvements, but the weekend is running out quick 
now, so I had to stop somewhere.  Next time then.

 A couple of checkpatch.pl warnings are noted.

 First on using `printk(KERN_ERR ...' rather tha `pr_err'.  I could 
probably fix it, but I think it's not worth it by itself, the interface is 
not wrong and the issue is mainly cosmetical.  I think I'll just go across 
all the pmag* drivers at once and bulk convert these calls sometime.

 Second on using `mb()' (without a comment).  This is not a new problem as 
the driver has lots of these calls throughout.  Fixing them is blocked on 
the unavailability of generic cross-platform MMIO synchronisation and 
completion barriers.  See the discussion at: 
<http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=alpine.LFD.2.11.1404280048540.11598%40eddie.linux-mips.org> 
for details.  Most TURBOchannel drivers suffer from this problem due to 
the complexities around many MIPS processors being weakly ordered, 
including in particular those used in TURBOchannel systems.  Once the 
generic issue of MMIO barriers has been sorted out the hacks to use memory 
barriers (which just happen to DTRT on the MIPS platform, because there's 
just a single underlying mechanism for all kinds of barriers in the MIPS
architecture) in their place can be removed.

 All of these pieces have been visually tested with a live specimen.  VT 
only however at this point, no X11.

 Please apply,

  Maciej

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-27 22:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  1:54 [PATCH 0/7] PMAG-AA frame buffer driver rework Maciej W. Rozycki
2016-02-22  1:54 ` [PATCH 1/7] video: fbdev: pmag-aa-fb: Adapt to current APIs Maciej W. Rozycki
2016-02-22  1:55 ` [PATCH 2/7] video: fbdev: pmag-aa-fb: Enable building as a module Maciej W. Rozycki
2016-02-22  1:55 ` [PATCH 3/7] video: fbdev: pmag-aa-fb: Report video timings Maciej W. Rozycki
2016-02-22  1:55 ` [PATCH 4/7] video: fbdev: bt455: Remove unneeded colormap helpers for cursor support Maciej W. Rozycki
2016-02-22  1:55 ` [PATCH 5/7] video: fbdev: pmag-ba-fb: Fix and rework Bt455 colormap handling Maciej W. Rozycki
2016-02-22  1:55 ` [PATCH 6/7] video: fbdev: pmag-ba-fb: Optimize Bt455 colormap addressing Maciej W. Rozycki
2016-02-22  1:55 ` [PATCH 7/7] video: fbdev: bt431: Correct cursor format control macro Maciej W. Rozycki
2016-02-26 11:15 ` [PATCH 0/7] PMAG-AA frame buffer driver rework Tomi Valkeinen
2016-02-27 22:23   ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).