[Nouveau] [PATCH 2/2] g3dvl: disable iDCT for now

Maarten Lankhorst m.b.lankhorst at gmail.com
Thu Jul 28 11:03:34 PDT 2011


Also nacking nouveau almost has xvmc acceleration

Op 28 jul. 2011 00:55 schreef "Ben Skeggs" <skeggsb at gmail.com> het volgende:
> On Wed, 2011-07-27 at 14:08 -0500, Bryan Cain wrote:
>> On 07/27/2011 02:42 AM, Ben Skeggs wrote:
>> > On Wed, 2011-07-20 at 13:48 -0500, Bryan Cain wrote:
>> >> ---
>> >> src/vl_hwmc.c | 4 ++--
>> >> 1 files changed, 2 insertions(+), 2 deletions(-)
>> > The obvious question I have for this is, why?
>> >
>> > Ben
>>
>> At least at the time I wrote these patches (in April), the iDCT stage
>> didn't work correctly with nv50. If it's fixed now, this patch can be
>> ignored.
> Then it should be fixed in mesa if that's the case, not disabled in the
> DDX, that helps nothing.
>
> Some time down the track, when it *does* work, we'll re-enable it, and
> someone will update just the DDX and see the breakage because they
> haven't updated mesa yet too..
>
> Ben.
>
>>
>> Bryan
>>
>>
>> >> diff --git a/src/vl_hwmc.c b/src/vl_hwmc.c
>> >> index 6e9e0c7..8e24786 100644
>> >> --- a/src/vl_hwmc.c
>> >> +++ b/src/vl_hwmc.c
>> >> @@ -55,7 +55,7 @@ static XF86MCSurfaceInfoRec yv12_mpeg2_surface =
>> >> 2048,
>> >> 2048,
>> >> 2048,
>> >> - XVMC_IDCT | XVMC_MOCOMP | XVMC_MPEG_2,
>> >> + /*XVMC_IDCT |*/ XVMC_MOCOMP | XVMC_MPEG_2,
>> >> XVMC_SUBPICTURE_INDEPENDENT_SCALING | XVMC_BACKEND_SUBPICTURE,
>> >> &subpicture_list
>> >> };
>> >> @@ -69,7 +69,7 @@ static XF86MCSurfaceInfoRec uyvy_mpeg2_surface =
>> >> 2048,
>> >> 2048,
>> >> 2048,
>> >> - XVMC_IDCT | XVMC_MOCOMP | XVMC_MPEG_2,
>> >> + /*XVMC_IDCT |*/ XVMC_MOCOMP | XVMC_MPEG_2,
>> >> XVMC_SUBPICTURE_INDEPENDENT_SCALING | XVMC_BACKEND_SUBPICTURE,
>> >> &subpicture_list
>> >> };
>> >
>> >
>>
>> _______________________________________________
>> Nouveau mailing list
>> Nouveau at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/nouveau
>
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20110728/23ec8229/attachment.html>


More information about the Nouveau mailing list