Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Some drmkms success on my laptop



On Sat 13 Sep 2014 at 02:35:11 +0200, Rhialto wrote:
> pms0 at pckbc1 (aux slot)
> pms0: Synaptics touchpad version 6.5
> pms0: Palm detect, One button click pad
> pckbc1: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0

"One button click pad" - I guess that explains why X only recognizes a
single button. The kernel mis-recognizes it. This is a regression, since
in the 6.x kernels it still works fine.

It is also nothing to do with DRMKMS, it also happens in the GENERIC
kernel. X uses the VESA driver there (which is sub-optimal since it uses
a resolution of 1024 x 768 instead of 1600 x 900).

The assertion failure I mentioned is in this fragment of code, for
reference, line 2833 of src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c:

2826 static void
2827 i915_gem_object_move_to_inactive(struct drm_i915_gem_object *obj)
2828 {
2829         struct drm_i915_private *dev_priv = obj->base.dev->dev_private;
2830         struct i915_address_space *vm;
2831         struct i915_vma *vma;
2832 
2833 -->     BUG_ON(obj->base.write_domain & ~I915_GEM_GPU_DOMAINS);
2834         BUG_ON(!obj->active);
2835 
2836         list_for_each_entry(vm, &dev_priv->vm_list, global_link) {
2837                 vma = i915_gem_obj_to_vma(obj, vm);
2838                 if (vma && !list_empty(&vma->mm_list))
2839                         list_move_tail(&vma->mm_list, &vm->inactive_list);
2840         }

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: pgpJ85YtVCt9g.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index