aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorJérome Glisse <jglisse@redhat.com>2016-03-18 16:58:32 +0100
committerAlex Deucher <alexander.deucher@amd.com>2016-05-02 13:08:50 -0400
commite3ebfcfa84fa895bb2d583189c239dc9afc9e0d1 (patch)
tree834932d106573a926d84705bd6dd9107d93655fc /drivers/gpu/drm/radeon/radeon.h
parentdrm/radeon: consolidate cik uvd initialization and startup code. (diff)
downloadlinux-dev-e3ebfcfa84fa895bb2d583189c239dc9afc9e0d1.tar.xz
linux-dev-e3ebfcfa84fa895bb2d583189c239dc9afc9e0d1.zip
drm/radeon: add a vce flag to know if need to initialize vce or not.
This will later on serve for module option to disable vce. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 007be29a0020..8ac3e072dcd8 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -2423,6 +2423,7 @@ struct radeon_device {
int num_crtc; /* number of crtcs */
struct mutex dc_hw_i2c_mutex; /* display controller hw i2c mutex */
bool has_uvd;
+ bool has_vce;
struct r600_audio audio; /* audio stuff */
struct notifier_block acpi_nb;
/* only one userspace can use Hyperz features or CMASK at a time */