All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Taking tiling and rotation into account in watermark computations
Date: Mon, 06 Oct 2014 17:11:57 +0100	[thread overview]
Message-ID: <5432BF4D.1010900@linux.intel.com> (raw)


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

             reply	other threads:[~2014-10-06 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06 16:11 Tvrtko Ursulin [this message]
2014-10-07 10:22 ` Taking tiling and rotation into account in watermark computations Ville Syrjälä
2014-10-07 11:13   ` Tvrtko Ursulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5432BF4D.1010900@linux.intel.com \
    --to=tvrtko.ursulin@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.