summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-03-23 12:54:07 +0100
committerHans de Goede <hdegoede@redhat.com>2017-10-08 21:07:25 +0200
commit98c02d5f2764df6e59f68aa4b7a21b0f2b070e8b (patch)
treef85bf096402d9dc94a9c30cb665372127bb2c4f8 /randr
parent0cbd96f8bc6824b31b2a2c45672ff7e5475e924f (diff)
xf86: dri2: Use va_gl as vdpau_driver for Intel i965 GPUsHEADmaster
The modesetting driver (which now often is used with Intel GPUs), relies on dri2_probe_driver_name() to get the dri and vdpau driver names, before this commit it would always assign the same name to the 2 names. But the vdpau driver for i965 GPUs should be va_gl (i915 does not support vdpau at all). This commit modifies the used lookup table and dri2_probe_driver_name() to set the vdpau_driver to va_gl for i965 GPUs, it leaves the 2 names the same for all other GPUs. Note this commit adds a FIXME comment for a memory leak in dri2_probe_driver_name(), that leak was already present and fixing it falls outside of the scope of this commit. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1413733 Cc: kwizart@gmail.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'randr')
0 files changed, 0 insertions, 0 deletions