[Intel-gfx] [PULL] drm-misc-next-fixes

Sean Paul sean at poorly.run
Wed Apr 24 21:06:04 UTC 2019


Hi Da.*,
First pull from -next-fixes for 5.2. Mostly lease fixes from Daniel with a NULL
deref from Noralf.

Please pull!


drm-misc-next-fixes-2019-04-24:
- fb_helper: Fix NULL deref in legacy drivers (Noralf)
- leases: Ensure lessees can't connect to objects outside their perview (Daniel)
- leases: Enforce that lessees hold the lease for implicitly set planes (Daniel)
- leases: A few non-functional cleanups (Daniel)

Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Noralf Trønnes <noralf at tronnes.org>

Cheers, Sean


The following changes since commit abbc0697d5fbf53f74ce0bcbe936670199764cfa:

  drm/fb: revert the i915 Actually configure untiled displays from master (2019-04-24 16:41:03 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-04-24

for you to fetch changes up to 1de7259275ca4ebc66459de6620558d3e38d4142:

  drm/fb-helper: Fix drm_fb_helper_firmware_config() NULL pointer deref (2019-04-24 15:57:43 +0200)

----------------------------------------------------------------
- fb_helper: Fix NULL deref in legacy drivers (Noralf)
- leases: Ensure lessees can't connect to objects outside their perview (Daniel)
- leases: Enforce that lessees hold the lease for implicitly set planes (Daniel)
- leases: A few non-functional cleanups (Daniel)

Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Noralf Trønnes <noralf at tronnes.org>

----------------------------------------------------------------
Daniel Vetter (7):
      drm/leases: Drop object_id validation for negative ids
      drm/lease: Drop recursive leads checks
      drm/leases: Don't init to 0 in drm_master_create
      drm/lease: Check for lessor outside of locks
      drm/lease: Make sure implicit planes are leased
      drm/atomic: Wire file_priv through for property changes
      drm/atomic: -EACCESS for lease-denied crtc lookup

Noralf Trønnes (1):
      drm/fb-helper: Fix drm_fb_helper_firmware_config() NULL pointer deref

 drivers/gpu/drm/drm_atomic_uapi.c   | 36 +++++++++++++++++++++++-------------
 drivers/gpu/drm/drm_auth.c          |  2 --
 drivers/gpu/drm/drm_crtc.c          |  4 ++++
 drivers/gpu/drm/drm_crtc_internal.h |  1 +
 drivers/gpu/drm/drm_fb_helper.c     |  3 +++
 drivers/gpu/drm/drm_lease.c         | 13 +++----------
 drivers/gpu/drm/drm_mode_object.c   |  5 +++--
 drivers/gpu/drm/drm_plane.c         |  8 ++++++++
 8 files changed, 45 insertions(+), 27 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS


More information about the Intel-gfx mailing list