Skip to contentSkip to conversation

g3dvl: disable iDCT for now

PATCH In review Bryan Cain 3 participants 5 messages Jul 20, 2011 – Jul 28, 2011 2 messages not in the archive

lore
Share & tools
lore

Bryan Cain

author
#0 lore raw

PATCH 2/2 g3dvl: disable iDCT for now

---
 src/vl_hwmc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
src/vl_hwmc.c +2 -2
index 6e9e0c7..8e24786 100644
@@ -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
 };
Signature · 1 line
1.7.1
#2 lore raw
In reply to a message not in the archive
Quoted 3 lines · Bryan Cain
---
 src/vl_hwmc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

The obvious question I have for this is, why?

Ben.

Quoted 23 lines
src/vl_hwmc.c +2 -2
index 6e9e0c7..8e24786 100644
@@ -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
 };
author
#3 lore raw
Quoted 7 lines · Ben Skeggs
Quoted 3 lines · Bryan Cain
---
 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.

Bryan

Quoted 24 lines
Quoted 22 lines
src/vl_hwmc.c +2 -2
index 6e9e0c7..8e24786 100644
@@ -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
 };
#5 lore raw
In reply to a message not in the archive
Quoted 5 lines · Bryan Cain
Quoted 4 lines · Ben Skeggs
Quoted 3 lines · Bryan Cain
---
 src/vl_hwmc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Quoted 7 lines
Quoted 3 lines

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.

Quoted 33 lines

Bryan

Quoted 14 lines
Quoted 14 lines
src/vl_hwmc.c +1 -1
index 6e9e0c7..8e24786 100644
@@ -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 =
Quoted 10 lines

src/vl_hwmc.c static XF86MCSurfaceInfoRec yv12_mpeg2_surface = · line 61

Quoted 8 lines
src/vl_hwmc.c +1 -1
 	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 [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

Also nacking nouveau almost has xvmc acceleration

Op 28 jul. 2011 00:55 schreef "Ben Skeggs" <[email protected]> het volgende:

Quoted 57 lines · Bryan Cain
Quoted 5 lines · Ben Skeggs
Quoted 4 lines · Bryan Cain
Quoted 3 lines

---
src/vl_hwmc.c | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)
Quoted 7 lines
Quoted 3 lines

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.

Quoted 29 lines

Bryan

Quoted 14 lines
Quoted 14 lines
src/vl_hwmc.c +1 -1
index 6e9e0c7..8e24786 100644
@@ -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
};

src/vl_hwmc.c +0 -0
@@ -69,7 +69,7 @@ static XF86MCSurfaceInfoRec uyvy_mpeg2_surface =
Quoted 10 lines
Quoted 8 lines
src/vl_hwmc.c +1 -1
 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
};

Quoted 4 lines

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Quoted 4 lines

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau