diff options
author | Lyude Paul <lyude@redhat.com> | 2020-12-05 01:35:55 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-12-23 17:58:04 +0300 |
commit | f12110afee058a2e6e816e315d3291765625cc87 (patch) | |
tree | c3861b45a3f5f9217ce3641c041e62c638529212 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 00a16d02f4df8383e34d6ed81accc48b8f1b8143 (diff) | |
download | linux-f12110afee058a2e6e816e315d3291765625cc87.tar.xz |
drm/i915/dp: Program source OUI on eDP panels
Since we're about to start adding support for Intel's magic HDR
backlight interface over DPCD, we need to ensure we're properly
programming this field so that Intel specific sink services are exposed.
Otherwise, 0x300-0x3ff will just read zeroes.
We also take care not to reprogram the source OUI if it already matches
what we expect. This is just to be careful so that we don't accidentally
take the panel out of any backlight control modes we found it in.
v2:
* Add careful parameter to intel_edp_init_source_oui() to avoid
re-writing the source OUI if it's already been set during driver
initialization
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: thaytan@noraisin.net
Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201204223603.249878-2-lyude@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions