bugzilla-daemon | 23 Nov 03:56 2014

[Bug 86571] Kernel 3.17.3: drm/radeon: fix speaker allocation setup --> cannot $startx

changed bug 86571
What Removed Added
See Also   https://bugzilla.kernel.org/show_bug.cgi?id=88481

You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Josep Pujadas-Jubany | 21 Nov 18:37 2014
Picon

gma500_gfx black LVDS if VGA connected

[1.] gma500_gfx black LVDS if VGA connected

[2.] bugs.launchpad.net/ubuntu/+source/linux/+bug/1393945

[3.] gma500_gfx lvds vga

[4.] 3.18.0-031800rc5-generic
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
nick | 21 Nov 20:07 2014
Picon

Question about removing spinlock in qxt_fb.c

Greetings David,
	I am wondering whether we can remove the fix me in this file related to not needing a spin lock or should I
remove the comment  for  locks and then remove the FIX ME  if we need the lock here.
Regards Nick
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Nicholas Krause | 22 Nov 15:22 2014
Picon

[PATCH] drivers:gpu: Remove unnessary define statements in psb_drv.h

Removes unnessary define statements not needing for this hardware
driver to function correctly.

Signed-off-by: Nicholas Krause <xerofoify <at> gmail.com>
---
 drivers/gpu/drm/gma500/psb_drv.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index 55ebe2b..282f013 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
 <at>  <at>  -84,10 +84,6  <at>  <at>  enum {
 #define _PSB_PGETBL_ENABLED	 0x00000001
 #define PSB_SGX_2D_SLAVE_PORT	 0x4000

-/* TODO: To get rid of */
-#define PSB_TT_PRIV0_LIMIT	 (256*1024*1024)
-#define PSB_TT_PRIV0_PLIMIT	 (PSB_TT_PRIV0_LIMIT >> PAGE_SHIFT)
-
 /* SGX side MMU definitions (these can probably go) */

 /* Flags for external memory type field */
--

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
nick | 22 Nov 14:45 2014
Picon

Remove Code in psb_drb.h

Greetings again David and other maintainers,
I am wondering if I can remove the following code below my message in psb_drv.h as you state it's unneeded in a TODO.
Cheers Nick 
/* TODO: To get rid of */
#define PSB_TT_PRIV0_LIMIT       (256*1024*1024)
#define PSB_TT_PRIV0_PLIMIT      (PSB_TT_PRIV0_LIMIT >> PAGE_SHIFT)
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Nicholas Krause | 21 Nov 22:29 2014
Picon

[PATCH] drivers:gpu:qlx: Change incorrect return value of EINVAL to ENODEV in qxl_drv.c

Fixes not returning correct error code value in qxl_drv.c for the function,
qxl_pci_probe as this is a error with the device rather then an incorrect
value as stated by the DRM_ERROR statement above the return if this function
returns a error.
Signed-off-by: Nicholas Krause <xerofoify <at> gmail.com>
---
 drivers/gpu/drm/qxl/qxl_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/qxl/qxl_drv.c b/drivers/gpu/drm/qxl/qxl_drv.c
index 1d9b80c..bbe2a34 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.c
+++ b/drivers/gpu/drm/qxl/qxl_drv.c
 <at>  <at>  -65,7 +65,7  <at>  <at>  qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 	if (pdev->revision < 4) {
 		DRM_ERROR("qxl too old, doesn't support client_monitors_config,"
 			  " use xf86-video-qxl in user mode");
-		return -EINVAL; /* TODO: ENODEV ? */
+		return -ENODEV;
 	}
 	return drm_get_pci_dev(pdev, ent, &qxl_driver);
 }
--

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Stefan Brüns | 23 Nov 03:21 2014
Picon
Picon

[PATCH 2/2] drm/edid: shorten log output in case of all zeroes edid block V2

There is no need to dump the whole EDID block in case it contains no
information. Just print a single line stating the block is empty instead
of 8 lines containing only zeroes.

Signed-off-by: Stefan Brüns <stefan.bruens <at> rwth-aachen.de>
---
 drivers/gpu/drm/drm_edid.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index f8fb327..a71ed93 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
 <at>  <at>  -1088,9 +1088,13  <at>  <at>  bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid)

 bad:
 	if (print_bad_edid) {
-		printk(KERN_ERR "Raw EDID:\n");
-		print_hex_dump(KERN_ERR, " \t", DUMP_PREFIX_NONE, 16, 1,
+		if (drm_edid_is_zero(raw_edid, EDID_LENGTH)) {
+			printk(KERN_ERR "EDID block is all zeroes\n");
+		} else {
+			printk(KERN_ERR "Raw EDID:\n");
+			print_hex_dump(KERN_ERR, " \t", DUMP_PREFIX_NONE, 16, 1,
 			       raw_edid, EDID_LENGTH, false);
+		}
 	}
 	return false;
 }
--

-- 
2.1.2

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 22 Nov 14:09 2014

[Bug 86571] Kernel 3.17.3: drm/radeon: fix speaker allocation setup --> cannot $startx

changed bug 86571
What Removed Added
Component Driver/Radeon DRM/Radeon
Assignee xorg-driver-ati <at> lists.x.org dri-devel <at> lists.freedesktop.org
Product xorg DRI
QA Contact xorg-team <at> lists.x.org  

You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Jasper St. Pierre | 22 Nov 06:37 2014
Picon

[PATCH] modetest: Use threads for cursors instead of SIGALRM

This fixes an issue when trying to use -v and -C together. When trying
to read the page flip event, we are interrupted by the SIGALRM that
comes in, and so we think we timed out when we simply got EINTR. While
we could just loop checking for EINTR, SIGALRM is just bad idea to
begin with, so just rewrite it to use a thread.
---
 tests/modetest/Makefile.am |  3 ++-
 tests/modetest/cursor.c    | 57 +++++++++++++++++++++++-----------------------
 2 files changed, 31 insertions(+), 29 deletions(-)

diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
index 0a6af01..8fc924a 100644
--- a/tests/modetest/Makefile.am
+++ b/tests/modetest/Makefile.am
 <at>  <at>  -19,7 +19,8  <at>  <at>  modetest_SOURCES = $(MODETEST_FILES)

 modetest_LDADD = \
 	$(top_builddir)/libdrm.la \
-	$(top_builddir)/libkms/libkms.la
+	$(top_builddir)/libkms/libkms.la \
+	-lpthread

 if HAVE_CAIRO
 AM_CFLAGS += $(CAIRO_CFLAGS)
diff --git a/tests/modetest/cursor.c b/tests/modetest/cursor.c
index 60f240a..62a50ef 100644
--- a/tests/modetest/cursor.c
+++ b/tests/modetest/cursor.c
 <at>  <at>  -34,6 +34,8  <at>  <at> 
 #include <string.h>
 #include <signal.h>
 #include <sys/time.h>
+#include <pthread.h>
+#include <unistd.h>

 #include "xf86drm.h"
 #include "xf86drmMode.h"
 <at>  <at>  -59,6 +61,9  <at>  <at>  struct cursor {
 static struct cursor cursors[MAX_CURSORS];
 static int ncursors;

+static pthread_t cursor_thread;
+static int cursor_running;
+
 /*
  * Timer driven program loops through these steps to move/enable/disable
  * the cursor
 <at>  <at>  -137,33 +142,29  <at>  <at>  static struct cursor_step steps[] = {
 		{  set_cursor, 10,   0,  0 },  /* disable */
 };

-/*
- * Cursor API:
- */
-
-static void run_step(int sig)
+static void *cursor_thread_func(void *data)
 {
-	struct cursor_step *step = &steps[indx % ARRAY_SIZE(steps)];
-	struct itimerval itimer = {
-			.it_value.tv_usec = 1000 * step->msec,
-	};
-	int i;
-
-	for (i = 0; i < ncursors; i++) {
-		struct cursor *cursor = &cursors[i];
-		step->run(cursor, step);
-	}
-
-	/* iterate to next count/step: */
-	if (count < step->repeat) {
-		count++;
-	} else {
-		count = 0;
-		indx++;
+	while (cursor_running) {
+		struct cursor_step *step = &steps[indx % ARRAY_SIZE(steps)];
+		int i;
+
+		for (i = 0; i < ncursors; i++) {
+			struct cursor *cursor = &cursors[i];
+			step->run(cursor, step);
+		}
+
+		/* iterate to next count/step: */
+		if (count < step->repeat) {
+			count++;
+		} else {
+			count = 0;
+			indx++;
+		}
+
+		usleep(1000 * step->msec);
 	}

-	/* and lastly, setup timer for next step */
-	setitimer(ITIMER_REAL, &itimer, NULL);
+	return NULL;
 }

 int cursor_init(int fd, uint32_t bo_handle, uint32_t crtc_id,
 <at>  <at>  -194,16 +195,16  <at>  <at>  int cursor_init(int fd, uint32_t bo_handle, uint32_t crtc_id,

 int cursor_start(void)
 {
-	/* setup signal handler to update cursor: */
-	signal(SIGALRM, run_step);
+	cursor_running = 1;
+	pthread_create(&cursor_thread, NULL, cursor_thread_func, NULL);
 	printf("starting cursor\n");
-	run_step(SIGALRM);
 	return 0;
 }

 int cursor_stop(void)
 {
-	signal(SIGALRM, NULL);
+	cursor_running = 0;
+	pthread_join(cursor_thread, NULL);
 	printf("cursor stopped\n");
 	return 0;
 }
--

-- 
2.1.0

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 22 Nov 03:54 2014

[Bug 86432] llvm Unreal Elemental rendering regression

changed bug 86432
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 15 on bug 86432 from Module: Mesa Branch: master Commit: 645b471d619b654d3bacfa8598f759833e08db4e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=645b471d619b654d3bacfa8598f759833e08db4e Author: Marek Olšák <marek.olsak <at> amd.com> Date: Thu Nov 20 22:16:09 2014 +0100 radeonsi: use minnum and maxnum LLVM intrinsics for MIN and MAX opcodes
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 22 Nov 01:59 2014

[Bug 78562] [gma500] wrong pixel clock on LVDS (half the correct frequency)

Comment # 15 on bug 78562 from SGX Drivers had been posted to GitHub for the 540 and 544sc PowerVR GPUs. The GMA 500 is based on the 535. Would these commits be any helpful in getting proper video acceleration supported for Linux distributions? https://github.com/jumoog/GFX_Linux_DDK
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Gmane