Subversion Repositories Kolibri OS

Rev

Rev 2352 | Rev 3031 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2352 Rev 2360
Line 506... Line 506...
506
     *
506
     *
507
     * All tasks on the workqueue are expected to acquire the dev mutex
507
     * All tasks on the workqueue are expected to acquire the dev mutex
508
     * so there is no point in running more than one instance of the
508
     * so there is no point in running more than one instance of the
509
     * workqueue at any time: max_active = 1 and NON_REENTRANT.
509
     * workqueue at any time: max_active = 1 and NON_REENTRANT.
510
     */
510
     */
511
 
-
 
512
//    dev_priv->wq = alloc_workqueue("i915",
511
      dev_priv->wq = alloc_workqueue("i915",
513
//                       WQ_UNBOUND | WQ_NON_REENTRANT,
512
                         WQ_UNBOUND | WQ_NON_REENTRANT,
514
//                       1);
513
                         1);
515
//    if (dev_priv->wq == NULL) {
514
      if (dev_priv->wq == NULL) {
516
//        DRM_ERROR("Failed to create our workqueue.\n");
515
          DRM_ERROR("Failed to create our workqueue.\n");
517
//        ret = -ENOMEM;
516
          ret = -ENOMEM;
518
//        goto out_mtrrfree;
517
          goto out_mtrrfree;
519
//    }
518
      }
Line 520... Line 519...
520
 
519
 
521
    /* enable GEM by default */
520
    /* enable GEM by default */
Line 522... Line 521...
522
    dev_priv->has_gem = 1;
521
    dev_priv->has_gem = 1;