diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2019-04-05 17:51:11 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2019-04-08 10:39:11 -0700 |
commit | 98c0d19ec72cd75ff85f9e84c52d11deb3c82032 (patch) | |
tree | 7e93d41d7fc9ff0639986867074846b200f2b0e9 /fs | |
parent | c0f6ffb2cd6a99ace18e7e195048381d6185cfcb (diff) |
drm/i915/psr: Initialize PSR mutex even when sink is not reliable
Even when driver is reloaded and hits this scenario the PSR mutex
should be initialized, otherwise reading PSR debugfs status will
execute mutex_lock() over a mutex that was not initialized.
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190406005112.27205-3-jose.souza@intel.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions