gallium/radeon: use explicit drm_major, drm_minor check
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 8 Mar 2016 10:55:19 +0000 (10:55 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:25:22 +0000 (17:25 +0000)
commit3dc2630e457155a4e8c8613911fe178bc4adf743
treea594f49204a5f0fdfe0f5eae931176a9130b8348
parentb9c5c4af6dbfab28b1f0a78e41bffff1b2e06ce9
gallium/radeon: use explicit drm_major, drm_minor check

Just like everywhere else in the radeon codebase.

v2: Don't forget about drm_major == 3 (Alex)

Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/radeon_vce.c