Dear Thomas,
1. In your patchset the patch fb-radeon-intel.patch [1] does include changes to drivers/video/intelfb/intelfbhw.c although in the install instructions [2] it is stated that intel drivers do not need to be modified.
The changelog in 0.11 includes these two items.
- patch against intelfb (kernel 2.6.26) to allow for PAL/SCART video timings. You now can use a regular SCART CRT as display for linux console. - fixed a bug in intelfb initialization which sporadically setup video timing with weirdous values
I guess the installation instructions need to be updated for release 0.11.
If this is correct I would update the instructions.
2. Well I was going to ask this question on linux-fbdev-devel but did not do so until I get a reply to my other message.
a) Why is MIN_CLOCK set to 25000 in intelfbhw.h [3]? What would be the downside of setting it to 10000?
b) Where do I get information about the registers, like what DPLL_A and DPLL_VCO_ENABLE is? In the header file some values are assigned to them, but where is it documented what they mean?
DPLL_A VCO for interlaced mode 800x520@50i\n"); OUTREG(DPLL_A, INREG(DPLL_A) & ~DPLL_VCO_ENABLE);
Thanks,
Paul
[1] http://git.hellersdorfer-jugendchor.de/?p=vga2scart.git;a=blob;f=patches/fb-... [2] http://vga2scart.gw90.de/install/ (last section) [3] http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.28.y.git;a=blob;f...
On Wed, Mar 11, 2009 at 06:15:04PM +0100, Paul Menzel wrote:
- In your patchset the patch fb-radeon-intel.patch [1] does include
changes to drivers/video/intelfb/intelfbhw.c although in the install instructions [2] it is stated that intel drivers do not need to be modified.
sorry, install instructions are not up to date for the Intel version of the patch.
The changelog in 0.11 includes these two items.
- patch against intelfb (kernel 2.6.26) to allow for PAL/SCART video timings. You now can use a regular SCART CRT as display for linux console.
- fixed a bug in intelfb initialization which sporadically setup video timing with weirdous values
I guess the installation instructions need to be updated for release 0.11.
right. as said installation instructions have not been touched since a while. I just included the plain Intel patches into the package. There was not yet too much interest in the patches anyway. So I did not want to waste my time for documentation:-)
If this is correct I would update the instructions.
thank you for that.
a) Why is MIN_CLOCK set to 25000 in intelfbhw.h [3]? What would be the downside of setting it to 10000?
MIN_CLOCK is set to 12000 by the patch. What allows for SCART suitable dotclocks. I don't know why the original driver denies such low clock frequencies.
b) Where do I get information about the registers, like what DPLL_A and DPLL_VCO_ENABLE is? In the header file some values are assigned to them, but where is it documented what they mean?
DPLL_A (DPLLA_CTRL-DPLL A Control Register) is documented here:
Intel® 965 Express Chipset Family, Volume Three Section: Display Clock Control Registers
The doc can be found here: http://intellinuxgraphics.org/documentation.html
Cheers Thomas
On Thu, Mar 12, 2009 at 06:31:47PM +0100, Thomas Hilber wrote:
a) Why is MIN_CLOCK set to 25000 in intelfbhw.h [3]? What would be the downside of setting it to 10000?
MIN_CLOCK is set to 12000 by the patch. What allows for SCART suitable dotclocks. I don't know why the original driver denies such low clock frequencies.
I forgot to say patching the intelfb is only needed if you even want to run the linux console in VGA2SCART mode.
For the Xserver in VGA2SCART+FRC mode it's not needed.
- Thomas
Am Donnerstag, den 12.03.2009, 19:08 +0100 schrieb Thomas Hilber:
On Thu, Mar 12, 2009 at 06:31:47PM +0100, Thomas Hilber wrote:
a) Why is MIN_CLOCK set to 25000 in intelfbhw.h [3]? What would be the downside of setting it to 10000?
MIN_CLOCK is set to 12000 by the patch. What allows for SCART suitable dotclocks. I don't know why the original driver denies such low clock frequencies.
I forgot to say patching the intelfb is only needed if you even want to run the linux console in VGA2SCART mode.
For the Xserver in VGA2SCART+FRC mode it's not needed.
Thanks. I figured that after reading a lot of threads. (And thanks for your other answer.)
I hope, you have seen my message to linux-fbdev-devel [1]. I will try to do what Krzysztof suggested, but will have to read more about that. Maybe we get it into Linux kernel 2.6.30.
Should we continue discussion about this on linux-fbdev-devel, that means, can subscribe there?
Thanks,
Paul
[1] http://sourceforge.net/mailarchive/forum.php?thread_name=1236701836.4068.85....
On Thu, Mar 12, 2009 at 07:36:01PM +0100, Paul Menzel wrote:
I hope, you have seen my message to linux-fbdev-devel [1]. I will try to do what Krzysztof suggested, but will have to read more about that. Maybe we get it into Linux kernel 2.6.30.
yeah, I've seen that.
Should we continue discussion about this on linux-fbdev-devel, that means, can subscribe there?
I subscribed to linux-fbdev-devel. But haven't had the time to adapt the patch as requested.
- Thomas
On Thu, Mar 12, 2009 at 07:36:53PM +0100, Torgeir Veimo wrote:
Did you look into making your approach work with DirectFB yet?
I don't think it's a big deal to port the Intel version of the FRC patch to DirectFB.
But sorry, I don't use DirectFB. I can't see much advantage over a plain Xserver unless running something like an embedded system.
- Thomas
Am Donnerstag, den 12.03.2009, 18:31 +0100 schrieb Thomas Hilber:
On Wed, Mar 11, 2009 at 06:15:04PM +0100, Paul Menzel wrote:
- In your patchset the patch fb-radeon-intel.patch [1] does include
changes to drivers/video/intelfb/intelfbhw.c although in the install instructions [2] it is stated that intel drivers do not need to be modified.
sorry, install instructions are not up to date for the Intel version of the patch.
The changelog in 0.11 includes these two items.
- patch against intelfb (kernel 2.6.26) to allow for PAL/SCART video timings. You now can use a regular SCART CRT as display for linux console.
- fixed a bug in intelfb initialization which sporadically setup video timing with weirdous values
I guess the installation instructions need to be updated for release 0.11.
right. as said installation instructions have not been touched since a while. I just included the plain Intel patches into the package. There was not yet too much interest in the patches anyway. So I did not want to waste my time for documentation:-)
If this is correct I would update the instructions.
thank you for that.
Done (commit 89ddb9af67be949be3be01f795f964926728f45a). Not much, but I hope alright.
Thanks,
Paul