All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>,
	<dri-devel@lists.freedesktop.org>, <airlied@gmail.com>,
	<daniel.vetter@ffwll.ch>
Cc: Alex Deucher <alexander.deucher@amd.com>
Subject: [pull] amdgpu drm-fixes-5.16
Date: Fri, 31 Dec 2021 09:38:25 -0500	[thread overview]
Message-ID: <20211231143825.11479-1-alexander.deucher@amd.com> (raw)

Hi Dave, Daniel,

One small suspend/resume fix, and the rest is restoring the runtime pm behavior
that changed for some people when efifb dropped its extra runtime pm reference.
Unfortunately the issue has not been something we've been able to reproduce
consistently.  The patches here basically re-enable the previous behavior, but
in the driver if the device is the one that was used by the firmware
framebuffer.  It is limited to the device used by firmware since I don't want to
regress hybrid graphics laptops and other systems that have been working fine
years.  The first patch adds a helper to fbmem.c to determine if the adapter is
the one used by firmware.  This needs a more indepth analysis, but with the
holidays and the late state of the 5.16 cycle, this seems like the best option.

The following changes since commit ce9b333c73a5a8707f2f446a837a6ca743ddcffd:

  Merge branch 'drm-misc-fixes' of ssh://git.freedesktop.org/git/drm/drm-misc into drm-fixes (2021-12-31 11:40:29 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-5.16-2021-12-31

for you to fetch changes up to b95dc06af3e683d6b7ddbbae178b2b2a21ee8b2b:

  drm/amdgpu: disable runpm if we are the primary adapter (2021-12-31 08:57:45 -0500)

----------------------------------------------------------------
amd-drm-fixes-5.16-2021-12-31:

amdgpu:
- Suspend/resume fix
- Restore runtime pm behavior with efifb

----------------------------------------------------------------
Alex Deucher (2):
      fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb
      drm/amdgpu: disable runpm if we are the primary adapter

Evan Quan (1):
      drm/amd/pm: keep the BACO feature enabled for suspend

 drivers/gpu/drm/amd/amdgpu/amdgpu.h       |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c   | 28 ++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c   |  6 ++++
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c |  8 +++++-
 drivers/video/fbdev/core/fbmem.c          | 47 +++++++++++++++++++++++++++++++
 include/linux/fb.h                        |  1 +
 6 files changed, 90 insertions(+), 1 deletion(-)

             reply	other threads:[~2021-12-31 14:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-31 14:38 Alex Deucher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-29 15:51 [pull] amdgpu drm-fixes-5.16 Alex Deucher
2021-12-30  5:29 ` Dave Airlie
2021-12-30 13:53   ` Alex Deucher
2021-12-16  3:52 Alex Deucher
2021-12-09  4:28 Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211231143825.11479-1-alexander.deucher@amd.com \
    --to=alexander.deucher@amd.com \
    --cc=airlied@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.