OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c43df
)
radeon/vce: disable Stoney VCE for 11.0
author
Leo Liu
<leo.liu@amd.com>
Fri, 20 Nov 2015 17:07:52 +0000
(12:07 -0500)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 3 Dec 2015 18:43:12 +0000
(18:43 +0000)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeon/radeon_vce.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon/radeon_vce.c
index
7eab974
..
bb1f9de
100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_vce.c
+++ b/
src/gallium/drivers/radeon/radeon_vce.c
@@
-388,6
+388,11
@@
struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
struct radeon_surf *tmp_surf;
unsigned cpb_size;
+ if (rscreen->info.family == CHIP_STONEY) {
+ RVID_ERR("Stoney VCE is not supported!\n");
+ return NULL;
+ }
+
if (!rscreen->info.vce_fw_version) {
RVID_ERR("Kernel doesn't supports VCE!\n");
return NULL;