<
swabbles>
I think you are just supposed to do something like: var_info.xres * var_info.yres * var_info.bits_per_pixel / 8.
<
swabbles>
For the screen size.
<
ssvb>
swabbles: that's the 'var' info, which means that it can change if you change the video mode using the appropriate ioctls
<
swabbles>
Ah, well that's inconvenient :/.
<
ssvb>
well, it is likely that the exynos fbdev driver does not support the mode setting ioctls, so it could be actually safe
<
ssvb>
but piling up the workarounds is annoying
<
swabbles>
fbset -xres 800 -yres 600 just changes the tty area that is being used (clear only clears the upper-left 800x600 area).
<
swabbles>
But it does influence the "screen size" calculation.
<
tfiga>
ssvb: line_length * yres(_virtual)?
<
tfiga>
although I'm not sure what's wrong with exporting smem_len
tfiga has joined #linux-exynos
afaerber_ has joined #linux-exynos
afaerber has quit [Ping timeout: 245 seconds]
leming has quit [Ping timeout: 264 seconds]
afaerber_ is now known as afaerber
afaerber has quit [Quit: Verlassend]
afaerber has joined #linux-exynos
tfiga has quit [Read error: Connection reset by peer]
tfiga has joined #linux-exynos
leming has joined #linux-exynos
tfiga has joined #linux-exynos
tfiga has joined #linux-exynos
liquidAcid has joined #linux-exynos
afaerber has quit [Quit: Verlassend]
afaerber has joined #linux-exynos
liquidAcid has quit [Quit: Leaving]