Bug 16811

Summary: drivers/gpu/drm/i915/intel_overlay.c does not compile
Product: Drivers Reporter: Martin Ziegler (ziegler)
Component: Video(DRI - Intel)Assignee: drivers_video-dri-intel (drivers_video-dri-intel)
Status: RESOLVED CODE_FIX    
Severity: normal CC: akpm, andremuellerster, chris
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: v2.6.36-rc1-236-g3dc8d7f1 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: linux-2.6/.config

Description Martin Ziegler 2010-08-23 00:40:24 UTC
Created attachment 27711 [details]
linux-2.6/.config

CC [M]  drivers/gpu/drm/i915/dvo_ch7017.o

drivers/gpu/drm/i915/intel_overlay.c: In function 'intel_overlay_print_error_state':

drivers/gpu/drm/i915/intel_overlay.c:1467: error: implicit declaration of function 'seq_printf'


Martin
Comment 1 Andre Muller 2010-08-24 21:41:01 UTC
This was introduced with

commit 6ef3d4278034982c13df87c4a51e0445f762d316
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 4 20:26:07 2010 +0100

    drm/i915: Capture the overlay status upon a GPU hang.
    
    v2: Add the interrupt status and address.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: Eric Anholt <eric@anholt.net>

HTH,
Andre
Comment 2 Andrew Morton 2010-08-24 23:36:12 UTC
Thanks, I queued a hopeful fix.  I'll see if I can get someone to merge it.
Comment 3 Andre Muller 2010-08-25 13:03:20 UTC
I applied the patch to current linus tree, which compiles (and boots) fine now. 
Thanks!