2.6.32.1 i915 KMS rmmod failure
[drm:drm_mode_debug_printmodeline], Modeline 33:800x600 85 56250 800 832 896 1048 600 601 604 631 0x40 0x5 [drm:drm_mode_debug_printmodeline], Modeline 31:800x600 72 5 800 856 976 1040 600 637 643 666 0x40 0x5 [drm:drm_mode_debug_printmodeline], Modeline 32:800x600 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5 [drm:drm_mode_debug_printmodeline], Modeline 30:800x600 60 4 800 840 968 1056 600 601 605 628 0x40 0x5 [drm:drm_mode_debug_printmodeline], Modeline 29:800x600 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5 [drm:drm_mode_debug_printmodeline], Modeline 28:640x480 85 36000 640 696 752 832 480 481 484 509 0x40 0xa [drm:drm_mode_debug_printmodeline], Modeline 27:640x480 75 31500 640 656 720 840 480 481 484 500 0x40 0xa [drm:drm_mode_debug_printmodeline], Modeline 26:640x480 73 31500 640 664 704 832 480 489 492 520 0x40 0xa [drm:drm_mode_debug_printmodeline], Modeline 25:640x480 60 25175 640 656 752 800 480 489 492 525 0x40 0xa [drm:drm_mode_debug_printmodeline], Modeline 24:720x400 85 35500 720 756 828 936 400 401 404 446 0x40 0x6 [drm:drm_mode_debug_printmodeline], Modeline 23:640x400 85 31500 640 672 736 832 400 401 404 445 0x40 0x6 [drm:drm_mode_debug_printmodeline], Modeline 22:640x350 85 31500 640 672 736 832 350 382 385 445 0x40 0x9 [drm:drm_helper_probe_single_connector_modes], DVI-D-1 [drm:intel_sdvo_detect], SDVO response 0 0 [drm:drm_helper_probe_single_connector_modes], DVI-D-1 is disconnected [drm:drm_helper_probe_single_connector_modes], SVIDEO-1 [drm:intel_sdvo_detect], SDVO response 0 0 [drm:drm_helper_probe_single_connector_modes], SVIDEO-1 is disconnected [drm:drm_setup_crtcs], [drm:drm_enable_connectors], connector 5 enabled? yes [drm:drm_enable_connectors], connector 7 enabled? no [drm:drm_enable_connectors], connector 9 enabled? no [drm:drm_target_preferred], looking for cmdline mode on connector 5 [drm:drm_target_preferred], looking for preferred mode on connector 5 [drm:drm_target_preferred], found mode 800x600 [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config [drm:drm_setup_crtcs], desired mode 800x600 set on crtc 3 [drm:intelfb_probe], [drm:drm_agp_bind_pages], [drm:intelfb_create], allocated 800x600 fb: 0x007df000, bo 88007d363ec0 fb0: inteldrmfb frame buffer device registered panic notifier [drm:intel_opregion_init], graphic opregion physical addr: 0x0 [drm:intel_opregion_init], ACPI OpRegion not supported! [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 rmmod i915: [drm:drm_exit], [drm:drm_put_dev], [drm:drm_lastclose], [drm:drm_crtc_helper_set_config], [drm:drm_crtc_helper_set_config], crtc: 88007c3fb800 3 fb: 88007d363cc0 connectors: 88007d02a280 num_conn ectors: 1 (x, y) (0, 0) [drm:drm_crtc_helper_set_config], crtc has no fb, full mode set [drm:drm_crtc_helper_set_config], modes are different, full mode set [drm:drm_mode_debug_printmodeline], Modeline 0:640x480 0 31500 640 664 704 832 480 489 491 520 0x10 0xa [drm:drm_mode_debug_printmodeline], Modeline 35:800x600 85 56250 800 832 896 1048 600 601 604 631 0x40 0x5 [drm:drm_crtc_helper_set_config], setting connector 5 crtc to 88007c3fb800 [drm:drm_crtc_helper_set_config], attempting to set mode from userspace [drm:drm_mode_debug_printmodeline], Modeline 35:800x600 85 56250 800 832 896 1048 600 601 604 631 0x40 0x5 [drm:intel_update_watermarks], plane A (pipe 0) clock: 56250 [drm:i9xx_get_fifo_size], FIFO size - (0x1d9c) A: 28 [drm:i9xx_get_fifo_size], FIFO size - (0x1d9c) B: 31 [drm:intel_calculate_wm], FIFO entries required for mode: 17 [drm:intel_calculate_wm], FIFO watermark level: 9 [drm:intel_calculate_wm], FIFO entries required for mode: 0 [drm:intel_calculate_wm], FIFO watermark level: 29 [drm:i9xx_update_wm], FIFO watermarks - A: 9, B: 29 [drm:i9xx_update_wm], self-refresh entries: 21 [drm:i9xx_update_wm], Setting FIFO watermarks - A: 9, B: 29, C: 2, SR 74 [drm:drm_vblank_get], enabling vblank on crtc 0, ret: -22 [drm:intel_crtc_mode_set], Mode for pipe A: [drm:drm_mode_debug_printmodeline], Modeline 35:800x600 85 56250 800 832 896 1048 600 601 604 631 0x40 0x5 [drm:intel_pipe_set_base], Writing base 007DF000 0 0 render error detected, EIR: 0x0010 page table error PGTBL_ER: 0x0010 [drm:i915_handle_error] *ERROR* EIR stuck: 0x0010, masking -- Krzysztof Halasa -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: DRM drivers with closed source user-space: WAS [Patch 0/3] Resubmit VIA Chrome9 DRM via_chrome9 for upstream
Andrey Panin pa...@centrinvest.ru writes: * Users are still on mercy of binary blob supplier. Will this blob run on arm ? Or powerpc ? Or even x86_64 ? Will it be compatible with XOrg X.Y ? Nobody knows that and there is no gain for users too. Actually there is a loss - users see the kernel (or partial) driver and think it's open source solution. Been there, it wasn't nice at start and even less nice when the thing chose not to work as advertised. This was (is?) also the case with NVidia graphics drivers, I know many people who purchased their cards thinking they are fully open-source (because their drivers had to be compiled). -- Krzysztof Halasa -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Trivial fixes for drivers/gpu/drm/i915/
Randy Dunlap randy.dun...@oracle.com writes: I.e., using %zd or %zu is the preferred fix. Good to know, thanks. -- Krzysztof Halasa -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Trivial fixes for drivers/gpu/drm/i915/ (#1 V2)
size_t is (some sort of) int on x86-32 and long on x86-64, correct format specifiers. Signed-off-by: Krzysztof Halasa k...@pm.waw.pl diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 39f5c65..cdaa8b6 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -1007,7 +1007,7 @@ i915_gem_set_domain_ioctl(struct drm_device *dev, void *data, mutex_lock(dev-struct_mutex); #if WATCH_BUF - DRM_INFO(set_domain_ioctl %p(%d), %08x %08x\n, + DRM_INFO(set_domain_ioctl %p(%zd), %08x %08x\n, obj, obj-size, read_domains, write_domain); #endif if (read_domains I915_GEM_DOMAIN_GTT) { @@ -1051,7 +1051,7 @@ i915_gem_sw_finish_ioctl(struct drm_device *dev, void *data, } #if WATCH_BUF - DRM_INFO(%s: sw_finish %d (%p %d)\n, + DRM_INFO(%s: sw_finish %d (%p %zd)\n, __func__, args-handle, obj, obj-size); #endif obj_priv = obj-driver_private; @@ -2377,7 +2377,7 @@ i915_gem_object_bind_to_gtt(struct drm_gem_object *obj, unsigned alignment) } #if WATCH_BUF - DRM_INFO(Binding object of size %d at 0x%08x\n, + DRM_INFO(Binding object of size %zd at 0x%08x\n, obj-size, obj_priv-gtt_offset); #endif ret = i915_gem_object_get_pages(obj); diff --git a/drivers/gpu/drm/i915/i915_gem_debug.c b/drivers/gpu/drm/i915/i915_gem_debug.c index 8d0b943..e602614 100644 --- a/drivers/gpu/drm/i915/i915_gem_debug.c +++ b/drivers/gpu/drm/i915/i915_gem_debug.c @@ -143,7 +143,7 @@ i915_gem_object_check_coherency(struct drm_gem_object *obj, int handle) uint32_t *backing_map = NULL; int bad_count = 0; - DRM_INFO(%s: checking coherency of object %...@0x%08x (%d, %dkb):\n, + DRM_INFO(%s: checking coherency of object %...@0x%08x (%d, %zdkb):\n, __func__, obj, obj_priv-gtt_offset, handle, obj-size / 1024); -- Krzysztof Halasa -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Trivial fixes for drivers/gpu/drm/i915/
size_t is (some sort of) int on x86-32 and long on x86-64, eliminate compiler warnings by casting to long. Signed-off-by: Krzysztof Halasa k...@pm.waw.pl diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 39f5c65..d5044db 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -1007,8 +1007,8 @@ i915_gem_set_domain_ioctl(struct drm_device *dev, void *data, mutex_lock(dev-struct_mutex); #if WATCH_BUF - DRM_INFO(set_domain_ioctl %p(%d), %08x %08x\n, -obj, obj-size, read_domains, write_domain); + DRM_INFO(set_domain_ioctl %p(%ld), %08x %08x\n, +obj, (long)obj-size, read_domains, write_domain); #endif if (read_domains I915_GEM_DOMAIN_GTT) { ret = i915_gem_object_set_to_gtt_domain(obj, write_domain != 0); @@ -1051,8 +1051,8 @@ i915_gem_sw_finish_ioctl(struct drm_device *dev, void *data, } #if WATCH_BUF - DRM_INFO(%s: sw_finish %d (%p %d)\n, -__func__, args-handle, obj, obj-size); + DRM_INFO(%s: sw_finish %d (%p %ld)\n, +__func__, args-handle, obj, (long)obj-size); #endif obj_priv = obj-driver_private; @@ -2377,8 +2377,8 @@ i915_gem_object_bind_to_gtt(struct drm_gem_object *obj, unsigned alignment) } #if WATCH_BUF - DRM_INFO(Binding object of size %d at 0x%08x\n, -obj-size, obj_priv-gtt_offset); + DRM_INFO(Binding object of size %ld at 0x%08x\n, +(long)obj-size, obj_priv-gtt_offset); #endif ret = i915_gem_object_get_pages(obj); if (ret) { diff --git a/drivers/gpu/drm/i915/i915_gem_debug.c b/drivers/gpu/drm/i915/i915_gem_debug.c index 8d0b943..88e9c3f 100644 --- a/drivers/gpu/drm/i915/i915_gem_debug.c +++ b/drivers/gpu/drm/i915/i915_gem_debug.c @@ -143,9 +143,9 @@ i915_gem_object_check_coherency(struct drm_gem_object *obj, int handle) uint32_t *backing_map = NULL; int bad_count = 0; - DRM_INFO(%s: checking coherency of object %...@0x%08x (%d, %dkb):\n, + DRM_INFO(%s: checking coherency of object %...@0x%08x (%d, %ldkb):\n, __func__, obj, obj_priv-gtt_offset, handle, -obj-size / 1024); +(long)(obj-size / 1024)); gtt_mapping = ioremap(dev-agp-base + obj_priv-gtt_offset, obj-size); -- Krzysztof Halasa -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Trivial fixes #2 for drivers/gpu/drm/i915/: debug code
obj_priv-page_list has been recently renamed to obj_priv-pages. Fix the normally disabled debug code, too. Signed-off-by: Krzysztof Halasa k...@pm.waw.pl diff --git a/drivers/gpu/drm/i915/i915_gem_debug.c b/drivers/gpu/drm/i915/i915_gem_debug.c index 8d0b943..88e9c3f 100644 --- a/drivers/gpu/drm/i915/i915_gem_debug.c +++ b/drivers/gpu/drm/i915/i915_gem_debug.c @@ -87,7 +87,7 @@ i915_gem_dump_object(struct drm_gem_object *obj, int len, chunk_len = page_len - chunk; if (chunk_len 128) chunk_len = 128; - i915_gem_dump_page(obj_priv-page_list[page], + i915_gem_dump_page(obj_priv-pages[page], chunk, chunk + chunk_len, obj_priv-gtt_offset + page * PAGE_SIZE, @@ -157,7 +157,7 @@ i915_gem_object_check_coherency(struct drm_gem_object *obj, int handle) for (page = 0; page obj-size / PAGE_SIZE; page++) { int i; - backing_map = kmap_atomic(obj_priv-page_list[page], KM_USER0); + backing_map = kmap_atomic(obj_priv-pages[page], KM_USER0); if (backing_map == NULL) { DRM_ERROR(failed to map backing page\n); -- Krzysztof Halasa -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [PATCH] radeon_cp: use request_firmware
Ben Hutchings b...@decadent.org.uk writes: I don't copy Signed-off-by if I make significant changes as the original author should not be held responsible for any errors. I'll be happy to ask for your S-o-b before submitting a patch based on your work in future. I think we should never include the original SOB if there was _any_ change. SOB is not credits, it's a signature. If someone takes my patch and changes it, I want my SOB line removed unless I re-sign the modified patch. We may invent some other Based-on-patch-by: etc. tag if really necessary, but the signature is a different thing. -- Krzysztof Halasa -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel