drm/i915: Add support for Intel's eDP backlight controls
v6 cover drm/i915: Add support for Intel's eDP backlight controls
A while ago we ran into issues while trying to enable the eDP backlight control interface as defined by VESA, in order to make the DPCD backlight controls on newer laptop panels work. The issue ended up being much more complicated however, as we also apparently needed to add support for an Intel-specific DPCD backlight control interface as the VESA interface is broken on many laptop panels. For lack of a better name, we just call this the Intel HDR backlight interface.
While this only adds support for the SDR backlight mode (I think), this will fix a lot of user's laptop panels that we weren't able to properly automatically detect DPCD backlight controls on previously.
Series-wide changes in v3:
* Pass down brightness values to enable/disable backlight callbacks in a separate patch
* Rebase
Lyude Paul (4):
drm/i915: Keep track of pwm-related backlight hooks separately drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now) drm/i915/dp: Allow forcing specific interfaces through
enable_dpcd_backlight
drm/dp: Revert "drm/dp: Introduce EDID-based quirks"
drivers/gpu/drm/drm_dp_helper.c | 83 +--- drivers/gpu/drm/drm_dp_mst_topology.c | 3 +- .../drm/i915/display/intel_display_types.h | 14 +- drivers/gpu/drm/i915/display/intel_dp.c | 9 +- .../drm/i915/display/intel_dp_aux_backlight.c | 286 ++++++++++++-- drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 +- drivers/gpu/drm/i915/display/intel_panel.c | 368 +++++++++++------- drivers/gpu/drm/i915/display/intel_panel.h | 4 + drivers/gpu/drm/i915/display/intel_psr.c | 2 +- drivers/gpu/drm/i915/i915_params.c | 2 +- include/drm/drm_dp_helper.h | 21 +- 11 files changed, 504 insertions(+), 291 deletions(-)
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 1/4 drm/i915: Keep track of pwm-related backlight hooks separately
Currently, every different type of backlight hook that i915 supports is pretty straight forward - you have a backlight, probably through PWM (but maybe DPCD), with a single set of platform-specific hooks that are used for controlling it.
HDR backlights, in particular VESA and Intel's HDR backlight implementations, can end up being more complicated. With Intel's proprietary interface, HDR backlight controls always run through the DPCD. When the backlight is in SDR backlight mode however, the driver may need to bypass the TCON and control the backlight directly through PWM.
So, in order to support this we'll need to split our backlight callbacks into two groups: a set of high-level backlight control callbacks in intel_panel, and an additional set of pwm-specific backlight control callbacks. This also implies a functional changes for how these callbacks are used:
* We now keep track of two separate backlight level ranges, one for the high-level backlight, and one for the pwm backlight range
* We also keep track of backlight enablement and PWM backlight enablement separately
* Since the currently set backlight level might not be the same as the currently programmed PWM backlight level, we stop setting panel->backlight.level with the currently programmed PWM backlight level in panel->backlight.pwm_funcs->setup(). Instead, we rely on the higher level backlight control functions to retrieve the current PWM backlight level (in this case, intel_pwm_get_backlight()). Note that there are still a few PWM backlight setup callbacks that do actually need to retrieve the current PWM backlight level, although we no longer save this value in panel->backlight.level like before.
Additionally, we drop the call to lpt_get_backlight() in lpt_setup_backlight(), and avoid unconditionally writing the PWM value that we get from it and only write it back if we're in CPU mode, and switching to PCH mode. The reason for this is because in the original codepath for this, it was expected that the intel_panel_bl_funcs->setup() hook would be responsible for fetching the initial backlight level. On lpt systems, the only time we could ever be in PCH backlight mode is during the initial driver load - meaning that outside of the setup() hook, lpt_get_backlight() will always be the callback used for retrieving the current backlight level. After this patch we still need to fetch and write-back the PCH backlight value if we're switching from CPU mode to PCH, but because intel_pwm_setup_backlight() will retrieve the backlight level after setup() using the get() hook, which always ends up being lpt_get_backlight(). Thus
- an additional call to lpt_get_backlight() in lpt_setup_backlight() is made redundant.
v7:
* Use panel->backlight.pwm_funcs->get() to get the backlight level in intel_pwm_setup_backlight(), lest we upset lockdep
* Rebase
* Rename intel_panel_sanitize_pwm_level() to intel_panel_invert_pwm_level() v6:
* Make sure to grab connection_mutex before calling intel_pwm_get_backlight() in intel_pwm_setup_backlight()
v5:
* Fix indenting warnings from checkpatch
v4:
* Fix commit message
* Remove outdated comment in intel_panel.c
* Rename pwm_(min|max) to pwm_level_(min|max)
* Use intel_pwm_get_backlight() in intel_pwm_setup_backlight() instead of indirection
* Don't move intel_dp_aux_init_bcklight_funcs() call to bottom of intel_panel_init_backlight_funcs() quite yet
v3:
* Reuse intel_panel_bl_funcs() for pwm_funcs
* Explain why we drop lpt_get_backlight()
--- .../drm/i915/display/intel_display_types.h | 4 + drivers/gpu/drm/i915/display/intel_panel.c | 330 ++++++++++-------- 2 files changed, 187 insertions(+), 147 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +4 -0
@@ -252,6 +252,9 @@ struct intel_panel {bool alternate_pwm_increment;/* lpt+ */ /* PWM chip */ +u32 pwm_level_min; +u32 pwm_level_max; +bool pwm_enabled;bool util_pin_active_low;/* bxt+ */ u8 controller;/* bxt+ only */ struct pwm_device *pwm;
@@ -263,6 +266,7 @@ struct intel_panel {struct backlight_device *device;const struct intel_panel_bl_funcs *funcs; +const struct intel_panel_bl_funcs *pwm_funcs;void (*power)(struct intel_connector *,bool enable); } backlight; };
drivers/gpu/drm/i915/display/intel_panel.c +183 -147
723 lines not on this page · raw message
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v6 1/4] drm/i915: Keep track of pwm-related backlight hooks separately
Quoted 48 lines · Lyude Paul
Currently, every different type of backlight hook that i915 supports is pretty straight forward - you have a backlight, probably through PWM (but maybe DPCD), with a single set of platform-specific hooks that are used for controlling it.
HDR backlights, in particular VESA and Intel's HDR backlight implementations, can end up being more complicated. With Intel's proprietary interface, HDR backlight controls always run through the DPCD. When the backlight is in SDR backlight mode however, the driver may need to bypass the TCON and control the backlight directly through PWM.
So, in order to support this we'll need to split our backlight callbacks into two groups: a set of high-level backlight control callbacks in
intel_panel, and an additional set of pwm-specific backlight control callbacks. This also implies a functional changes for how these callbacks are used:* We now keep track of two separate backlight level ranges, one for the high-level backlight, and one for the pwm backlight range
* We also keep track of backlight enablement and PWM backlight enablement separately
* Since the currently set backlight level might not be the same as the currently programmed PWM backlight level, we stop settingpanel->backlight.levelwith the currently programmed PWM backlight level inpanel->backlight.pwm_funcs->setup(). Instead, we rely on the higher level backlight control functions to retrieve the current PWM backlight level (in this case,intel_pwm_get_backlight()). Note that there are still a few PWM backlight setup callbacks that do actually need to retrieve the current PWM backlight level, although we no longer save this value inpanel->backlight.levellike before.Additionally, we drop the call to
lpt_get_backlight()inlpt_setup_backlight(), and avoid unconditionally writing the PWM value that we get from it and only write it back if we're in CPU mode, and switching to PCH mode. The reason for this is because in the original codepath for this, it was expected that theintel_panel_bl_funcs->setup()hook would be responsible for fetching the initial backlight level. On lpt systems, the only time we could ever be in PCH backlight mode is during the initial driver load - meaning that outside of thesetup()hook,lpt_get_backlight()will always be the callback used for retrieving the current backlight level. After this patch we still need to fetch and write-back the PCH backlight value if we're switching from CPU mode to PCH, but becauseintel_pwm_setup_backlight()will retrieve the backlight level aftersetup()using theget()hook, which always ends up beinglpt_get_backlight(). Thus
- an additional call tolpt_get_backlight()inlpt_setup_backlight()is made redundant.
Quoted 3 lines
v7:
* Usepanel->backlight.pwm_funcs->get()to get the backlight level inintel_pwm_setup_backlight(), lest we upset lockdep
I think this change is wrong, as it now bypasses intel_panel_invert_pwm_level(). Please explain. I don't see anything in there that could trigger a lockdep warning.
Perhaps it's the below you're referring to, but I think the root cause is different?
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_panel.c +2
-3@@ -1788,22 +1780,17 @@ static int vlv_setup_backlight(struct intel_connector *connector, enum pipe pipe panel->backlight.active_low_pwm = ctl2 &BLM_POLARITY_I965 ; ctl =intel_de_read (dev_priv,VLV_BLC_PWM_CTL (pipe)); - panel->backlight.max = ctl >>16 ; + panel->backlight.pwm_level_max = ctl >>16 ; -if (!panel->backlight.max) - panel->backlight.max =get_backlight_max_vbt (connector); +if (!panel->backlight.pwm_level_max)
drivers/gpu/drm/i915/display/intel_panel.c static int vlv_setup_backlight(struct intel_connector *connector, enum pipe pipe · line 1801
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_panel.c +3
-3+ panel->backlight.pwm_level_max =get_backlight_max_vbt (connector); -if (!panel->backlight.max) +if (!panel->backlight.pwm_level_max)return -ENODEV ; - panel->backlight.min =get_backlight_min_vbt (connector); + panel->backlight.pwm_level_min =get_backlight_min_vbt (connector); - val =_vlv_get_backlight (dev_priv, pipe);
Turns out this is a meaningful change, as the higher level vlv_get_backlight() function that will be called instead hits:
<4>[ 12.870202] i915 0000:00:02.0: drm_WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex))
in intel_connector_get_pipe(connector).
It's a real problem. See this, it's obvious (in retrospect):
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/igt@[email protected]
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/boot0.txt
I don't have a quick answer how this could be handled neatly. Perhaps the ->get call (or rather, intel_pwm_get_backlight) to set panel->backlight.level needs to be spread out to the end of each pwm_funcs->setup function after all? Though it's at the wrong abstraction level wrt level being a higher level, uh, level.
I don't think it's enough to just grab connection_mutex around setup (and even checking if we can do that is a bunch of digging) - I think it's likely intel_connector_get_pipe() returns INVALID_PIPE at that point.
Okay, here's a clumsy suggestion that I think works around this and unblocks the series until we figure out a better way:
1. At the end of vlv_setup_backlight():
/* add fixme comment about how wrong this is */ panel->backlight.level = intel_panel_invert_pwm_level(connector, _vlv_get_backlight());
2. In intel_pwm_setup_backlight() only set level if ->setup didn't:
if (!panel->backlight.level)
panel->backlight.level = intel_pwm_get_backlight(connector);What do you think?
BR,
Jani.
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_panel.c +1
-5- val =intel_panel_compute_brightness (connector, val); - panel->backlight.level =clamp (val, panel->backlight.min, - panel->backlight.max); - - panel->backlight.enabled = ctl2 &BLM_PWM_ENABLE ; + panel->backlight.pwm_enabled = ctl2 &BLM_PWM_ENABLE ;return 0 ; }@@ -1828,24 +1815,18 @@ bxt_setup_backlight(struct intel_connector *connector, enum pipe unused)
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v6 1/4] drm/i915: Keep track of pwm-related backlight hooks separately
Quoted 109 lines · Jani Nikula
Quoted 48 lines · Lyude Paul
Currently, every different type of backlight hook that i915 supports is pretty straight forward - you have a backlight, probably through PWM (but maybe DPCD), with a single set of platform-specific hooks that are used for controlling it.
HDR backlights, in particular VESA and Intel's HDR backlight implementations, can end up being more complicated. With Intel's proprietary interface, HDR backlight controls always run through the DPCD. When the backlight is in SDR backlight mode however, the driver may need to bypass the TCON and control the backlight directly through PWM.
So, in order to support this we'll need to split our backlight callbacks into two groups: a set of high-level backlight control callbacks in
intel_panel, and an additional set of pwm-specific backlight control callbacks. This also implies a functional changes for how these callbacks are used:* We now keep track of two separate backlight level ranges, one for the high-level backlight, and one for the pwm backlight range
* We also keep track of backlight enablement and PWM backlight enablement separately
* Since the currently set backlight level might not be the same as the currently programmed PWM backlight level, we stop settingpanel->backlight.levelwith the currently programmed PWM backlight level inpanel->backlight.pwm_funcs->setup(). Instead, we rely on the higher level backlight control functions to retrieve the current PWM backlight level (in this case,intel_pwm_get_backlight()). Note that there are still a few PWM backlight setup callbacks that do actually need to retrieve the current PWM backlight level, although we no longer save this value inpanel->backlight.levellike before.Additionally, we drop the call to
lpt_get_backlight()inlpt_setup_backlight(), and avoid unconditionally writing the PWM value that we get from it and only write it back if we're in CPU mode, and switching to PCH mode. The reason for this is because in the original codepath for this, it was expected that theintel_panel_bl_funcs->setup()hook would be responsible for fetching the initial backlight level. On lpt systems, the only time we could ever be in PCH backlight mode is during the initial driver load - meaning that outside of thesetup()hook,lpt_get_backlight()will always be the callback used for retrieving the current backlight level. After this patch we still need to fetch and write-back the PCH backlight value if we're switching from CPU mode to PCH, but becauseintel_pwm_setup_backlight()will retrieve the backlight level aftersetup()using theget()hook, which always ends up beinglpt_get_backlight(). Thus
- an additional call tolpt_get_backlight()inlpt_setup_backlight()is made redundant.Quoted 3 lines
v7:
* Usepanel->backlight.pwm_funcs->get()to get the backlight level inintel_pwm_setup_backlight(), lest we upset lockdepI think this change is wrong, as it now bypasses
intel_panel_invert_pwm_level(). Please explain. I don't see anything in there that could trigger a lockdep warning.Perhaps it's the below you're referring to, but I think the root cause is different?
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_panel.c +2
-3@@ -1788,22 +1780,17 @@ static int vlv_setup_backlight(struct intel_connector *connector, enum pipe pipe panel->backlight.active_low_pwm = ctl2 &BLM_POLARITY_I965 ; ctl =intel_de_read (dev_priv,VLV_BLC_PWM_CTL (pipe)); - panel->backlight.max = ctl >>16 ; + panel->backlight.pwm_level_max = ctl >>16 ; -if (!panel->backlight.max) - panel->backlight.max =get_backlight_max_vbt (connector); +if (!panel->backlight.pwm_level_max)drivers/gpu/drm/i915/display/intel_panel.c static int vlv_setup_backlight(struct intel_connector *connector, enum pipe pipe · line 1801
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_panel.c +3
-3+ panel->backlight.pwm_level_max =get_backlight_max_vbt (connector); -if (!panel->backlight.max) +if (!panel->backlight.pwm_level_max)return -ENODEV ; - panel->backlight.min =get_backlight_min_vbt (connector); + panel->backlight.pwm_level_min =get_backlight_min_vbt (connector); - val =_vlv_get_backlight (dev_priv, pipe);Turns out this is a meaningful change, as the higher level
vlv_get_backlight()function that will be called instead hits:<4>[ 12.870202] i915 0000:00:02.0: drm_WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex))in
intel_connector_get_pipe(connector).It's a real problem. See this, it's obvious (in retrospect):
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/igt@[email protected]
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/boot0.txtI don't have a quick answer how this could be handled neatly. Perhaps the ->get call (or rather,
intel_pwm_get_backlight) to setpanel->backlight.levelneeds to be spread out to the end of eachpwm_funcs->setupfunction after all? Though it's at the wrong abstraction level wrt level being a higher level, uh, level.I don't think it's enough to just grab
connection_mutexaround setup (and even checking if we can do that is a bunch of digging) - I think it's likelyintel_connector_get_pipe()returnsINVALID_PIPEat that point.Okay, here's a clumsy suggestion that I think works around this and unblocks the series until we figure out a better way:
1. At the end of
vlv_setup_backlight():
Quoted 8 lines
/* add fixme comment about how wrong this is */ panel->backlight.level = intel_panel_invert_pwm_level(connector, _vlv_get_backlight());2. In
intel_pwm_setup_backlight()only set level if ->setup didn't:if (!panel->backlight.level) panel->backlight.level = intel_pwm_get_backlight(connector);
Of course, if ->setup ends up setting the level to 0, it hits the same issue. :(
Quoted 16 lines
What do you think?
BR,
Jani.Quoted 10 lines
drivers/gpu/drm/i915/display/intel_panel.c +1
-5- val =intel_panel_compute_brightness (connector, val); - panel->backlight.level =clamp (val, panel->backlight.min, - panel->backlight.max); - - panel->backlight.enabled = ctl2 &BLM_PWM_ENABLE ; + panel->backlight.pwm_enabled = ctl2 &BLM_PWM_ENABLE ;return 0 ; }@@ -1828,24 +1815,18 @@ bxt_setup_backlight(struct intel_connector *connector, enum pipe unused)
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v6 1/4] drm/i915: Keep track of pwm-related backlight hooks separately
In reply to Jani NikulaQuoted 49 lines · Jani Nikula
Quoted 48 lines · Lyude Paul
Currently, every different type of backlight hook that i915 supports is pretty straight forward - you have a backlight, probably through PWM (but maybe DPCD), with a single set of platform-specific hooks that are used for controlling it.
HDR backlights, in particular VESA and Intel's HDR backlight implementations, can end up being more complicated. With Intel's proprietary interface, HDR backlight controls always run through the DPCD. When the backlight is in SDR backlight mode however, the driver may need to bypass the TCON and control the backlight directly through PWM.
So, in order to support this we'll need to split our backlight callbacks into two groups: a set of high-level backlight control callbacks in
intel_panel, and an additional set of pwm-specific backlight control callbacks. This also implies a functional changes for how these callbacks are used:* We now keep track of two separate backlight level ranges, one for the high-level backlight, and one for the pwm backlight range
* We also keep track of backlight enablement and PWM backlight enablement separately
* Since the currently set backlight level might not be the same as the currently programmed PWM backlight level, we stop settingpanel->backlight.levelwith the currently programmed PWM backlight level inpanel->backlight.pwm_funcs->setup(). Instead, we rely on the higher level backlight control functions to retrieve the current PWM backlight level (in this case,intel_pwm_get_backlight()). Note that there are still a few PWM backlight setup callbacks that do actually need to retrieve the current PWM backlight level, although we no longer save this value inpanel->backlight.levellike before.Additionally, we drop the call to
lpt_get_backlight()inlpt_setup_backlight(), and avoid unconditionally writing the PWM value that we get from it and only write it back if we're in CPU mode, and switching to PCH mode. The reason for this is because in the original codepath for this, it was expected that theintel_panel_bl_funcs->setup()hook would be responsible for fetching the initial backlight level. On lpt systems, the only time we could ever be in PCH backlight mode is during the initial driver load - meaning that outside of thesetup()hook,lpt_get_backlight()will always be the callback used for retrieving the current backlight level. After this patch we still need to fetch and write-back the PCH backlight value if we're switching from CPU mode to PCH, but becauseintel_pwm_setup_backlight()will retrieve the backlight level aftersetup()using theget()hook, which always ends up beinglpt_get_backlight(). Thus
- an additional call tolpt_get_backlight()inlpt_setup_backlight()is made redundant.
Quoted 7 lines
Quoted 3 lines
v7:
* Usepanel->backlight.pwm_funcs->get()to get the backlight level inintel_pwm_setup_backlight(), lest we upset lockdepI think this change is wrong, as it now bypasses
intel_panel_invert_pwm_level(). Please explain. I don't see anything in there that could trigger a lockdep warning.
yeah-this was definitely me misunderstanding what the issue we were hitting here was.
Quoted 63 lines
Perhaps it's the below you're referring to, but I think the root cause is different?
Quoted 14 lines
(quoted diff) +0
-0@@ -1788,22 +1780,17 @@ static int vlv_setup_backlight(struct
intel_connector*connector, enum pipe pipepanel->backlight.active_low_pwm= ctl2 &BLM_POLARITY_I965;
ctl =intel_de_read(dev_priv, VLV_BLC_PWM_CTL(pipe)); - panel->backlight.max = ctl >> 16;
+ panel->backlight.pwm_level_max = ctl >> 16;
- if (!panel->backlight.max)
- panel->backlight.max =get_backlight_max_vbt(connector); + if (!panel->backlight.pwm_level_max)
+ panel->backlight.pwm_level_max =get_backlight_max_vbt(connector);Quoted 8 lines
- if (!panel->backlight.max)
+ if (!panel->backlight.pwm_level_max)
return-ENODEV;
- panel->backlight.min =get_backlight_min_vbt(connector); + panel->backlight.pwm_level_min =get_backlight_min_vbt(connector);
- val =_vlv_get_backlight(dev_priv, pipe);Turns out this is a meaningful change, as the higher level
vlv_get_backlight()function that will be called instead hits:<4>[ 12.870202] i915 0000:00:02.0: drm_WARN_ON(!drm_modeset_is_locked(&dev-
Quoted 1 line
mode_config.connection_mutex))
in
intel_connector_get_pipe(connector).It's a real problem. See this, it's obvious (in retrospect):
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/igt@[email protected]
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/boot0.txt
I don't have a quick answer how this could be handled neatly. Perhaps the ->get call (or rather,
intel_pwm_get_backlight) to setpanel->backlight.levelneeds to be spread out to the end of eachpwm_funcs->setupfunction after all? Though it's at the wrong abstraction level wrt level being a higher level, uh, level.I don't think it's enough to just grab
connection_mutexaround setup (and even checking if we can do that is a bunch of digging) - I think it's likelyintel_connector_get_pipe()returnsINVALID_PIPEat that point.Okay, here's a clumsy suggestion that I think works around this and unblocks the series until we figure out a better way:
1. At the end of
vlv_setup_backlight():/* add fixme comment about how wrong this is */
panel->backlight.level=intel_panel_invert_pwm_level(connector, _vlv_get_backlight());
Quoted 6 lines
2. In
intel_pwm_setup_backlight()only set level if ->setup didn't:if (!panel->backlight.level)
panel->backlight.level =intel_pwm_get_backlight(connector);What do you think?
Hm, I might have a better idea. Why not just adjust struct intel_panel_bl_funcs so that it accepts an enum pipe, since we're already being passed a pipe in -
Quoted 1 line
setup(). Then in places where we call ->get() we can just make retrieving the
currently set pipe from the atomic state or somewhere else the responsibility of the caller. I think I'm going to add an additional patch to give this a shot and see how it goes.
Quoted 16 lines
BR,
Jani.Quoted 11 lines
- val =
intel_panel_compute_brightness(connector, val); - panel->backlight.level = clamp(val,panel->backlight.min, -panel->backlight.max); -
- panel->backlight.enabled = ctl2 &BLM_PWM_ENABLE; + panel->backlight.pwm_enabled = ctl2 &BLM_PWM_ENABLE;
return 0;
}(quoted diff) +0
-0@@ -1828,24 +1815,18 @@ bxt_setup_backlight(struct intel_connector *connector, enum pipe unused)
Signature · 13 lines
Sincerely, Lyude Paul (she/her) Software Engineer at Red Hat Note: I deal with a lot of emails and have a lot of bugs on my plate. If you've asked me a question, are waiting for a review/merge on a patch, etc. and I haven't responded in a while, please feel free to send me another email to check on my status. I don't bite! _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 2/4 drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now)
In reply to Lyude PaulSo-recently a bunch of laptops on the market have started using DPCD backlight controls instead of the traditional DDI backlight controls. Originally we thought we had this handled by adding VESA backlight control support to i915, but the story ended up being a lot more complicated then that.
Simply put-there's two main backlight interfaces Intel can see in the wild. Intel's proprietary HDR backlight interface, and the standard VESA backlight interface. Note that many panels have been observed to report support for both backlight interfaces, but testing has shown far more panels work with the Intel HDR backlight interface at the moment. Additionally, the VBT appears to be capable of reporting support for the VESA backlight interface but not the Intel HDR interface which needs to be probed by setting the right magic OUI.
On top of that however, there's also actually two different variants of the Intel HDR backlight interface. The first uses the AUX channel for controlling the brightness of the screen in both SDR and HDR mode, and the second only uses the AUX channel for setting the brightness level in HDR mode - relying on PWM for setting the brightness level in SDR mode.
For the time being we've been using EDIDs to maintain a list of quirks for panels that safely do support the VESA backlight interface. Adding support for Intel's HDR backlight interface in addition however, should finally allow us to auto-detect eDP backlight controls properly so long as we probe like so:
* If the panel's VBT reports VESA backlight support, assume it really does support it
* If the panel's VBT reports DDI backlight controls:
* First probe for Intel's HDR backlight interface
* If that fails, probe for VESA's backlight interface
* If that fails, assume no DPCD backlight control
* If the panel's VBT reports any other backlight type: just assume it doesn't have DPCD backlight controls
Changes since v4:
* Fix checkpatch issues
Changes since v3:
* Stop using drm_device and use drm_i915_private instead
* Don't forget to return from intel_dp_aux_hdr_get_backlight() if we fail to read the current backlight mode from the DPCD
* s/uint8_t/u8/
* Remove unneeded parenthesis in intel_dp_aux_hdr_enable_backlight()
* Use drm_dbg_kms() in intel_dp_aux_init_backlight_funcs()
--- .../drm/i915/display/intel_display_types.h | 9 +- .../drm/i915/display/intel_dp_aux_backlight.c | 247 ++++++++++++++++-- drivers/gpu/drm/i915/display/intel_panel.c | 42 ++- drivers/gpu/drm/i915/display/intel_panel.h | 4 + 4 files changed, 270 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +8 -1
@@ -261,7 +261,14 @@ struct intel_panel {struct pwm_state pwm_state;/* DPCD backlight */ -u8 pwmgen_bit_count; +union { +struct { +u8 pwmgen_bit_count; + } vesa; +struct { +bool sdr_uses_aux; + } intel; + } edp;struct backlight_device *device;
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +222 -25
305 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_panel.c +36 -6
72 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_panel.h +4 -0
@@ -49,6 +49,10 @@ struct drm_display_mode * intel_panel_edid_fixed_mode(struct intel_connector *connector);struct drm_display_mode *intel_panel_vbt_fixed_mode (struct intel_connector *connector); +void intel_panel_set_pwm_level (const struct drm_connector_state *conn_state,u32 level); +u32 intel_panel_invert_pwm_level (struct intel_connector *connector,u32 level); +u32 intel_panel_backlight_level_to_pwm (struct intel_connector *connector,u32 level); +u32 intel_panel_backlight_level_from_pwm (struct intel_connector *connector,u32 val);#if IS_ENABLED (CONFIG_BACKLIGHT_CLASS_DEVICE )int intel_backlight_device_register (struct intel_connector *connector);
Signature · 6 lines
2.29.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 3/4 drm/i915/dp: Allow forcing specific interfaces through enable_dpcd_backlight
In reply to Lyude PaulSince we now support controlling panel backlights through DPCD using both the standard VESA interface, and Intel's proprietary HDR backlight interface, we should allow the user to be able to explicitly choose between one or the other in the event that we're wrong about panels reliably reporting support for the Intel HDR interface.
So, this commit adds support for this by introducing two new enable_dpcd_backlight options: 2 which forces i915 to only probe for the VESA interface, and 3 which forces i915 to only probe for the Intel backlight interface (might be useful if we find panels in the wild that report the VESA interface in their VBT, but actually only support the Intel backlight interface).
v3:
* Rebase
--- .../drm/i915/display/intel_dp_aux_backlight.c | 45 +++++++++++++++++-- drivers/gpu/drm/i915/i915_params.c | 2 +- 2 files changed, 43 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +42 -3
@@ -612,15 +612,54 @@ static const struct intel_panel_bl_funcs intel_dp_vesa_bl_funcs = { .get = intel_dp_aux_vesa_get_backlight, }; +enum intel_dp_aux_backlight_modparam { +INTEL_DP_AUX_BACKLIGHT_AUTO =-1 , +INTEL_DP_AUX_BACKLIGHT_OFF =0 , +INTEL_DP_AUX_BACKLIGHT_ON =1 , +INTEL_DP_AUX_BACKLIGHT_FORCE_VESA =2 , +INTEL_DP_AUX_BACKLIGHT_FORCE_INTEL =3 , +}; +int intel_dp_aux_init_backlight_funcs (struct intel_connector *connector) {struct drm_device *dev = connector->base.dev;struct intel_panel *panel = &connector->panel;struct intel_dp *intel_dp =enc_to_intel_dp (connector->encoder);struct drm_i915_private *i915 =dp_to_i915 (intel_dp); +bool try_intel_interface = false, try_vesa_interface = false; -if (i915->params.enable_dpcd_backlight ==0 ) +/* Check the VBT and user's module parameters to figure out which +* interfaces to probe +*/ +switch (i915->params.enable_dpcd_backlight) { +case INTEL_DP_AUX_BACKLIGHT_OFF :return -ENODEV ; +case INTEL_DP_AUX_BACKLIGHT_AUTO : +switch (i915->vbt.backlight.type) { +case INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE : + try_vesa_interface = true; +break ; +case INTEL_BACKLIGHT_DISPLAY_DDI : + try_intel_interface = true; + try_vesa_interface = true; +break ; +default : +return -ENODEV ; + } +break ; +case INTEL_DP_AUX_BACKLIGHT_ON : +if (i915->vbt.backlight.type !=INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE ) + try_intel_interface = true; + + try_vesa_interface = true; +break ; +case INTEL_DP_AUX_BACKLIGHT_FORCE_VESA : + try_vesa_interface = true; +break ; +case INTEL_DP_AUX_BACKLIGHT_FORCE_INTEL : + try_intel_interface = true; +break ; + }/* * A lot of eDP panels in the wild will report supporting both the
@@ -629,13 +668,13 @@ int intel_dp_aux_init_backlight_funcs(struct intel_connector *connector)* and will only work with the Intel interface. So, always probe for * that first. */ -if (intel_dp_aux_supports_hdr_backlight (connector)) { +if (try_intel_interface &&intel_dp_aux_supports_hdr_backlight (connector)) {drm_dbg_kms (dev,"Using Intel proprietary eDP backlight controls\n" ); panel->backlight.funcs = &intel_dp_hdr_bl_funcs;return 0 ; } -if (intel_dp_aux_supports_vesa_backlight (connector)) { +if (try_vesa_interface &&intel_dp_aux_supports_vesa_backlight (connector)) {drm_dbg_kms (dev,"Using VESA eDP backlight controls\n" ); panel->backlight.funcs = &intel_dp_vesa_bl_funcs;return 0 ;
drivers/gpu/drm/i915/i915_params.c +1 -1
@@ -185,7 +185,7 @@ i915_param_named_unsafe(inject_probe_failure, uint, 0400,i915_param_named (enable_dpcd_backlight, int,0400 ,"Enable support for DPCD backlight control" -"(-1=use per-VBT LFP backlight type setting [default], 0=disabled, 1=enabled)" ); +"(-1=use per-VBT LFP backlight type setting [default], 0=disabled, 1=enable, 2=force VESA interface, 3=force Intel interface)" );#if IS_ENABLED (CONFIG_DRM_I915_GVT ) i915_param_named(enable_gvt, bool, 0400,
Signature · 6 lines
2.29.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 4/4 drm/dp: Revert "drm/dp: Introduce EDID-based quirks"
In reply to Lyude PaulThis reverts commit 0883ce8146ed6074c76399f4e70dbed788582e12. Originally these quirks were added because of the issues with using the eDP backlight interfaces on certain laptop panels, which made it impossible to properly probe for DPCD backlight support without having a whitelist for panels that we know have working VESA backlight control interfaces over DPCD. As well, it should be noted it was impossible to use the normal sink OUI for recognizing these panels as none of them actually filled out their OUIs, hence needing to resort to checking EDIDs.
At the time we weren't really sure why certain panels had issues with DPCD backlight controls, but we eventually figured out that there was a second interface that these problematic laptop panels actually did work with and advertise properly: Intel's proprietary backlight interface for HDR panels. So far the testing we've done hasn't brought any panels to light that advertise this interface and don't support it properly, which means we finally have a real solution to this problem.
As a result, we now have no need for the force DPCD backlight quirk, and furthermore this also removes the need for any kind of EDID quirk checking in DRM. So, let's just revert it for now since we were the only driver using this.
v3:
* Rebase
v2:
* Fix indenting error picked up by checkpatch in
intel_edp_init_connector()
--- drivers/gpu/drm/drm_dp_helper.c | 83 +------------------ drivers/gpu/drm/drm_dp_mst_topology.c | 3 +- .../drm/i915/display/intel_display_types.h | 1 - drivers/gpu/drm/i915/display/intel_dp.c | 9 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 +- drivers/gpu/drm/i915/display/intel_psr.c | 2 +- include/drm/drm_dp_helper.h | 21 +---- 7 files changed, 9 insertions(+), 113 deletions(-)
drivers/gpu/drm/drm_dp_helper.c +1 -82
@@ -1236,7 +1236,7 @@ bool drm_dp_read_sink_count_cap(struct drm_connector *connector,return connector->connector_type != DRM_MODE_CONNECTOR_eDP && dpcd[DP_DPCD_REV ] >=DP_DPCD_REV_11 && dpcd[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_PRESENT && - !drm_dp_has_quirk (desc,0 ,DP_DPCD_QUIRK_NO_SINK_COUNT ); + !drm_dp_has_quirk (desc,DP_DPCD_QUIRK_NO_SINK_COUNT ); }EXPORT_SYMBOL (drm_dp_read_sink_count_cap);
@@ -1957,87 +1957,6 @@ drm_dp_get_quirks(const struct drm_dp_dpcd_ident *ident, bool is_branch)#undef DEVICE_ID_ANY#undef DEVICE_ID -struct edid_quirk { -u8 mfg_id[2 ]; -u8 prod_id[2 ]; -u32 quirks; -}; - -#define MFG (first, second) { (first), (second) } -#define PROD_ID (first, second) { (first), (second) } - -/* -* Some devices have unreliable OUIDs where they don't set the device ID -* correctly, and as a result we need to use the EDID for finding additional -* DP quirks in such cases. -*/ -static const struct edid_quirk edid_quirk_list[] = { -/* Optional 4K AMOLED panel in the ThinkPad X1 Extreme 2nd Generation -* only supports DPCD backlight controls -*/ - {MFG (0x4c ,0x83 ),PROD_ID (0x41 ,0x41 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, -/* -* Some Dell CML 2020 systems have panels support both AUX and PWM -* backlight control, and some only support AUX backlight control. All -* said panels start up in AUX mode by default, and we don't have any -* support for disabling HDR mode on these panels which would be -* required to switch to PWM backlight control mode (plus, I'm not -* even sure we want PWM backlight controls over DPCD backlight -* controls anyway...). Until we have a better way of detecting these, -* force DPCD backlight mode on all of them. -*/ - {MFG (0x06 ,0xaf ),PROD_ID (0x9b ,0x32 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, - {MFG (0x06 ,0xaf ),PROD_ID (0xeb ,0x41 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, - {MFG (0x4d ,0x10 ),PROD_ID (0xc7 ,0x14 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, - {MFG (0x4d ,0x10 ),PROD_ID (0xe6 ,0x14 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, - {MFG (0x4c ,0x83 ),PROD_ID (0x47 ,0x41 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, - {MFG (0x09 ,0xe5 ),PROD_ID (0xde ,0x08 ),BIT (DP_QUIRK_FORCE_DPCD_BACKLIGHT ) }, -}; - -#undef MFG -#undef PROD_ID - -/** -* drm_dp_get_edid_quirks() - Check the EDID of a DP device to find additional -* DP-specific quirks -* @edid: The EDID to check -* -* While OUIDs are meant to be used to recognize a DisplayPort device, a lot -* of manufacturers don't seem to like following standards and neglect to fill -* the dev-ID in, making it impossible to only use OUIDs for determining -* quirks in some cases. This function can be used to check the EDID and look -* up any additional DP quirks. The bits returned by this function correspond -* to the quirk bits in &drm_dp_quirk. -* -* Returns: a bitmask of quirks, if any. The driver can check this using -* drm_dp_has_quirk(). -*/ -u32 drm_dp_get_edid_quirks (const struct edid *edid) -{ -const struct edid_quirk *quirk; -u32 quirks =0 ; -int i; - -if (!edid) -return 0 ; - -for (i =0 ; i <ARRAY_SIZE (edid_quirk_list); i++) { - quirk = &edid_quirk_list[i]; -if (memcmp (quirk->mfg_id, edid->mfg_id, -sizeof (edid->mfg_id)) ==0 && -memcmp (quirk->prod_id, edid->prod_code, -sizeof (edid->prod_code)) ==0 ) - quirks |= quirk->quirks; - } - -DRM_DEBUG_KMS ("DP sink: EDID mfg %*phD prod-ID %*phD quirks: 0x%04x\n" , - (int )sizeof (edid->mfg_id), edid->mfg_id, - (int )sizeof (edid->prod_code), edid->prod_code, quirks); - -return quirks; -} -EXPORT_SYMBOL (drm_dp_get_edid_quirks); -/** * drm_dp_read_desc - read sink/branch descriptor from DPCD * @aux: DisplayPort AUX channel
drivers/gpu/drm/drm_dp_mst_topology.c +1 -2
@@ -5824,8 +5824,7 @@ struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port(struct drm_dp_mst_port *port)if (drm_dp_read_desc (port->mgr->aux, &desc, true))return NULL ; -if (drm_dp_has_quirk (&desc,0 , -DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD ) && +if (drm_dp_has_quirk (&desc,DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD ) && port->mgr->dpcd[DP_DPCD_REV ] >=DP_DPCD_REV_14 && port->parent == port->mgr->mst_primary) {u8 downstreamport;
drivers/gpu/drm/i915/display/intel_display_types.h +0 -1
@@ -1401,7 +1401,6 @@ struct intel_dp {int max_link_rate;/* sink or branch descriptor */ struct drm_dp_desc desc; -u32 edid_quirks;struct drm_dp_aux aux;u32 aux_busy_last_status;u8 train_set[4 ];
drivers/gpu/drm/i915/display/intel_dp.c +2 -7
@@ -162,8 +162,7 @@ static void intel_dp_set_sink_rates(struct intel_dp *intel_dp)int i, max_rate;int max_lttpr_rate; -if (drm_dp_has_quirk (&intel_dp->desc,0 , -DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS )) { +if (drm_dp_has_quirk (&intel_dp->desc,DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS )) {/* Needed, e.g., for Apple MBP 2017, 15 inch eDP Retina panel */ static const int quirk_rates[] = {162000 ,270000 ,324000 };
@@ -2876,8 +2875,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,struct intel_connector *intel_connector = intel_dp->attached_connector;struct intel_digital_connector_state *intel_conn_state =to_intel_digital_connector_state (conn_state); -bool constant_n =drm_dp_has_quirk (&intel_dp->desc,0 , -DP_DPCD_QUIRK_CONSTANT_N ); +bool constant_n =drm_dp_has_quirk (&intel_dp->desc,DP_DPCD_QUIRK_CONSTANT_N );int ret =0 , output_bpp;if (HAS_PCH_SPLIT (dev_priv) && !HAS_DDI (dev_priv) && port !=PORT_A )
@@ -7054,7 +7052,6 @@ intel_dp_set_edid(struct intel_dp *intel_dp) }drm_dp_cec_set_edid (&intel_dp->aux, edid); - intel_dp->edid_quirks =drm_dp_get_edid_quirks (edid); } static void
@@ -7068,7 +7065,6 @@ intel_dp_unset_edid(struct intel_dp *intel_dp) intel_dp->has_hdmi_sink = false; intel_dp->has_audio = false; - intel_dp->edid_quirks =0 ; intel_dp->dfp.max_bpc =0 ; intel_dp->dfp.max_dotclock =0 ;
@@ -8472,7 +8468,6 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,if (edid) {if (drm_add_edid_modes (connector, edid)) {drm_connector_update_edid_property (connector, edid); - intel_dp->edid_quirks =drm_dp_get_edid_quirks (edid); }else {kfree (edid); edid =ERR_PTR (-EINVAL );
drivers/gpu/drm/i915/display/intel_dp_mst.c +1 -2
@@ -53,8 +53,7 @@ static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder,struct drm_i915_private *i915 =to_i915 (connector->base.dev);const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; -bool constant_n =drm_dp_has_quirk (&intel_dp->desc,0 , -DP_DPCD_QUIRK_CONSTANT_N ); +bool constant_n =drm_dp_has_quirk (&intel_dp->desc,DP_DPCD_QUIRK_CONSTANT_N );int bpp, slots = -EINVAL ; crtc_state->lane_count = limits->max_lane_count;
drivers/gpu/drm/i915/display/intel_psr.c +1 -1
@@ -305,7 +305,7 @@ void intel_psr_init_dpcd(struct intel_dp *intel_dp)drm_dbg_kms (&dev_priv->drm,"eDP panel supports PSR version %x\n" , intel_dp->psr_dpcd[0 ]); -if (drm_dp_has_quirk (&intel_dp->desc,0 ,DP_DPCD_QUIRK_NO_PSR )) { +if (drm_dp_has_quirk (&intel_dp->desc,DP_DPCD_QUIRK_NO_PSR )) {drm_dbg_kms (&dev_priv->drm,"PSR support not currently available for this panel\n" );return ;
include/drm/drm_dp_helper.h +3 -18
@@ -2029,16 +2029,13 @@ struct drm_dp_desc {int drm_dp_read_desc (struct drm_dp_aux *aux,struct drm_dp_desc *desc,bool is_branch); -u32 drm_dp_get_edid_quirks (const struct edid *edid);/** * enum drm_dp_quirk - Display Port sink/branch device specific quirks * * Display Port sink and branch devices in the wild have a variety of bugs, try * to collect them here. The quirks are shared, but it's up to the drivers to -* implement workarounds for them. Note that because some devices have -* unreliable OUIDs, the EDID of sinks should also be checked for quirks using -* drm_dp_get_edid_quirks(). +* implement workarounds for them. */ enum drm_dp_quirk {/**
@@ -2070,16 +2067,6 @@ enum drm_dp_quirk {* The DSC caps can be read from the physical aux instead. */ DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD, -/** -* @DP_QUIRK_FORCE_DPCD_BACKLIGHT: -* -* The device is telling the truth when it says that it uses DPCD -* backlight controls, even if the system's firmware disagrees. This -* quirk should be checked against both the ident and panel EDID. -* When present, the driver should honor the DPCD backlight -* capabilities advertised. -*/ - DP_QUIRK_FORCE_DPCD_BACKLIGHT,/** * @DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS: *
@@ -2092,16 +2079,14 @@ enum drm_dp_quirk {/** * drm_dp_has_quirk() - does the DP device have a specific quirk * @desc: Device descriptor filled by drm_dp_read_desc() -* @edid_quirks: Optional quirk bitmask filled by drm_dp_get_edid_quirks() * @quirk: Quirk to query for * * Return true if DP device identified by @desc has @quirk. */ static inline bool -drm_dp_has_quirk (const struct drm_dp_desc *desc,u32 edid_quirks, -enum drm_dp_quirk quirk) +drm_dp_has_quirk (const struct drm_dp_desc *desc,enum drm_dp_quirk quirk) { -return (desc->quirks | edid_quirks) &BIT (quirk); +return desc->quirks &BIT (quirk); }#ifdef CONFIG_DRM_DP_CEC
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Add support for Intel's eDP backlight controls (rev9)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm/i915: Add support for Intel's eDP backlight controls (rev9)
URL : https://patchwork.freedesktop.org/series/81702/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_9604 -> Patchwork_19348
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_19348 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_19348, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_19348:
### IGT changes ###
#### Possible regressions ####
* igt@runner@aborted:
- fi-bsw-kefka: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-bsw-kefka/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_19348 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-compute:
- fi-tgl-y: NOTRUN -> [SKIP][2] ([fdo#109315] / [i915#2575]) +4 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-tgl-y/igt@amdgpu/[email protected]
* igt@debugfs_test@read_all_entries:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9604/fi-tgl-y/igt@debugfs_test@read_all_entries.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-tgl-y/igt@debugfs_test@read_all_entries.html
* igt@gem_exec_suspend@basic-s3:
- fi-snb-2600: [PASS][5] -> [DMESG-WARN][6] ([i915#2772])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9604/fi-snb-2600/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-snb-2600/igt@[email protected]
* igt@runner@aborted:
- fi-snb-2600: NOTRUN -> [FAIL][7] ([i915#698])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-snb-2600/igt@[email protected]
#### Possible fixes ####
* igt@i915_getparams_basic@basic-subslice-total:
- fi-tgl-y: [DMESG-WARN][8] ([i915#402]) -> [PASS][9] +2 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9604/fi-tgl-y/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/fi-tgl-y/igt@[email protected]
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2772]: https://gitlab.freedesktop.org/drm/intel/issues/2772
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#698]: https://gitlab.freedesktop.org/drm/intel/issues/698
Participating hosts (42 -> 35)
------------------------------
Missing (7): fi-bdw-5557u fi-hsw-4200u fi-byt-j1900 fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus fi-skl-6700k2
Build changes
-------------
* Linux: CI_DRM_9604 -> Patchwork_19348
CI-20190529: 20190529
CI_DRM_9604: 486ddc08f81c5bbdac49e52eaa4c94532d763fef @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5957: 2a2b3418f7458dfa1fac255cc5c71603f617690a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19348: 04cede6842eccd645e28ba490392f42e5a9fbce8 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
04cede6842ec drm/dp: Revert "drm/dp: Introduce EDID-based quirks" 0949ed030cd4 drm/i915/dp: Allow forcing specific interfaces through enable_dpcd_backlight f72b85de7b6a drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now) 81b3aa99580a drm/i915: Keep track of pwm-related backlight hooks separately
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19348/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx