search for: 480,39

Displaying 4 results from an estimated 4 matches for "480,39".

2005 May 17
8
scheduler independent forced vcpu selection
I''m working on a new hypercall, do_confer, which allows the directed yielding of a vcpu to another vcpu. It is mainly used when a vcpu fails to acquire a spinlock, yielding to the lock holder instead of spinning. I ported the ppc64 spinlock implementation for the i386 linux portion. In implementing the hypercall, I''ve been trying to figure out how to get the scheduler
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...erence to the old object */ work->old_abo = gem_to_amdgpu_bo(obj); amdgpu_bo_ref(work->old_abo); - new_amdgpu_fb = to_amdgpu_framebuffer(fb); - obj = new_amdgpu_fb->obj; + new_fb = fb; + obj = new_fb->gem_objs[0]; new_abo = gem_to_amdgpu_bo(obj); /* pin the new buffer */ @@ -480,39 +480,27 @@ bool amdgpu_ddc_probe(struct amdgpu_connector *amdgpu_connector, static void amdgpu_user_framebuffer_destroy(struct drm_framebuffer *fb) { - struct amdgpu_framebuffer *amdgpu_fb = to_amdgpu_framebuffer(fb); - - drm_gem_object_unreference_unlocked(amdgpu_fb->obj); + drm_gem_obje...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...erence to the old object */ work->old_abo = gem_to_amdgpu_bo(obj); amdgpu_bo_ref(work->old_abo); - new_amdgpu_fb = to_amdgpu_framebuffer(fb); - obj = new_amdgpu_fb->obj; + new_fb = fb; + obj = new_fb->gem_objs[0]; new_abo = gem_to_amdgpu_bo(obj); /* pin the new buffer */ @@ -480,39 +480,27 @@ bool amdgpu_ddc_probe(struct amdgpu_connector *amdgpu_connector, static void amdgpu_user_framebuffer_destroy(struct drm_framebuffer *fb) { - struct amdgpu_framebuffer *amdgpu_fb = to_amdgpu_framebuffer(fb); - - drm_gem_object_unreference_unlocked(amdgpu_fb->obj); + drm_gem_obje...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...erence to the old object */ work->old_abo = gem_to_amdgpu_bo(obj); amdgpu_bo_ref(work->old_abo); - new_amdgpu_fb = to_amdgpu_framebuffer(fb); - obj = new_amdgpu_fb->obj; + new_fb = fb; + obj = new_fb->gem_objs[0]; new_abo = gem_to_amdgpu_bo(obj); /* pin the new buffer */ @@ -480,39 +480,27 @@ bool amdgpu_ddc_probe(struct amdgpu_connector *amdgpu_connector, static void amdgpu_user_framebuffer_destroy(struct drm_framebuffer *fb) { - struct amdgpu_framebuffer *amdgpu_fb = to_amdgpu_framebuffer(fb); - - drm_gem_object_unreference_unlocked(amdgpu_fb->obj); + drm_gem_obje...