public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* Taking tiling and rotation into account in watermark computations
@ 2014-10-06 16:11 Tvrtko Ursulin
  2014-10-07 10:22 ` Ville Syrjälä
  0 siblings, 1 reply; 3+ messages in thread
From: Tvrtko Ursulin @ 2014-10-06 16:11 UTC (permalink / raw)
  To: intel-gfx


Hi all,

We need to refactor the current code a bit to allow parameters like 
plane rotation and framebuffer tiling mode be taken into account when 
calculating display watermarks.

I looked into this code a bit and am at the moment a bit confused with 
what is where and why.

For example the purpose of plane_config in intel_crtc seems a bit thin, 
or why it is created once on driver init. Then again watermark 
parameters are embedded in intel_plane, which is separate from 
plane_config. And where is the link between intel_crtc and intel_plane, 
or why intel_crtc has a plane field - is it not that there are multiple 
planes per pipe/crtc?

Part one would be trying to understand how things are. Then part two 
would be coming up with a design, if justified by the extent of work 
required, to implement this requirement.

Thanks,

Tvrtko

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

end of thread, other threads:[~2014-10-07 11:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-06 16:11 Taking tiling and rotation into account in watermark computations Tvrtko Ursulin
2014-10-07 10:22 ` Ville Syrjälä
2014-10-07 11:13   ` Tvrtko Ursulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox