mbox series

[0/3] drm/gma500: Fix 2 locking related WARN_ON oopses

Message ID 20220905133738.466490-1-hdegoede@redhat.com (mailing list archive)
Headers show
Series drm/gma500: Fix 2 locking related WARN_ON oopses | expand

Message

Hans de Goede Sept. 5, 2022, 1:37 p.m. UTC
Hi All,

I have been testing the gma500 code on a Packard Bell Dot SC (Intel Atom
N2600, cedarview) laptop because I'm working on aligning the gma500
backlight code with the changes done to other drivers in the recent
backlight refactoring.

During the testing I noticed dmesg filling with a WARN_ON constantly
triggering.

This series consists of 3 small non backlight fixes,
2 of which fix WARN_ON oopses/backtraces.

Regards,

Hans


Hans de Goede (3):
  drm/gma500: Fix BUG: sleeping function called from invalid context
    errors
  drm/gma500: Fix crtc_vblank reference leak when userspace queues
    multiple events
  drm/gma500: Fix WARN_ON(lock->magic != lock) error

 drivers/gpu/drm/gma500/gem.c         |  4 ++--
 drivers/gpu/drm/gma500/gma_display.c | 21 ++++++++++++++-------
 2 files changed, 16 insertions(+), 9 deletions(-)