Displaying 20 results from an estimated 36 matches for "fb_id".
Did you mean:
cb_id
2016 Jun 03
2
[PATCH xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call
to drmmode_xf86crtc_resize(), but on a subsequent
drmmode_set_scanout_pixmap(NULL) it would not remove the fb.
This keeps the crtc marked as busy, which causes the dgpu to not
being able to runtime suspend, after an output attached to the dgpu
has been used once. Which causes burnin...
2019 Jan 20
1
[PATCH] adapt to HAS_DIRTYTRACKING_DRAWABLE_SRC changes
...(crtc->randr_crtc->scanout_pixmap, screenpix);
+ PixmapStopDirtyTracking(
+#ifdef HAS_DIRTYTRACKING_DRAWABLE_SRC
+ &crtc->randr_crtc->scanout_pixmap->drawable,
+#else
+ crtc->randr_crtc->scanout_pixmap,
+#endif
+ screenpix);
if (drmmode && drmmode->fb_id) {
drmModeRmFB(drmmode->fd, drmmode->fb_id);
drmmode->fb_id = 0;
@@ -744,7 +750,13 @@ drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
}
drmmode_crtc->scanout_pixmap_x = this_x;
#ifdef HAS_DIRTYTRACKING_ROTATION
- PixmapStartDirtyTracking(ppix, screenpix, 0, 0...
2016 Jun 27
0
[xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
...get a review of this patch, and assuming the review is favorable,
can someone please push this ?
Regards,
Hans
p.s.
Is it ok if I request push rights to the nouveau repos / group
at freedesktop.org ?
On 03-06-16 14:46, Hans De Goede wrote:
> drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call
> to drmmode_xf86crtc_resize(), but on a subsequent
> drmmode_set_scanout_pixmap(NULL) it would not remove the fb.
>
> This keeps the crtc marked as busy, which causes the dgpu to not
> being able to runtime suspend, after an output attached to the dgpu
> has been u...
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
...equest :get, :home
assert_response :success
assert_equal num_of_members, Member.count
assert_session_user_data_exists
end
The code is fairly simple:
module Facebooker
module Rails
module TestHelpers
# user facebook id for facebook_request
def set_user_facebook_id(fb_id)
@fb_id = fb_id
end
# makes a request as if it was from facebook. Need to
set_user_facebook_id() first
# so it knows whom to send the request as.
def facebook_request(http_verb, action, params = { })
fb_params = { "fb_sig_time" => Time.now.to_f...
2008 Mar 11
0
Facebook_request in unit tests
...cebook_request :get, :home
assert_response :success
assert_equal num_of_members, Member.count
assert_session_user_data_exists
end
The code is fairly simple:
module Facebooker
module Rails
module TestHelpers
# user facebook id for facebook_request
def set_user_facebook_id(fb_id)
@fb_id = fb_id
end
# makes a request as if it was from facebook. Need to
set_user_facebook_id() first
# so it knows whom to send the request as.
def facebook_request(http_verb, action, params = { })
fb_params = { "fb_sig_time" => Time.now.to_f,...
2020 Mar 18
0
[PATCH i-g-t] tests/kms_plane: Generate reference CRCs for partial coverage too
...reate a colored fb, possibly with a series of 64x64 colored rectangles (used
+ * for position tests)
+ */
+static void
+create_fb_for_mode(data_t *data, drmModeModeInfo *mode,
+ color_t *fb_color,
+ const rectangle_t *rects, int rect_cnt,
+ struct igt_fb *fb /* out */)
+{
+ unsigned int fb_id;
+ cairo_t *cr;
+
+ fb_id = igt_create_fb(data->drm_fd,
+ mode->hdisplay, mode->vdisplay,
+ DRM_FORMAT_XRGB8888,
+ LOCAL_DRM_FORMAT_MOD_NONE,
+ fb);
+ igt_assert_fd(fb_id);
+
+ cr = igt_get_cairo_ctx(data->drm_fd, fb);
+ igt_paint_color(cr, 0, 0, mode->...
2011 Nov 08
1
Question
Hi
My name is Rocky and I am trying to use the org.Dm.eg.db library.
When I am using the org.Dm.egFLYBASE2EG[fb_ids] it is stopping at a point where it cannot find any value for a given ID such as the following:
Error in .checkKeys(value, Rkeys(x), x@ifnotfound) :
value for "FBgn0004461" not found
Then the whole thing stops. I cannot retrieve any information on the values that has been found until t...
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all,
First thing first: It works, I now no longer have a few dropped frames every 10s
on my testbox here with the pageflip i-g-t tests.
Random notes:
- New design has per-crtc locks to protect the crtc input-side (pageflip,
cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It
also required completely revamped fb lifecycle management, those are now
refcounted
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
...ode_set_target_scanout_pixmap_gpu(xf86CrtcPtr crtc, PixmapPtr ppix,
int c, total_width = 0, max_height = 0, this_x = 0;
if (*target) {
- PixmapStopDirtyTracking(*target, screenpix);
+ PixmapStopDirtyTracking(&(*target)->drawable, screenpix);
if (drmmode->fb_id) {
drmModeRmFB(drmmode->fd, drmmode->fb_id);
drmmode->fb_id = 0;
@@ -897,7 +897,8 @@ drmmode_set_target_scanout_pixmap_gpu(xf86CrtcPtr crtc, PixmapPtr ppix,
screen->height = screenpix->drawable.height = max_height;
}
drmmode_crtc->prime...
2013 Jun 27
21
[Bug 66255] New: Enabling Xinerama with nouveau driver causes Segmentation fault
https://bugs.freedesktop.org/show_bug.cgi?id=66255
Priority: medium
Bug ID: 66255
Assignee: nouveau at lists.freedesktop.org
Summary: Enabling Xinerama with nouveau driver causes
Segmentation fault
QA Contact: xorg-team at lists.x.org
Severity: critical
Classification: Unclassified
OS: Linux (All)
2012 Feb 15
11
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping
Hi,
here a set of patches against the nouveau-ddx. This is an extended and
revised set, based on Francisco Jerez feedback from autumn last year.
[1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped
working somewhere around Xorg 1.11+.
[2/9] Implements handling of pageflip completion events from the kernel.
Francisco Jerez argument against including it was that the
2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...n_crcs / 2);
+ igt_pipe_crc_start(pipe_crc);
+
+ for (i = 0; i < n_crcs; i++) {
+ const int color_idx = i % n_colors;
+
+ igt_plane_set_fb(primary, &colors[color_idx].fb);
+ do_or_die(drmModePageFlip(data->drm_fd,
+ output->config.crtc->crtc_id,
+ colors[color_idx].fb.fb_id,
+ DRM_MODE_PAGE_FLIP_EVENT,
+ NULL));
+ kmstest_wait_for_pageflip(data->drm_fd);
+ }
+
+ igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs);
+ igt_pipe_crc_stop(pipe_crc);
+
+ /*
+ * Find the first color in our pattern with a CRC that differs from the
+ * last CRC, so we can use...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...n_crcs / 2);
+ igt_pipe_crc_start(pipe_crc);
+
+ for (i = 0; i < n_crcs; i++) {
+ const int color_idx = i % n_colors;
+
+ igt_plane_set_fb(primary, &colors[color_idx].fb);
+ do_or_die(drmModePageFlip(data->drm_fd,
+ output->config.crtc->crtc_id,
+ colors[color_idx].fb.fb_id,
+ DRM_MODE_PAGE_FLIP_EVENT,
+ NULL));
+ kmstest_wait_for_pageflip(data->drm_fd);
+ }
+
+ igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs);
+ igt_pipe_crc_stop(pipe_crc);
+
+ /*
+ * Find the first color in our pattern with a CRC that differs from the
+ * last CRC, so we can use...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...n_crcs / 2);
+ igt_pipe_crc_start(pipe_crc);
+
+ for (i = 0; i < n_crcs; i++) {
+ const int color_idx = i % n_colors;
+
+ igt_plane_set_fb(primary, &colors[color_idx].fb);
+ do_or_die(drmModePageFlip(data->drm_fd,
+ output->config.crtc->crtc_id,
+ colors[color_idx].fb.fb_id,
+ DRM_MODE_PAGE_FLIP_EVENT,
+ NULL));
+ kmstest_wait_for_pageflip(data->drm_fd);
+ }
+
+ igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs);
+ igt_pipe_crc_stop(pipe_crc);
+
+ /*
+ * Find the first color in our pattern with a CRC that differs from the
+ * last CRC, so we can use...
2007 Dec 17
7
Get "some read error" on calls to worker
....inspect
exit!
end
end
and the call...
MiddleMan.new_worker(
:worker => :update_facebook_account_info_worker,
:job_key => @some.id, # Only run one worker per id
:data => {
:session_key => @session_key,
:requesting_fb_id => @organizer.facebook_id,
:facebook_ids => @fb_ids,
:params => params
}
)
The output...
create=>{:params=>REDACTED]}
Some read error
Some read error
Some read error
Thanks
Rob
-------------- next part --------------
An HTML att...
2017 Mar 16
0
[ANNOUNCE] xf86-video-ati 7.9.0
...Fix build for XServer 1.13
Michel Dänzer (38):
Post-release version bump
Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available
Enable glamor by default with >= R600 and Xorg >= 1.18.3
Don't install Flush/EventCallback for GPU screens
Pass fb_id into drmmode_page_flip_target_absolute/relative
Add radeon_is_gpu_screen helper
Take current scanout_id into account everywhere involved with TearFree
Fix radeon_scanout_extents_intersect for GPU screens
Call ValidateGC after ChangeClip in radeon_sync_scanout_pixmaps
C...
2016 Apr 07
0
[ANNOUNCE] xf86-video-ati 7.7.0
...nInfoPtr based
Deal with modesets and page flips crossing on a CRTC
Remove check for XF86_CRTC_VERSION 3
Consolidate pScreen usage in drmmode_set_mode_major
Make Option "TearFree" effective for rotated/reflected outputs as well (v2)
present: Clear drmmode->fb_id before calling set_mode_major for unflip
present: Return rotated CRTCs from radeon_present_get_crtc
Factor out HW cursor checking code into drmmode_can_use_hw_cursor
Don't try DRI2/Present flipping while the HW cursor can't be used
Check for xf86CursorResetCursor...
2017 Aug 01
1
[PATCH] Add drm ioctl DRM_IOCTL_MODE_GETFB2 & associated helpers.
...; + struct drm_mode_fb_cmd2 *r = data;
> > + struct drm_framebuffer *fb;
> > + int ret, i;
> > +
> > + if (!drm_core_check_feature(dev, DRIVER_MODESET))
> > + return -EINVAL;
> > +
> > + fb = drm_framebuffer_lookup(dev, r->fb_id);
> > + if (!fb)
> > + return -ENOENT;
> > +
> > + r->height = fb->height;
> > + r->width = fb->width;
> > + r->pixel_format = fb->format->format;
> > + for (i = 0; i < 4; ++i) {
> > +...
2017 Jul 31
2
[PATCH] Add drm ioctl DRM_IOCTL_MODE_GETFB2 & associated helpers.
...re.
+ */
+int drm_mode_getfb2(struct drm_device *dev,
+ void *data, struct drm_file *file_priv)
+{
+ struct drm_mode_fb_cmd2 *r = data;
+ struct drm_framebuffer *fb;
+ int ret, i;
+
+ if (!drm_core_check_feature(dev, DRIVER_MODESET))
+ return -EINVAL;
+
+ fb = drm_framebuffer_lookup(dev, r->fb_id);
+ if (!fb)
+ return -ENOENT;
+
+ r->height = fb->height;
+ r->width = fb->width;
+ r->pixel_format = fb->format->format;
+ for (i = 0; i < 4; ++i) {
+ r->pitches[i] = fb->pitches[i];
+ r->offsets[i] = fb->offsets[i];
+ r->modifier[i] = fb->modifier;
+...
2016 Apr 07
0
[ANNOUNCE] xf86-video-amdgpu 1.1.0
...f ScrnInfoPtr based
Deal with modesets and page flips crossing on a CRTC
Remove check for XF86_CRTC_VERSION 3
Consolidate pScreen usage in drmmode_set_mode_major
Make Option "TearFree" effective for rotated/reflected outputs as well
present: Clear drmmode->fb_id before calling set_mode_major for unflip
present: Return rotated CRTCs from amdgpu_present_get_crtc
Call AMDGPUBlockHandler_KMS before setting initial modes
Factor out HW cursor checking code into drmmode_can_use_hw_cursor
Don't try DRI2/Present flipping while the HW cur...