diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2022-06-01 20:46:30 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-07-27 09:05:48 +1000 |
commit | 32dd9236698bcd2ffdb69954b167a851fd50182a (patch) | |
tree | d38d227102d70265588af953452b2c86419aca57 /fs/ksmbd/transport_rdma.h | |
parent | 95983aea80038539ebc70e41e73e9bb4eabd1a92 (diff) |
drm/nouveau/disp: add conn method to query HPD pin status
And use it to bail early in DP detection and avoid futile AUX transactions.
This could be used on other connector types too in theory, but it's not
something we've ever done before and I'd rather not risk breaking working
systems without looking into it more closely.
It's safe for DP though. We already do this by checking an AUX register
that contains HPD status and aborting the transaction. However, this is
much deeper in the stack - after taking various mutexes, poking HW for no
good reason, and making a mess in debug logs.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'fs/ksmbd/transport_rdma.h')
0 files changed, 0 insertions, 0 deletions