Add missing depth 30 -> cpp=4 handling for DRI2.
PATCH 1/2 Add missing depth 30 -> cpp=4 handling for DRI2.
Missing this apparently didn't cause any ill side effects, only a bit of confusion when looking at xtrace's of DRI2 clients.
Signed-off-by Mario Kleiner <[email protected]>
--- src/radeon_dri2.c | 1 + 1 file changed, 1 insertion(+)
src/radeon_dri2.c +1 -0
@@ -125,6 +125,7 @@ radeon_dri2_create_buffer2(ScreenPtr pScreen, cpp =2 ;break ;case 24 : +case 30 : cpp =4 ;break ;default :
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180124171938.26282-1-mario.kleiner.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
PATCH 2/2 radeon: Make XvMC extension initialize at depth 30.
Signed-off-by Mario Kleiner <[email protected]>
--- src/radeon_textured_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
src/radeon_textured_video.c +2 -2
@@ -499,11 +499,11 @@ static XF86VideoEncodingRec DummyEncodingEG[1] = } }; -#define NUM_FORMATS 3 +#define NUM_FORMATS 4static XF86VideoFormatRec Formats[NUM_FORMATS ] = { - {15 , TrueColor}, {16 , TrueColor}, {24 , TrueColor} + {15 , TrueColor}, {16 , TrueColor}, {24 , TrueColor}, {30 , TrueColor} };#define NUM_ATTRIBUTES 2
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx