dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/video
David S. Miller 7ab876703d [RADEON]: Fix blanking return value.
If you'll recall, over a year ago, I pointed out that the current
Radeon driver erroneously returns -EINVAL for valid blanking codes,
here is a link to that thread:

	http://lkml.org/lkml/2006/1/28/6

No other driver does this, and it confuses the X server into thinking
that the device does not support blanking properly.

I looked again and there is simply no reason for the Radeon driver to
return -EINVAL for FB_BLANK_NORMAL.  It claims it wants to do this in
order to convince fbcon to blank in software, right here:

			if (fb_blank(info, blank))
				fbcon_generic_blank(vc, info, blank);

to software blank the screen.  But it only causes that to happen
in the FB_BLANK_NORMAL case.

That makes no sense because the Radeon code does this:

		val |= CRTC_DISPLAY_DIS;

in the FB_BLANK_NORMAL case so should be blanking the hardware, and
there is therefore no reason to SW blank by returning -EINVAL.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Antonino Daplas <adaplas@gmail.com>
2007-03-02 15:22:54 -08:00
..
aty [RADEON]: Fix blanking return value. 2007-03-02 15:22:54 -08:00
backlight backlight: simplify corgi_bl locking 2007-02-20 09:26:54 +00:00
console backlight/fbcon: Add FB_EVENT_CONBLANK 2007-02-20 08:38:45 +00:00
geode [PATCH] Recognize video=gx1fb:... option 2007-02-12 09:48:42 -08:00
i810 [PATCH] i810fb: fix i810_check_params section mismatch 2007-02-20 17:10:16 -08:00
intelfb [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
kyro [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
logo
matrox i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
mbx [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
nvidia backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
pnx4008
riva backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
savage [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sis [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
68328fb.c
Kconfig [PATCH] ps3: introduce CONFIG_PS3_ADVANCED 2007-03-01 14:53:38 -08:00
Makefile [PATCH] fb: SM501 framebuffer driver 2007-02-20 17:10:16 -08:00
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c
asiliantfb.c
atafb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
au1100fb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
au1100fb.h
au1200fb.c
au1200fb.h
bt431.h
bt455.h
bw2.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
cg3.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
cg6.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
cg14.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
chipsfb.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
cirrusfb.c
clps711xfb.c
controlfb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
controlfb.h
cyber2000fb.c [PATCH] cyber2010 framebuffer on ARM Netwinder fix 2007-02-12 09:48:42 -08:00
cyber2000fb.h
cyblafb.c
dnfb.c
edid.h
epson1355fb.c
fb_ddc.c
fb_notify.c
fbcmap.c
fbcvt.c
fbmem.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fbmon.c
fbsysfs.c backlight: Rework backlight/fb interaction simplifying, lots 2007-02-20 08:38:46 +00:00
ffb.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
fm2fb.c
g364fb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
gbefb.c
gxt4500.c [PATCH] gxt4500: Fix colormap and PLL setting, support GXT6000P 2006-12-22 08:55:50 -08:00
hgafb.c
hitfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
hpfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
igafb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
imacfb.c
imsttfb.c
imxfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
imxfb.h
leo.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
macfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
macmodes.c
macmodes.h
maxinefb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
modedb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
neofb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
offb.c
output.c output: Add display output class support 2006-12-20 01:46:41 -05:00
p9100.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
platinumfb.c
platinumfb.h
pm2fb.c
pm3fb.c [PATCH] pm3fb: kill pci_find_device usage 2007-02-12 09:48:42 -08:00
pmag-aa-fb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
pmag-ba-fb.c [TC] mips: pmag-ba-fb: Convert to the driver model 2007-02-09 16:23:17 +00:00
pmagb-b-fb.c [TC] pmagb-b-fb: Convert to the driver model 2007-02-09 16:23:18 +00:00
ps3fb.c [PATCH] ps3: Virtual Frame Buffer Driver 2007-02-12 09:48:44 -08:00
pvr2fb.c
pxafb.c
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c2410fb.c [PATCH] s3c2410fb: fix un-initialised dev field 2007-02-16 08:14:01 -08:00
s3c2410fb.h
s3fb.c [PATCH] Fix build-failure in drivers/video/s3fb.c 2007-02-26 12:56:46 -08:00
sa1100fb.c [ARM] 4035/1: fix collie compilation 2006-12-17 23:37:47 +00:00
sa1100fb.h [PATCH] Replace regular code with appropriate calls to container_of() 2007-02-11 11:18:06 -08:00
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
sm501fb.c [PATCH] drivers/video/sm501fb.c: make 4 functions static 2007-03-01 14:53:35 -08:00
sstfb.c
sticore.h
stifb.c
svgalib.c [PATCH] fbdev driver for S3 Trio/Virge 2007-02-12 09:48:41 -08:00
tcx.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
tdfxfb.c
tgafb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
tridentfb.c
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c
vfb.c
vga16fb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
vgastate.c
w100fb.c
w100fb.h