Re: [PATCH 06/16] viafb: complete support for VX800/VX855 accelerated framebuffer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Florian Tobias Schandinat
Date: Thursday, April 8, 2010 - 9:21 pm

Jonathan Corbet schrieb:

The patch itself looks good. However I have a few minor issues below 
which could be addressed by follow-ups (or ignored for the moment).


this obsoletes
	/* Init 2D engine reg to reset 2D engine */
	writel(0x0, engine + VIA_REG_KEYCONTROL);
as VIA_REG_KEYCONTROL is 0x02C.


As in the previous patch I'd appreciate a default of
	printk(KERN_ALERT "viafb_xy: FIXME");
I have to admit to be consistent a few switches that are already there 
would need to be changed but that's another issue.


All of these defines are unused. I admit that it is my fault. I've not 
yet found a way I like to use them as the meaning of the same hardware 
address changed. I think the most clean long term solution would be to 
put the engines in separate files and the definitions in private headers 
to at least avoid the need to decode the engine version in the name.
However as the old headers already contain a bunch of trash feel free to 
ignore this issue and add it for now.


Thanks,

Florian Tobias Schandinat
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Initial OLPC Viafb merge, Jonathan Corbet, (Thu Apr 8, 10:15 am)
[PATCH 02/16] viafb: use proper pci config API, Jonathan Corbet, (Thu Apr 8, 10:15 am)
[PATCH 04/16] viafb: Retain GEMODE reserved bits, Jonathan Corbet, (Thu Apr 8, 10:15 am)
[PATCH 11/16] Minimal support for viafb suspend/resume, Jonathan Corbet, (Thu Apr 8, 10:15 am)
[PATCH 14/16] Remove cursor restore hack in viafb, Jonathan Corbet, (Thu Apr 8, 10:15 am)
[PATCH 15/16] viafb: rework suspend/resume, Jonathan Corbet, (Thu Apr 8, 10:15 am)
[PATCH 16/16] viafb: Only suspend/resume on VX855, Jonathan Corbet, (Thu Apr 8, 10:15 am)
Re: [PATCH 01/16] [FB] viafb: Fix various resource leaks d ..., Florian Tobias Schan ..., (Thu Apr 8, 11:22 am)
Re: [PATCH 02/16] viafb: use proper pci config API, Florian Tobias Schan ..., (Thu Apr 8, 11:42 am)
Re: [PATCH 03/16] viafb: Unmap the frame buffer on initial ..., Florian Tobias Schan ..., (Thu Apr 8, 11:55 am)
Re: [PATCH 04/16] viafb: Retain GEMODE reserved bits, Florian Tobias Schan ..., (Thu Apr 8, 8:07 pm)
Re: [PATCH 05/16] viafb: Determine type of 2D engine and s ..., Florian Tobias Schan ..., (Thu Apr 8, 8:20 pm)
Re: [PATCH 06/16] viafb: complete support for VX800/VX855 ..., Florian Tobias Schan ..., (Thu Apr 8, 9:21 pm)
Re: [RFC] Initial OLPC Viafb merge, Florian Tobias Schan ..., (Thu Apr 8, 10:43 pm)
Re: [RFC] Initial OLPC Viafb merge, Jonathan Corbet, (Fri Apr 9, 11:46 am)
Re: [PATCH 02/16] viafb: use proper pci config API, Jonathan Corbet, (Fri Apr 9, 12:46 pm)
Re: [PATCH 04/16] viafb: Retain GEMODE reserved bits, Jonathan Corbet, (Fri Apr 9, 12:59 pm)
Re: [PATCH 04/16] viafb: Retain GEMODE reserved bits, Florian Tobias Schan ..., (Fri Apr 9, 1:23 pm)
Re: [PATCH 04/16] viafb: Retain GEMODE reserved bits, Jonathan Corbet, (Fri Apr 9, 1:30 pm)
Re: [PATCH 05/16] viafb: Determine type of 2D engine and s ..., Florian Tobias Schan ..., (Fri Apr 9, 1:34 pm)
Re: [PATCH 07/16] viafb: Add 1200x900 DCON/LCD panel modes ..., Florian Tobias Schan ..., (Fri Apr 9, 2:27 pm)
Re: [PATCH 08/16] viafb: Do not probe for LVDS/TMDS on OLP ..., Florian Tobias Schan ..., (Fri Apr 9, 2:40 pm)
Re: [PATCH 09/16] viafb: rework the I2C support in the VIA ..., Florian Tobias Schan ..., (Fri Apr 9, 3:07 pm)
Re: [PATCH 10/16] suppress verbose debug messages: change ..., Florian Tobias Schan ..., (Fri Apr 9, 3:09 pm)
Re: [RFC] Initial OLPC Viafb merge, Florian Tobias Schan ..., (Fri Apr 9, 4:32 pm)
Re: [RFC] Initial OLPC Viafb merge, Jonathan Corbet, (Fri Apr 9, 5:27 pm)
Re: [PATCH 08/16] viafb: Do not probe for LVDS/TMDS on OLP ..., Florian Tobias Schan ..., (Fri Apr 9, 5:42 pm)
Re: [RFC] Initial OLPC Viafb merge, Florian Tobias Schan ..., (Fri Apr 9, 6:02 pm)
Re: [PATCH 02/16] viafb: use proper pci config API, Harald Welte, (Fri Apr 9, 11:41 pm)
Re: [RFC] Initial OLPC Viafb merge, Bruno Prémont, (Sat Apr 10, 1:52 am)
Re: [RFC] Initial OLPC Viafb merge, Florian Tobias Schan ..., (Mon Apr 12, 8:03 pm)
Re: [PATCH 05/16] viafb: Determine type of 2D engine and s ..., Florian Tobias Schan ..., (Sun Apr 18, 11:05 am)
Re: [PATCH 07/16] viafb: Add 1200x900 DCON/LCD panel modes ..., Florian Tobias Schan ..., (Sun Apr 18, 11:24 am)
Re: [RFC] Initial OLPC Viafb merge, Jonathan Corbet, (Wed Apr 21, 1:37 pm)