public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] tests/kms_addfb: Add support for fb modifiers
Date: Wed, 11 Feb 2015 11:22:57 +0100	[thread overview]
Message-ID: <20150211102257.GN24485@phenom.ffwll.local> (raw)
In-Reply-To: <54DB261A.9000505@linux.intel.com>

On Wed, Feb 11, 2015 at 09:51:22AM +0000, Tvrtko Ursulin wrote:
> 
> On 02/11/2015 08:15 AM, Daniel Vetter wrote:
> >On Tue, Feb 10, 2015 at 05:17:34PM +0000, Tvrtko Ursulin wrote:
> >>From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> >>
> >>Just a few basic tests to make sure fb modifiers can be used and
> >>behave sanely when mixed with the old set_tiling API.
> >>
> >>v2:
> >>    * Review feedback from Daniel Vetter:
> >>       1. Move cap detection into the subtest so skipping works.
> >>       2. Added some gtkdoc comments.
> >>       3. Two more test cases.
> >>       4. Removed unused parts for now.
> >>
> >>v3:
> >>    * Removed two tests which do not make sense any more after the
> >>      fb modifier rewrite.
> >>
> >>Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> >>---
> >>  lib/ioctl_wrappers.c | 17 +++++++++++++
> >>  lib/ioctl_wrappers.h | 37 ++++++++++++++++++++++++++++
> >>  tests/kms_addfb.c    | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> >>  3 files changed, 122 insertions(+)
> >>
> >>diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
> >>index 19a457a..0a7841a 100644
> >>--- a/lib/ioctl_wrappers.c
> >>+++ b/lib/ioctl_wrappers.c
> >>@@ -1091,3 +1091,20 @@ int gem_context_has_param(int fd, uint64_t param)
> >>
> >>  	return gem_context_get_param(fd, &p) == 0;
> >>  }
> >>+
> >>+void igt_require_fb_modifiers(int fd)
> >
> >gtkdoc is missing here.
> 
> It's in the header - has to be in .c ?

Yeah we generally put them all into the .c file. Increases the chance that
when someone changes the code they update docs. And having them all
together makes it easier to keep the wording consistent for same concepts.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-02-11 10:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 16:42 [PATCH] tests/kms_addfb: Add support for fb modifiers Tvrtko Ursulin
2015-02-05 14:21 ` Daniel Vetter
2015-02-05 14:50   ` Tvrtko Ursulin
2015-02-06  9:33     ` Daniel Vetter
2015-02-06 10:58       ` Tvrtko Ursulin
2015-02-06 12:57 ` [PATCH v2] " Tvrtko Ursulin
2015-02-10 17:17   ` [PATCH] " Tvrtko Ursulin
2015-02-11  8:15     ` Daniel Vetter
2015-02-11  9:51       ` Tvrtko Ursulin
2015-02-11 10:22         ` Daniel Vetter [this message]
2015-02-11 13:53 ` 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=20150211102257.GN24485@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=tvrtko.ursulin@linux.intel.com \
    /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