Bug 16110

Summary: [i915 XvMC] XvMCGetAttribute/XvMCSetAttribute should return 'BadMatch' for undefined attribute
Product: xorg Reporter: Shuang He <shuang.he>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: VERIFIED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg conf
none
xorg log
none
test case none

Description Shuang He 2008-05-26 22:30:56 UTC
System Environment:
--------------------------

--Platform: 945G


--2D driver:
commit 548d4c0f979a72eac5d0c9c76da12f0bd05e64e1 

--3D driver:
commit 990e010394a2685c1daeaef61cf4f7e2a0ba419e

--Xserver:
commit cf20df39cc78203d17b99223908af388ecbf7d0e 

--Drm
commit b44f2da380e78769b58c751e81f376f0fa1f48aa 

--Kernel:
2.6.23.1


Bug detailed description:
-------------------------
It seems XvMCSetAttribute/XvMCGetAttribute always return Success.
According to XvMC spec, for undefined attribute, it should return error 'BadMatch'



Reproduce steps:
----------------
1. enable XvMC in xorg.conf
2. start X
3. compile and run attached case



Current result:
----------------
XvMCSetAttribute/XvMCGetAttribute always return Success.


Expected result:
----------------
for undefined attribute, it should return error 'BadMatch'
Comment 1 Shuang He 2008-05-26 22:33:04 UTC
Created attachment 16753 [details]
xorg conf
Comment 2 Shuang He 2008-05-26 22:33:29 UTC
Created attachment 16754 [details]
xorg log
Comment 3 Shuang He 2008-05-26 22:34:42 UTC
Created attachment 16755 [details]
test case
Comment 4 Michael Fu 2008-11-25 20:48:28 UTC
We will not put further effort on XvMC for 915/945 platform.
Comment 5 Shuang He 2009-01-18 21:19:44 UTC
verified

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.