[PATCH xf86-video-amdgpu 13/13] Add DRI3 support

Matt Turner mattst88 at gmail.com
Wed Jun 3 19:39:37 PDT 2015


On Wed, Jun 3, 2015 at 11:35 AM, Reverend Homer <mk.43.ecko at gmail.com> wrote:
> On 02.06.2015 12:21, Michel Dänzer wrote:
>> +       xf86DrvMsg(pScrn->scrnIndex, from, "DRI3 %sabled\n", value ? "en"
>> : "dis");
>
> Hmmm, wouldn't be more human-readable to write it as
> xf86DrvMsg(pScrn->scrnIndex, from, "DRI3 %s\n", value ? "enabled" :
> "disabled");
> ?
> What the profit of such an "optimization"?

It's a pretty common pattern, FWIW.


More information about the xorg-driver-ati mailing list