Displaying 9 results from an estimated 9 matches for "create_color".
Did you mean:
create_colors
2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...55.0) }
+
+static void set_crc_flip_threshold(data_t *data, unsigned int threshold)
+{
+ igt_debug("Setting CRC notifier flip threshold to %d\n", threshold);
+ igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold));
+}
+
+static void create_colors(data_t *data,
+ struct color_fb *colors,
+ size_t len,
+ igt_pipe_crc_t *pipe_crc)
+{
+ char *crc_str;
+
+ igt_pipe_crc_start(pipe_crc);
+
+ for (int i = 0; i < len; i++) {
+ igt_create_color_fb(data->drm_fd,
+ data->mode->hdisplay,
+ data->mode->vdispl...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...55.0) }
+
+static void set_crc_flip_threshold(data_t *data, unsigned int threshold)
+{
+ igt_debug("Setting CRC notifier flip threshold to %d\n", threshold);
+ igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold));
+}
+
+static void create_colors(data_t *data,
+ struct color_fb *colors,
+ size_t len,
+ igt_pipe_crc_t *pipe_crc)
+{
+ char *crc_str;
+
+ igt_pipe_crc_start(pipe_crc);
+
+ for (int i = 0; i < len; i++) {
+ igt_create_color_fb(data->drm_fd,
+ data->mode->hdisplay,
+ data->mode->vdispl...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...55.0) }
+
+static void set_crc_flip_threshold(data_t *data, unsigned int threshold)
+{
+ igt_debug("Setting CRC notifier flip threshold to %d\n", threshold);
+ igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold));
+}
+
+static void create_colors(data_t *data,
+ struct color_fb *colors,
+ size_t len,
+ igt_pipe_crc_t *pipe_crc)
+{
+ char *crc_str;
+
+ igt_pipe_crc_start(pipe_crc);
+
+ for (int i = 0; i < len; i++) {
+ igt_create_color_fb(data->drm_fd,
+ data->mode->hdisplay,
+ data->mode->vdispl...
2020 Apr 17
10
[PATCH i-g-t v3 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:
https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)
So, this series adds the relevant tests for it since nvidia's CRC
2020 Sep 29
1
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...nt threshold)
> > +{
> > + igt_debug("Setting CRC notifier flip threshold to %d\n", threshold);
> > + igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold",
> > "%d", threshold));
> > +}
> > +
> > +static void create_colors(data_t *data,
> > + struct color_fb *colors,
> > + size_t len,
> > + igt_pipe_crc_t *pipe_crc)
>
> Not to bikeshed too much, but this function seems to be more about
> generating CRCs given some pre-existing colors. Maybe
> create_color_crcs() would be be...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
..._flip_threshold(data_t *data, unsigned int threshold)
> +{
> + igt_debug("Setting CRC notifier flip threshold to %d\n", threshold);
> + igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold));
> +}
> +
> +static void create_colors(data_t *data,
> + struct color_fb *colors,
> + size_t len,
> + igt_pipe_crc_t *pipe_crc)
Not to bikeshed too much, but this function seems to be more about
generating CRCs given some pre-existing colors. Maybe
create_color_crcs() would be better? And it wouldn't hurt to t...
2020 Apr 17
5
[PATCH i-g-t v2 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
(Just forwarding this to nouveau's ml, since I completely forgot to
before)
Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:
https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)
2020 Mar 18
6
[PATCH i-g-t 0/4] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:
https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)
So, this series adds the relevant tests for it since nvidia's CRC
2007 Dec 06
0
has_many :through with a has_one source
...< ActiveRecord::Base
end
container = Container.create! :name => "Container 1"
shape1 = container.shapes.create! :name => "Shape 1"
shape2 = container.shapes.create! :name => "Shape 2"
shape3 = container.shapes.create! :name => "Shape 3"
shape1.create_color :name => "Color 1"
puts container.colors.inspect
reflection.rb:191 check and makes sure the source is either a
belongs_to or has_many... Why is has_one excluded?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google G...