Displaying 9 results from an estimated 9 matches for "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->vdispla...
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->vdispla...
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->vdispla...
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 bet...
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 th...
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
Here is my simple example...
require ''rubygems''
require ''active_record''
ActiveRecord::Base.establish_connection :adapter =>
"sqlite3", :database => "has_many_through.db"
ActiveRecord::Schema.define do
create_table "containers", :force => true do |t|
t.column :name, :string
end
create_table "shapes",