]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: pch_irq_handler -> {ibx, cpt}_irq_handler
authorAdam Jackson <ajax@redhat.com>
Wed, 6 Jun 2012 19:45:44 +0000 (15:45 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Jun 2012 21:01:08 +0000 (23:01 +0200)
commita7f8bf1c97050589b8b7c971dbfa865e15786143
tree39d07d6ac9617004820b86af6d7c0a38905ef09b
parentfd221c45fe20b1a20611e857c74f40be4ee9732f
drm/i915: pch_irq_handler -> {ibx, cpt}_irq_handler

Cougar/Panther Point redefine the bits in SDEIIR pretty completely.
This function is just debugging, but if we're debugging we probably want
to be told accurate things instead of lies.

I'm told Lynx Point changes this yet more, but I have no idea how...

Note from Eugeni's review:

"For the record and for future enabling efforts, for LPT, bits 28-31
and 1-14 are gone since CPT/PPT (e.g., those must be zero). And there
is the bit 15 as a new addition, but we are not using it yet and
probably won't be using in foreseeable future."

Signed-off-by: Adam Jackson <ajax@redhat.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35103
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h