• [^] # Re: Seul hic

    Posté par . En réponse au journal Putain, c'est beau. Évalué à 3.

    Dans les sources http://intellinuxgraphics.org/download.html je vois un équivalent pour i810 et i830 . Par pour les autres.

    > Mesa/src/mesa/drivers/dri/i965/brw_hal.c

    Dans les sources http://intellinuxgraphics.org/download.html , il n'y a pas de répertoire i965.
    Il y a bien la librairie "intel_hal.so" qui est chargée si la variable d'environnement INTEL_HAL est défini.
    En fouillant sommairement les sources, ça ne semble exporter que la fonction :
    Bool intel_hal_set_content_protection(ScrnInfoPtr pScrn, Bool on);
    C'est utilisé par le i830 et rien d'autre.

    Voilà le code :
    if (LoadSubModule(pScrn->module, "intel_hal", NULL, NULL, NULL,
    &halreq, &errmaj, &errmin)) {
    xf86LoaderReqSymLists(intel_hal_symbols, NULL);
    } else {
    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "intel_hal module not found. "
    "Not enabling content protection.\n");
    }


    Puis
    /* Turn on copy protection if available */
    if (xf86LoaderCheckSymbol("intel_hal_set_content_protection")) {
    Bool ret;

    ret = intel_hal_set_content_protection(pScrn, TRUE);

    if (ret) {
    xf86DrvMsg(pScrn->scrnIndex, X_INFO,
    "Enabled content protection if available\n");
    } else {
    xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
    "Failed to enable content protection\n");
    }
    }


    Pas de quoi en faire un formage.