diff for duplicates of <20180603144224.393326799@twibright.com> diff --git a/a/1.txt b/N1/1.txt index b3b189c..26230b8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,9 +1,9 @@ The default delay 5 jiffies is too much when the kernel is compiled with -HZ\x100 - it results in jumpy cursor in Xwindow. +HZ=100 - it results in jumpy cursor in Xwindow. In order to find out the optimal delay, I benchmarked the driver on -1280x720x30fps video. I found out that with HZ\x1000, 10ms is acceptable, -but with HZ%0 or HZ00, we need 4ms, so that the video is played +1280x720x30fps video. I found out that with HZ=1000, 10ms is acceptable, +but with HZ=250 or HZ=300, we need 4ms, so that the video is played without any frame skips. This patch changes the delay to this value. @@ -16,7 +16,8 @@ Cc: stable@vger.kernel.org 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-4.17-rc7/include/video/udlfb.h -=================================--- linux-4.17-rc7.orig/include/video/udlfb.h 2018-06-03 13:17:37.000000000 +0200 +=================================================================== +--- linux-4.17-rc7.orig/include/video/udlfb.h 2018-06-03 13:17:37.000000000 +0200 +++ linux-4.17-rc7/include/video/udlfb.h 2018-06-03 13:17:37.000000000 +0200 @@ -88,7 +88,7 @@ struct dlfb_data { #define MIN_RAW_PIX_BYTES 2 @@ -27,3 +28,8 @@ Index: linux-4.17-rc7/include/video/udlfb.h #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* "disable" with long delay */ /* remove these once align.h patch is taken into kernel */ + +_______________________________________________ +dri-devel mailing list +dri-devel@lists.freedesktop.org +https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/a/content_digest b/N1/content_digest index 7241201..f6332a1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020180603144053.875668929@twibright.com\0" "From\0Mikulas Patocka <mpatocka@redhat.com>\0" "Subject\0[PATCH 15/21] udlfb: set optimal write delay\0" - "Date\0Sun, 03 Jun 2018 14:41:08 +0000\0" + "Date\0Sun, 03 Jun 2018 16:41:08 +0200\0" "To\0Mikulas Patocka <mpatocka@redhat.com>" Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Dave Airlie <airlied@redhat.com> @@ -10,13 +10,14 @@ "Cc\0linux-fbdev@vger.kernel.org" " dri-devel@lists.freedesktop.org\0" "\00:1\0" + "fn\0udl-defio-delay.patch\0" "b\0" "The default delay 5 jiffies is too much when the kernel is compiled with\n" - "HZ\0200 - it results in jumpy cursor in Xwindow.\n" + "HZ=100 - it results in jumpy cursor in Xwindow.\n" "\n" "In order to find out the optimal delay, I benchmarked the driver on\n" - "1280x720x30fps video. I found out that with HZ\02000, 10ms is acceptable,\n" - "but with HZ%0 or HZ00, we need 4ms, so that the video is played\n" + "1280x720x30fps video. I found out that with HZ=1000, 10ms is acceptable,\n" + "but with HZ=250 or HZ=300, we need 4ms, so that the video is played\n" "without any frame skips.\n" "\n" "This patch changes the delay to this value.\n" @@ -29,7 +30,8 @@ " 1 file changed, 1 insertion(+), 1 deletion(-)\n" "\n" "Index: linux-4.17-rc7/include/video/udlfb.h\n" - "=================================--- linux-4.17-rc7.orig/include/video/udlfb.h\t2018-06-03 13:17:37.000000000 +0200\n" + "===================================================================\n" + "--- linux-4.17-rc7.orig/include/video/udlfb.h\t2018-06-03 13:17:37.000000000 +0200\n" "+++ linux-4.17-rc7/include/video/udlfb.h\t2018-06-03 13:17:37.000000000 +0200\n" "@@ -88,7 +88,7 @@ struct dlfb_data {\n" " #define MIN_RAW_PIX_BYTES\t2\n" @@ -39,6 +41,11 @@ "+#define DL_DEFIO_WRITE_DELAY msecs_to_jiffies(HZ <= 300 ? 4 : 10) /* optimal value for 720p video */\n" " #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* \"disable\" with long delay */\n" " \n" - /* remove these once align.h patch is taken into kernel */ + " /* remove these once align.h patch is taken into kernel */\n" + "\n" + "_______________________________________________\n" + "dri-devel mailing list\n" + "dri-devel@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/dri-devel -c6e6c3fc018e49c84287ed73f7f76b992b2f4318b299144405f864869004c559 +41f8541bedba0a71f8916641b50c20d3f1b0f81be6f6c2c46a5db7242357b676
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.