tags:

views:

84

answers:

2

I'm working on embedded device with screen rotated 90 degrees clockwise: screen controller reports 800x600 screen, while device's screen is 600x800 portrait.

What do you think, whose responsibility it is to compensate for this: should kernel rotate framebuffer to provide 800x600 screen as expected by upper-level software or applications (X server, bootsplash) should adapt and draw to rotated screen?

Every part of stack is free software, so there are no non-technical problems for modification, the question is more about logical soundness.

+1  A: 

It makes most sense for the screen driver to do it - the kernel after all is supposed to provide an abstraction of the device for the userspace applications to work with. If the screen is a 600x800 portrait oriented device, then that's what applications should see from the kernel.

caf
A: 

yes,I agree, The display driver should update the display accordingly and keep the control

pdssn