public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>, Intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/skl: Support Y tiling in MMIO flips
Date: Mon, 20 Apr 2015 17:38:20 +0100	[thread overview]
Message-ID: <55352B7C.7080406@linux.intel.com> (raw)
In-Reply-To: <20150420162249.GG14565@bremse>


On 04/20/2015 05:22 PM, Daniel Vetter wrote:
> On Mon, Apr 20, 2015 at 04:22:48PM +0100, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>
>> Add Y tiling support to skl_do_mmio_flip.
>>
>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>> Cc: Damien Lespiau <damien.lespiau@intel.com>
>> Cc: Sonika Jindal <sonika.jindal@intel.com>
>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
>> ---
>> Looks like we completely missed this completely parallel instance of plane
>> programming code when working on Y tiling support!
>>
>> Will rotation need supporting here as well?
>
> Oh dear this is a bit ugly. We definitely need either this for 4.1 or take
> out the Y-tiling support for 4.1. Rotation only made 4.2, so I think
> we're good, but we do indeed need to take rotation into account here too.

What is ugly, this patch or the overall situation?

> And it seems like we also need a pile of igt testcases to make sure
> Y-tiling, rotation (even 180 probably) works correctly with pageflips. Yay
> for kms_flip growing even more.

I added Y to kms_flip_tiling back then - but both that one and kms_flip 
don't do any pipe crc. So not much use in automated fashion. And 
testdisplay apparently does not hit this path.

I did not have working crc hw back then, maybe that has changed, I'll 
check it and then, depending on the outcome, see if I can add something 
automated.

Either way, adding this fix sounds better than reverting everything.

Regards,

Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-04-20 16:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20 15:22 [PATCH] drm/i915/skl: Support Y tiling in MMIO flips Tvrtko Ursulin
2015-04-20 16:22 ` Daniel Vetter
2015-04-20 16:38   ` Tvrtko Ursulin [this message]
2015-04-20 17:24     ` Daniel Vetter
2015-04-20 17:44     ` Daniel Vetter
2015-04-21  4:55       ` Jindal, Sonika
2015-04-21  9:05         ` Tvrtko Ursulin
2015-04-23 19:12           ` Daniel Vetter
2015-04-20 19:17 ` shuang.he

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=55352B7C.7080406@linux.intel.com \
    --to=tvrtko.ursulin@linux.intel.com \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel@ffwll.ch \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox