aboutsummaryrefslogtreecommitdiff
path: root/linux-core/mga_drv.c
diff options
context:
space:
mode:
authorHong Liu <hong.liu@intel.com>2008-07-15 10:14:17 -0700
committerIan Romanick <ian.d.romanick@intel.com>2008-07-15 10:14:17 -0700
commitdfd441cf964f20e4a761cb8490d7cd82cf32e7b9 (patch)
tree152309de7821177bf9073ab8cb9337fc5421a321 /linux-core/mga_drv.c
parent764573f3b8bec90f20c3bdd58c4b55490fbbdaf4 (diff)
This is a modified version of Hong's patch from last month, with a few
modifications to make it work correctly on my test hardware (altered the backlight write function, made it enable the legacy backlight controller interrupts on mobile hardware, sorted the interrupt function so we don't get an excessive number of vblank interrupts). This lets the backlight keys on my T61 work properly, though there's a 750msec or so delay between the request and the brightness actually changing - this sounds awfully like the hardware spinning waiting for a status flag to become ready, but as far as I can tell they're all set correctly. If anyone can figure out what's wrong here, it'd be nice to know. Some of the functions are still stubs and just tell the hardware that the request was successful. These can be filled in as kernel modesetting gets integrated. I think it's worth getting this in anyway, since it's required for backlight control to work properly on some new platforms. Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'linux-core/mga_drv.c')
0 files changed, 0 insertions, 0 deletions