drm: Extract DPCD backlight helpers from i915, add support in nouveau
Subsystems (5)
Lyude Paul
maintainercover drm: Extract DPCD backlight helpers from i915, add support in nouveau
This series:
* Cleans up i915's DPCD backlight code a little bit
* Extracts i915's DPCD backlight code into a set of shared DRM helpers
* Starts using those helpers in nouveau to add support to nouveau for DPCD backlight control
Lyude Paul (5):
drm/nouveau/kms/nv40-/backlight: Assign prop type once drm/nouveau/kms: Don't probe eDP connectors more then once drm/i915/dp: Remove redundant AUX backlight frequency calculations drm/dp: Extract i915's eDP backlight code into DRM helpers drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau
drivers/gpu/drm/drm_dp_helper.c | 332 ++++++++++++++++++ .../drm/i915/display/intel_display_types.h | 4 +- .../drm/i915/display/intel_dp_aux_backlight.c | 332 ++---------------- drivers/gpu/drm/nouveau/dispnv50/disp.c | 30 +- drivers/gpu/drm/nouveau/nouveau_backlight.c | 170 +++++++-- drivers/gpu/drm/nouveau/nouveau_connector.c | 6 + drivers/gpu/drm/nouveau/nouveau_connector.h | 9 +- drivers/gpu/drm/nouveau/nouveau_encoder.h | 1 + include/drm/drm_dp_helper.h | 48 +++ 9 files changed, 613 insertions(+), 319 deletions(-)
Signature · 1 line
2.28.0
Lyude Paul
maintainerRFC 1/5 drm/nouveau/kms/nv40-/backlight: Assign prop type once
--- drivers/gpu/drm/nouveau/nouveau_backlight.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/nouveau/nouveau_backlight.c +1 -3
@@ -106,7 +106,6 @@ nv40_backlight_init(struct nouveau_encoder *encoder,if (!(nvif_rd32 (device,NV40_PMC_BACKLIGHT ) &NV40_PMC_BACKLIGHT_MASK ))return -ENODEV ; - props->type =BACKLIGHT_RAW ; props->max_brightness =31 ; *ops = &nv40_bl_ops;return 0 ;
@@ -212,7 +211,6 @@ nv50_backlight_init(struct nouveau_encoder *nv_encoder,else *ops = &nva3_bl_ops; - props->type =BACKLIGHT_RAW ; props->max_brightness =100 ;return 0 ;
@@ -226,7 +224,7 @@ nouveau_backlight_init(struct drm_connector *connector)struct nouveau_encoder *nv_encoder =NULL ;struct nvif_device *device = &drm->client.device;char backlight_name[BL_NAME_SIZE ]; -struct backlight_properties props = {0 }; +struct backlight_properties props = { .type =BACKLIGHT_RAW ,0 };const struct backlight_ops *ops;int ret;
Signature · 1 line
2.28.0
Lyude Paul
maintainerRFC 2/5 drm/nouveau/kms: Don't probe eDP connectors more then once
In reply to Lyude PauleDP doesn't do hotplugging, so there's no reason for us to reprobe it (unless a connection status change is being forced, of course).
--- drivers/gpu/drm/nouveau/nouveau_connector.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/nouveau/nouveau_connector.c +6 -0
@@ -554,6 +554,12 @@ nouveau_connector_detect(struct drm_connector *connector, bool force)int ret;enum drm_connector_status conn_status = connector_status_disconnected; +/* eDP doesn't do hotplugging, never probe more then once */ +if (nv_connector->type == DCB_CONNECTOR_eDP && + connector->force ==DRM_FORCE_UNSPECIFIED && + connector->status != connector_status_unknown) +return connector->status; +/* Outputs are only polled while runtime active, so resuming the * device here is unnecessary (and would deadlock upon runtime suspend * because it waits for polling to finish). We do however, want to
Signature · 1 line
2.28.0
Lyude Paul
maintainerRFC 3/5 drm/i915/dp: Remove redundant AUX backlight frequency calculations
In reply to Lyude PaulNoticed this while moving all of the VESA backlight code in i915 over to DRM helpers: it would appear that we calculate the frequency value we want to write to DP_EDP_BACKLIGHT_FREQ_SET twice even though this value never actually changes during runtime. So, let's simplify things by just caching this value in intel_panel.backlight, and re-writing it as-needed.
--- .../drm/i915/display/intel_display_types.h | 1 + .../drm/i915/display/intel_dp_aux_backlight.c | 64 ++++++------------- 2 files changed, 19 insertions(+), 46 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -259,6 +259,7 @@ struct intel_panel {/* DPCD backlight */ u8 pwmgen_bit_count; +u8 pwm_freq_pre_divider;struct backlight_device *device;
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +18 -46
98 lines not on this page · raw message
Signature · 1 line
2.28.0
Re: [RFC 3/5] drm/i915/dp: Remove redundant AUX backlight frequency calculations
Quoted 5 lines · Lyude Paul
Noticed this while moving all of the VESA backlight code in i915 over to DRM helpers: it would appear that we calculate the frequency value we want to write to
DP_EDP_BACKLIGHT_FREQ_SETtwice even though this value never actually changes during runtime. So, let's simplify things by just caching this value in intel_panel.backlight, and re-writing it as-needed.
This isn't a full review, just something I spotted so far. Please see inline.
BR,
Jani.
Quoted 120 lines
Signed-off-by Lyude Paul <[email protected]>Cc Jani Nikula <[email protected]>Cc Dave Airlie <[email protected]>--- .../drm/i915/display/intel_display_types.h | 1 + .../drm/i915/display/intel_dp_aux_backlight.c | 64 ++++++------------- 2 files changed, 19 insertions(+), 46 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +1
-0@@ -259,6 +259,7 @@ struct intel_panel {/* DPCD backlight */ u8 pwmgen_bit_count; +u8 pwm_freq_pre_divider;struct backlight_device *device;drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +16
-46@@ -129,50 +129,6 @@ intel_dp_aux_set_backlight(const struct drm_connector_state *conn_state, u32 lev } } -/* -* Set PWM Frequency divider to match desired frequency in vbt. -* The PWM Frequency is calculated as 27Mhz / (F x P). -* - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the -* EDP_BACKLIGHT_FREQ_SET register (DPCD Address 00728h) -* - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the -* EDP_PWMGEN_BIT_COUNT register (DPCD Address 00724h) -*/ -static bool intel_dp_aux_set_pwm_freq (struct intel_connector *connector) -{ -struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct intel_dp *intel_dp =intel_attached_dp (connector); -const u8 pn = connector->panel.backlight.pwmgen_bit_count; -int freq, fxp, f, fxp_actual, fxp_min, fxp_max; - - freq = dev_priv->vbt.backlight.pwm_freq_hz; -if (!freq) { -drm_dbg_kms (&dev_priv->drm, -"Use panel default backlight frequency\n" ); -return false; - } - - fxp =DIV_ROUND_CLOSEST (KHz (DP_EDP_BACKLIGHT_FREQ_BASE_KHZ ), freq); - f =clamp (DIV_ROUND_CLOSEST (fxp,1 << pn),1 ,255 ); - fxp_actual = f << pn; - -/* Ensure frequency is within 25% of desired value */ - fxp_min =DIV_ROUND_CLOSEST (fxp *3 ,4 ); - fxp_max =DIV_ROUND_CLOSEST (fxp *5 ,4 ); - -if (fxp_min > fxp_actual || fxp_actual > fxp_max) { -drm_dbg_kms (&dev_priv->drm,"Actual frequency out of range\n" ); -return false; - } - -if (drm_dp_dpcd_writeb (&intel_dp->aux, -DP_EDP_BACKLIGHT_FREQ_SET , (u8 ) f) <0 ) { -drm_dbg_kms (&dev_priv->drm, -"Failed to write aux backlight freq\n" ); -return false; - } -return true; -} -static void intel_dp_aux_enable_backlight (const struct intel_crtc_state *crtc_state,const struct drm_connector_state *conn_state) {@@ -213,9 +169,13 @@ static void intel_dp_aux_enable_backlight(const struct intel_crtc_state *crtc_stbreak ; } -if (intel_dp->edp_dpcd[2 ] &DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP ) -if (intel_dp_aux_set_pwm_freq (connector)) +if (panel->backlight.pwm_freq_pre_divider) { +if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_EDP_BACKLIGHT_FREQ_SET , + panel->backlight.pwm_freq_pre_divider) ==1 ) new_dpcd_buf |=DP_EDP_BACKLIGHT_FREQ_AUX_SET_ENABLE ; +else +drm_dbg_kms (&i915->drm,"Failed to write aux backlight frequency\n" ); + }if (new_dpcd_buf != dpcd_buf) { if (drm_dp_dpcd_writeb(&intel_dp->aux,@@ -236,6 +196,14 @@ static void intel_dp_aux_disable_backlight(const struct drm_connector_state *old false); } +/* +* Compute PWM frequency divider value based off the frequency provided to us by the vbt. +* The PWM Frequency is calculated as 27Mhz / (F x P). +* - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the +* EDP_BACKLIGHT_FREQ_SET register (DPCD Address 00728h) +* - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the +* EDP_PWMGEN_BIT_COUNT register (DPCD Address 00724h) +*/ static u32 intel_dp_aux_calc_max_backlight (struct intel_connector *connector) {struct drm_i915_private *i915 =to_i915 (connector->base.dev);@@ -287,8 +255,10 @@ static u32 intel_dp_aux_calc_max_backlight(struct intel_connector *connector) pn_min &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; pn_max &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; +/* Ensure frequency is within 25% of desired value */ fxp_min =DIV_ROUND_CLOSEST (fxp *3 ,4 ); fxp_max =DIV_ROUND_CLOSEST (fxp *5 ,4 ); +if (fxp_min < (1 << pn_min) || (255 << pn_max) < fxp_max) {drm_dbg_kms (&i915->drm,"VBT defined backlight frequency out of range\n" );
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c static u32 intel_dp_aux_calc_max_backlight(struct intel_connector *connector) · line 284
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +2
-0@@ -309,7 +279,9 @@ static u32 intel_dp_aux_calc_max_backlight(struct intel_connector *connector) "Failed to write aux pwmgen bit count\n");return max_backlight; } + panel->backlight.pwmgen_bit_count = pn; + panel->backlight.pwm_freq_pre_divider = f;
This should be wrapped in
if (intel_dp->edp_dpcd[2] & DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP)
but you do it in the next patch, so this patch is a bit broken.
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-0max_backlight = (1 << pn) -1 ;
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Lyude Paul
maintainerRFC 4/5 drm/dp: Extract i915's eDP backlight code into DRM helpers
In reply to Lyude PaulSince we're about to implement eDP backlight support in nouveau using the standard protocol from VESA, we might as well just take the code that's already written for this and move it into a set of shared DRM helpers.
Note that these helpers are intended to handle DPCD related backlight control bits such as setting the brightness level over AUX, probing the backlight's TCON, enabling/disabling the backlight over AUX if supported, etc. Any PWM-related portions of backlight control are explicitly left up to the driver, as these will vary from platform to platform.
The only exception to this is the calculation of the PWM frequency pre-divider value. This is because the only platform-specific information required for this is the PWM frequency of the panel, which the driver is expected to provide if available. The actual algorithm for calculating this value is standard and is defined in the eDP specification from VESA.
Note that these helpers do not yet implement the full range of features the VESA backlight interface provides, and only provide the following functionality (all of which was already present in i915's DPCD backlight support):
* Basic control of brightness levels
* Basic probing of backlight capabilities
* Helpers for enabling and disabling the backlight
--- drivers/gpu/drm/drm_dp_helper.c | 332 ++++++++++++++++++ .../drm/i915/display/intel_display_types.h | 5 +- .../drm/i915/display/intel_dp_aux_backlight.c | 304 ++-------------- include/drm/drm_dp_helper.h | 48 +++ 4 files changed, 419 insertions(+), 270 deletions(-)
drivers/gpu/drm/drm_dp_helper.c +332 -0
@@ -2596,3 +2596,335 @@ void drm_dp_vsc_sdp_log(const char *level, struct device *dev,#undef DP_SDP_LOG }EXPORT_SYMBOL (drm_dp_vsc_sdp_log); + +/** +* drm_edp_backlight_set_level() - Set the backlight level of an eDP panel via AUX +* @aux: The DP AUX channel to use +* @bl: Backlight capability info from drm_edp_backlight_init() +* @level: The brightness level to set +* +* Sets the brightness level of an eDP panel's backlight. Note that the panel's backlight must +* already have been enabled by the driver by calling drm_edp_backlight_enable(). +* +* Returns: %0 on success, negative error code on failure +*/ +int drm_edp_backlight_set_level (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +u16 level) +{ +int ret; +u8 buf[2 ] = {0 }; + +if (bl->lsb_reg_used) { + buf[0 ] = (level &0xFF00 ) >>8 ; + buf[1 ] = (level &0x00FF ); + }else { + buf[0 ] = level; + } + + ret =drm_dp_dpcd_write (aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB , buf,sizeof (buf)); +if (ret !=sizeof (buf)) { +DRM_ERROR ("%s: Failed to write aux backlight level: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_set_level); + +static int +drm_edp_backlight_set_enable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +bool enable) +{ +int ret; +u8 buf; + +/* The panel uses something other then DPCD for enabling it's backlight */ +if (!bl->aux_enable) +return 0 ; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_DISPLAY_CONTROL_REGISTER , &buf); +if (ret !=1 ) { +DRM_ERROR ("%s: Failed to read eDP display control register: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } +if (enable) + buf |=DP_EDP_BACKLIGHT_ENABLE ; +else + buf &= ~DP_EDP_BACKLIGHT_ENABLE ; + + ret =drm_dp_dpcd_writeb (aux,DP_EDP_DISPLAY_CONTROL_REGISTER , buf); +if (ret !=1 ) { +DRM_ERROR ("%s: Failed to write eDP display control register: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + +return 0 ; +} + +/** +* drm_edp_backlight_enable() - Enable an eDP panel's backlight using DPCD +* @aux: The DP AUX channel to use +* @bl: Backlight capability info from drm_edp_backlight_init() +* @level: The initial backlight level to set via AUX, if there is one +* +* This function handles enabling DPCD backlight controls on a panel over DPCD, while additionally +* restoring any important backlight state such as the given backlight level, the brightness byte +* count, backlight frequency, etc. +* +* Note that certain panels, while supporting brightness level controls over DPCD, may not support +* having their backlights enabled via the standard %DP_EDP_DISPLAY_CONTROL_REGISTER. On such panels +* &drm_edp_backlight_info.aux_enable will be set to %false, this function will skip the step of +* programming the %DP_EDP_DISPLAY_CONTROL_REGISTER, and the driver must perform the required +* implementation specific step for enabling the backlight after calling this function. +* +* Returns: %0 on success, negative error code on failure. +*/ +int drm_edp_backlight_enable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +const u16 level) +{ +int ret; +u8 dpcd_buf, new_dpcd_buf; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_BACKLIGHT_MODE_SET_REGISTER , &dpcd_buf); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read backlight mode: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + + new_dpcd_buf = dpcd_buf; + +if ((dpcd_buf &DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ) !=DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ) { + new_dpcd_buf &= ~DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ; + new_dpcd_buf |=DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ; + + ret =drm_dp_dpcd_writeb (aux,DP_EDP_PWMGEN_BIT_COUNT , bl->pwmgen_bit_count); +if (ret !=1 ) +DRM_DEBUG_KMS ("%s: Failed to write aux pwmgen bit count: %d\n" , + aux->name, ret); + } + +if (bl->pwm_freq_pre_divider) { + ret =drm_dp_dpcd_writeb (aux,DP_EDP_BACKLIGHT_FREQ_SET , bl->pwm_freq_pre_divider); +if (ret !=1 ) +DRM_DEBUG_KMS ("%s: Failed to write aux backlight frequency: %d\n" , + aux->name, ret); +else + new_dpcd_buf |=DP_EDP_BACKLIGHT_FREQ_AUX_SET_ENABLE ; + } + +if (new_dpcd_buf != dpcd_buf) { + ret =drm_dp_dpcd_writeb (aux,DP_EDP_BACKLIGHT_MODE_SET_REGISTER , new_dpcd_buf); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to write aux backlight mode: %d\n" , + aux->name, ret); +return ret <0 ? ret : -EIO ; + } + } + + ret =drm_edp_backlight_set_level (aux, bl, level); +if (ret <0 ) +return ret; + ret =drm_edp_backlight_set_enable (aux, bl, true); +if (ret <0 ) +return ret; + +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_enable); + +/** +* drm_edp_backlight_disable() - Disable an eDP backlight using DPCD, if supported +* @aux: The DP AUX channel to use +* @bl: Backlight capability info from drm_edp_backlight_init() +* +* This function handles disabling DPCD backlight controls on a panel over AUX. Note that some +* panels have backlights that are enabled/disabled by other means, despite having their brightness +* values controlled through DPCD. On such panels &drm_edp_backlight_info.aux_enable will be set to +* %false, this function will become a no-op (and we will skip updating +* %DP_EDP_DISPLAY_CONTROL_REGISTER), and the driver must take care to perform it's own +* implementation specific step for disabling the backlight. +* +* Returns: %0 on success or no-op, negative error code on failure. +*/ +int drm_edp_backlight_disable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl) +{ +int ret; + + ret =drm_edp_backlight_set_enable (aux, bl, false); +if (ret <0 ) +return ret; + +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_disable); + +static inline int +drm_edp_backlight_probe_max (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ]) +{ +int fxp, fxp_min, fxp_max, fxp_actual, f =1 ; +int ret; +u8 pn, pn_min, pn_max; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_PWMGEN_BIT_COUNT , &pn); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read pwmgen bit count cap: %d\n" , aux->name, ret); +return -ENODEV ; + } + + pn &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; + bl->max = (1 << pn) -1 ; +if (!driver_pwm_freq_hz) +return 0 ; + +/* +* Set PWM Frequency divider to match desired frequency provided by the driver. +* The PWM Frequency is calculated as 27Mhz / (F x P). +* - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the +* EDP_BACKLIGHT_FREQ_SET register (DPCD Address 00728h) +* - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the +* EDP_PWMGEN_BIT_COUNT register (DPCD Address 00724h) +*/ + +/* Find desired value of (F x P) +* Note that, if F x P is out of supported range, the maximum value or minimum value will +* applied automatically. So no need to check that. +*/ + fxp =DIV_ROUND_CLOSEST (1000 *DP_EDP_BACKLIGHT_FREQ_BASE_KHZ , driver_pwm_freq_hz); + +/* Use highest possible value of Pn for more granularity of brightness adjustment while +* satifying the conditions below. +* - Pn is in the range of Pn_min and Pn_max +* - F is in the range of 1 and 255 +* - FxP is within 25% of desired value. +* Note: 25% is arbitrary value and may need some tweak. +*/ + ret =drm_dp_dpcd_readb (aux,DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN , &pn_min); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read pwmgen bit count cap min: %d\n" , aux->name, ret); +return 0 ; + } + ret =drm_dp_dpcd_readb (aux,DP_EDP_PWMGEN_BIT_COUNT_CAP_MAX , &pn_max); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read pwmgen bit count cap max: %d\n" , aux->name, ret); +return 0 ; + } + pn_min &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; + pn_max &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; + +/* Ensure frequency is within 25% of desired value */ + fxp_min =DIV_ROUND_CLOSEST (fxp *3 ,4 ); + fxp_max =DIV_ROUND_CLOSEST (fxp *5 ,4 ); +if (fxp_min < (1 << pn_min) || (255 << pn_max) < fxp_max) { +DRM_DEBUG_KMS ("%s: Driver defined backlight frequency (%d) out of range\n" , + aux->name, driver_pwm_freq_hz); +return 0 ; + } + +for (pn = pn_max; pn >= pn_min; pn--) { + f =clamp (DIV_ROUND_CLOSEST (fxp,1 << pn),1 ,255 ); + fxp_actual = f << pn; +if (fxp_min <= fxp_actual && fxp_actual <= fxp_max) +break ; + } + + ret =drm_dp_dpcd_writeb (aux,DP_EDP_PWMGEN_BIT_COUNT , pn); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to write aux pwmgen bit count: %d\n" , aux->name, ret); +return 0 ; + } + bl->pwmgen_bit_count = pn; + bl->max = (1 << pn) -1 ; + +if (edp_dpcd[2 ] &DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP ) { + bl->pwm_freq_pre_divider = f; +DRM_DEBUG_KMS ("%s: Using backlight frequency from driver (%dHz)\n" , + aux->name, driver_pwm_freq_hz); + } + +return 0 ; +} + +static inline int +drm_edp_backlight_probe_level (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u8 *current_mode) +{ +int ret; +u8 buf[2 ]; +u8 mode_reg; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_BACKLIGHT_MODE_SET_REGISTER , &mode_reg); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read backlight mode: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + + *current_mode = (mode_reg &DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ); +if (*current_mode ==DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ) { +int size =1 + bl->lsb_reg_used; + + ret =drm_dp_dpcd_read (aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB , buf, size); +if (ret != size) { +DRM_DEBUG_KMS ("%s: Failed to read backlight level: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + +if (bl->lsb_reg_used) +return (buf[0 ] <<8 ) | buf[1 ]; +else +return buf[0 ]; + } + +/* +* If we're not in DPCD control mode yet, the programmed brightness value is meaningless and +* the driver should assume max brightness +*/ +return bl->max; +} + +/** +* drm_edp_backlight_init() - Probe a display panel's TCON using the standard VESA eDP backlight +* interface. +* @aux: The DP aux device to use for probing +* @bl: The &drm_edp_backlight_info struct to fill out with information on the backlight +* @driver_pwm_freq_hz: Optional PWM frequency from the driver in hz +* @edp_dpcd: A cached copy of the eDP DPCD +* @current_level: Where to store the probed brightness level +* @current_mode: Where to store the currently set backlight control mode +* +* Initializes a &drm_edp_backlight_info struct by probing @aux for it's backlight capabilities, +* along with also probing the current and maximum supported brightness levels. +* +* If @driver_pwm_freq_hz is non-zero, this will be used as the backlight frequency. Otherwise, the +* default frequency from the panel is used. +* +* Returns: %0 on success, negative error code on failure. +*/ +int +drm_edp_backlight_init (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ], +u16 *current_level,u8 *current_mode) +{ +int ret; + +if (edp_dpcd[1 ] &DP_EDP_BACKLIGHT_AUX_ENABLE_CAP ) + bl->aux_enable = true; +if (edp_dpcd[2 ] &DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT ) + bl->lsb_reg_used = true; + + ret =drm_edp_backlight_probe_max (aux, bl, driver_pwm_freq_hz, edp_dpcd); +if (ret <0 ) +return ret; + + ret =drm_edp_backlight_probe_level (aux, bl, current_mode); +if (ret <0 ) +return ret; + *current_level = ret; + +DRM_DEBUG_KMS ("%s: Found backlight level=%d/%d pwm_freq_pre_divider=%d mode=%x\n" , + aux->name, *current_level, bl->max, bl->pwm_freq_pre_divider, *current_mode); +DRM_DEBUG_KMS ("%s: Backlight caps: pwmgen_bit_count=%d lsb_reg_used=%d aux_enable=%d\n" , + aux->name, bl->pwmgen_bit_count, bl->lsb_reg_used, bl->aux_enable); +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_init);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -4
@@ -257,11 +257,8 @@ struct intel_panel {struct pwm_device *pwm;struct pwm_state pwm_state; -/* DPCD backlight */ -u8 pwmgen_bit_count; -u8 pwm_freq_pre_divider; -struct backlight_device *device; +struct drm_edp_backlight_info vesa_edp_info;const struct intel_panel_bl_funcs *funcs;void (*power)(struct intel_connector *,bool enable);
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +38 -266
350 lines not on this page · raw message
include/drm/drm_dp_helper.h +48 -0
60 lines not on this page · raw message
Signature · 1 line
2.28.0
Re: [RFC 4/5] drm/dp: Extract i915's eDP backlight code into DRM helpers
Quoted 16 lines · Lyude Paul
Since we're about to implement eDP backlight support in nouveau using the standard protocol from VESA, we might as well just take the code that's already written for this and move it into a set of shared DRM helpers.
Note that these helpers are intended to handle DPCD related backlight control bits such as setting the brightness level over AUX, probing the backlight's TCON, enabling/disabling the backlight over AUX if supported, etc. Any PWM-related portions of backlight control are explicitly left up to the driver, as these will vary from platform to platform.
The only exception to this is the calculation of the PWM frequency pre-divider value. This is because the only platform-specific information required for this is the PWM frequency of the panel, which the driver is expected to provide if available. The actual algorithm for calculating this value is standard and is defined in the eDP specification from VESA.
Quoted 8 lines
Note that these helpers do not yet implement the full range of features the VESA backlight interface provides, and only provide the following functionality (all of which was already present in i915's DPCD backlight support):
* Basic control of brightness levels
* Basic probing of backlight capabilities
* Helpers for enabling and disabling the backlight
Overall I like where this is going. Again, not a full review yet, just a few notes below.
Quoted 24 lines
Signed-off-by Lyude Paul <[email protected]>Cc Jani Nikula <[email protected]>Cc Dave Airlie <[email protected]>--- drivers/gpu/drm/drm_dp_helper.c | 332 ++++++++++++++++++ .../drm/i915/display/intel_display_types.h | 5 +- .../drm/i915/display/intel_dp_aux_backlight.c | 304 ++-------------- include/drm/drm_dp_helper.h | 48 +++ 4 files changed, 419 insertions(+), 270 deletions(-)drivers/gpu/drm/drm_dp_helper.c +4
-0@@ -2596,3 +2596,335 @@ void drm_dp_vsc_sdp_log(const char *level, struct device *dev,#undef DP_SDP_LOG }EXPORT_SYMBOL (drm_dp_vsc_sdp_log); + +/** +* drm_edp_backlight_set_level() - Set the backlight level of an eDP panel via AUX +* @aux: The DP AUX channel to use
drivers/gpu/drm/drm_dp_helper.c void drm_dp_vsc_sdp_log(const char *level, struct device *dev, · line 2612
Quoted 10 lines
drivers/gpu/drm/drm_dp_helper.c +10
-0+* @bl: Backlight capability info from drm_edp_backlight_init() +* @level: The brightness level to set +* +* Sets the brightness level of an eDP panel's backlight. Note that the panel's backlight must +* already have been enabled by the driver by calling drm_edp_backlight_enable(). +* +* Returns: %0 on success, negative error code on failure +*/ +int drm_edp_backlight_set_level (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +u16 level)
I think I'd go for s/backlight/brightness/g function naming thoughout, to account for OLED. "Backlight" unnecessarily underlines the technology.
Quoted 4 lines
drivers/gpu/drm/drm_dp_helper.c +4
-0+{ +int ret; +u8 buf[2 ] = {0 }; +
drivers/gpu/drm/drm_dp_helper.c void drm_dp_vsc_sdp_log(const char *level, struct device *dev, · line 2626
Quoted 10 lines
drivers/gpu/drm/drm_dp_helper.c +10
-0+if (bl->lsb_reg_used) { + buf[0 ] = (level &0xFF00 ) >>8 ; + buf[1 ] = (level &0x00FF ); + }else { + buf[0 ] = level; + } + + ret =drm_dp_dpcd_write (aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB , buf,sizeof (buf)); +if (ret !=sizeof (buf)) { +DRM_ERROR ("%s: Failed to write aux backlight level: %d\n" , aux->name, ret);
I'd really like to have a way to get from struct drm_dp_aux to struct drm_device to retain the device specific logging here. It'd be useful in the lower level dpcd access functions too.
Quoted 743 lines
drivers/gpu/drm/drm_dp_helper.c +304
-0+return ret <0 ? ret : -EIO ; + } + +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_set_level); + +static int +drm_edp_backlight_set_enable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +bool enable) +{ +int ret; +u8 buf; + +/* The panel uses something other then DPCD for enabling it's backlight */ +if (!bl->aux_enable) +return 0 ; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_DISPLAY_CONTROL_REGISTER , &buf); +if (ret !=1 ) { +DRM_ERROR ("%s: Failed to read eDP display control register: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } +if (enable) + buf |=DP_EDP_BACKLIGHT_ENABLE ; +else + buf &= ~DP_EDP_BACKLIGHT_ENABLE ; + + ret =drm_dp_dpcd_writeb (aux,DP_EDP_DISPLAY_CONTROL_REGISTER , buf); +if (ret !=1 ) { +DRM_ERROR ("%s: Failed to write eDP display control register: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + +return 0 ; +} + +/** +* drm_edp_backlight_enable() - Enable an eDP panel's backlight using DPCD +* @aux: The DP AUX channel to use +* @bl: Backlight capability info from drm_edp_backlight_init() +* @level: The initial backlight level to set via AUX, if there is one +* +* This function handles enabling DPCD backlight controls on a panel over DPCD, while additionally +* restoring any important backlight state such as the given backlight level, the brightness byte +* count, backlight frequency, etc. +* +* Note that certain panels, while supporting brightness level controls over DPCD, may not support +* having their backlights enabled via the standard %DP_EDP_DISPLAY_CONTROL_REGISTER. On such panels +* &drm_edp_backlight_info.aux_enable will be set to %false, this function will skip the step of +* programming the %DP_EDP_DISPLAY_CONTROL_REGISTER, and the driver must perform the required +* implementation specific step for enabling the backlight after calling this function. +* +* Returns: %0 on success, negative error code on failure. +*/ +int drm_edp_backlight_enable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +const u16 level) +{ +int ret; +u8 dpcd_buf, new_dpcd_buf; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_BACKLIGHT_MODE_SET_REGISTER , &dpcd_buf); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read backlight mode: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + + new_dpcd_buf = dpcd_buf; + +if ((dpcd_buf &DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ) !=DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ) { + new_dpcd_buf &= ~DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ; + new_dpcd_buf |=DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ; + + ret =drm_dp_dpcd_writeb (aux,DP_EDP_PWMGEN_BIT_COUNT , bl->pwmgen_bit_count); +if (ret !=1 ) +DRM_DEBUG_KMS ("%s: Failed to write aux pwmgen bit count: %d\n" , + aux->name, ret); + } + +if (bl->pwm_freq_pre_divider) { + ret =drm_dp_dpcd_writeb (aux,DP_EDP_BACKLIGHT_FREQ_SET , bl->pwm_freq_pre_divider); +if (ret !=1 ) +DRM_DEBUG_KMS ("%s: Failed to write aux backlight frequency: %d\n" , + aux->name, ret); +else + new_dpcd_buf |=DP_EDP_BACKLIGHT_FREQ_AUX_SET_ENABLE ; + } + +if (new_dpcd_buf != dpcd_buf) { + ret =drm_dp_dpcd_writeb (aux,DP_EDP_BACKLIGHT_MODE_SET_REGISTER , new_dpcd_buf); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to write aux backlight mode: %d\n" , + aux->name, ret); +return ret <0 ? ret : -EIO ; + } + } + + ret =drm_edp_backlight_set_level (aux, bl, level); +if (ret <0 ) +return ret; + ret =drm_edp_backlight_set_enable (aux, bl, true); +if (ret <0 ) +return ret; + +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_enable); + +/** +* drm_edp_backlight_disable() - Disable an eDP backlight using DPCD, if supported +* @aux: The DP AUX channel to use +* @bl: Backlight capability info from drm_edp_backlight_init() +* +* This function handles disabling DPCD backlight controls on a panel over AUX. Note that some +* panels have backlights that are enabled/disabled by other means, despite having their brightness +* values controlled through DPCD. On such panels &drm_edp_backlight_info.aux_enable will be set to +* %false, this function will become a no-op (and we will skip updating +* %DP_EDP_DISPLAY_CONTROL_REGISTER), and the driver must take care to perform it's own +* implementation specific step for disabling the backlight. +* +* Returns: %0 on success or no-op, negative error code on failure. +*/ +int drm_edp_backlight_disable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl) +{ +int ret; + + ret =drm_edp_backlight_set_enable (aux, bl, false); +if (ret <0 ) +return ret; + +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_disable); + +static inline int +drm_edp_backlight_probe_max (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ]) +{ +int fxp, fxp_min, fxp_max, fxp_actual, f =1 ; +int ret; +u8 pn, pn_min, pn_max; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_PWMGEN_BIT_COUNT , &pn); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read pwmgen bit count cap: %d\n" , aux->name, ret); +return -ENODEV ; + } + + pn &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; + bl->max = (1 << pn) -1 ; +if (!driver_pwm_freq_hz) +return 0 ; + +/* +* Set PWM Frequency divider to match desired frequency provided by the driver. +* The PWM Frequency is calculated as 27Mhz / (F x P). +* - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the +* EDP_BACKLIGHT_FREQ_SET register (DPCD Address 00728h) +* - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the +* EDP_PWMGEN_BIT_COUNT register (DPCD Address 00724h) +*/ + +/* Find desired value of (F x P) +* Note that, if F x P is out of supported range, the maximum value or minimum value will +* applied automatically. So no need to check that. +*/ + fxp =DIV_ROUND_CLOSEST (1000 *DP_EDP_BACKLIGHT_FREQ_BASE_KHZ , driver_pwm_freq_hz); + +/* Use highest possible value of Pn for more granularity of brightness adjustment while +* satifying the conditions below. +* - Pn is in the range of Pn_min and Pn_max +* - F is in the range of 1 and 255 +* - FxP is within 25% of desired value. +* Note: 25% is arbitrary value and may need some tweak. +*/ + ret =drm_dp_dpcd_readb (aux,DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN , &pn_min); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read pwmgen bit count cap min: %d\n" , aux->name, ret); +return 0 ; + } + ret =drm_dp_dpcd_readb (aux,DP_EDP_PWMGEN_BIT_COUNT_CAP_MAX , &pn_max); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read pwmgen bit count cap max: %d\n" , aux->name, ret); +return 0 ; + } + pn_min &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; + pn_max &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; + +/* Ensure frequency is within 25% of desired value */ + fxp_min =DIV_ROUND_CLOSEST (fxp *3 ,4 ); + fxp_max =DIV_ROUND_CLOSEST (fxp *5 ,4 ); +if (fxp_min < (1 << pn_min) || (255 << pn_max) < fxp_max) { +DRM_DEBUG_KMS ("%s: Driver defined backlight frequency (%d) out of range\n" , + aux->name, driver_pwm_freq_hz); +return 0 ; + } + +for (pn = pn_max; pn >= pn_min; pn--) { + f =clamp (DIV_ROUND_CLOSEST (fxp,1 << pn),1 ,255 ); + fxp_actual = f << pn; +if (fxp_min <= fxp_actual && fxp_actual <= fxp_max) +break ; + } + + ret =drm_dp_dpcd_writeb (aux,DP_EDP_PWMGEN_BIT_COUNT , pn); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to write aux pwmgen bit count: %d\n" , aux->name, ret); +return 0 ; + } + bl->pwmgen_bit_count = pn; + bl->max = (1 << pn) -1 ; + +if (edp_dpcd[2 ] &DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP ) { + bl->pwm_freq_pre_divider = f; +DRM_DEBUG_KMS ("%s: Using backlight frequency from driver (%dHz)\n" , + aux->name, driver_pwm_freq_hz); + } + +return 0 ; +} + +static inline int +drm_edp_backlight_probe_level (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u8 *current_mode) +{ +int ret; +u8 buf[2 ]; +u8 mode_reg; + + ret =drm_dp_dpcd_readb (aux,DP_EDP_BACKLIGHT_MODE_SET_REGISTER , &mode_reg); +if (ret !=1 ) { +DRM_DEBUG_KMS ("%s: Failed to read backlight mode: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + + *current_mode = (mode_reg &DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ); +if (*current_mode ==DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ) { +int size =1 + bl->lsb_reg_used; + + ret =drm_dp_dpcd_read (aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB , buf, size); +if (ret != size) { +DRM_DEBUG_KMS ("%s: Failed to read backlight level: %d\n" , aux->name, ret); +return ret <0 ? ret : -EIO ; + } + +if (bl->lsb_reg_used) +return (buf[0 ] <<8 ) | buf[1 ]; +else +return buf[0 ]; + } + +/* +* If we're not in DPCD control mode yet, the programmed brightness value is meaningless and +* the driver should assume max brightness +*/ +return bl->max; +} + +/** +* drm_edp_backlight_init() - Probe a display panel's TCON using the standard VESA eDP backlight +* interface. +* @aux: The DP aux device to use for probing +* @bl: The &drm_edp_backlight_info struct to fill out with information on the backlight +* @driver_pwm_freq_hz: Optional PWM frequency from the driver in hz +* @edp_dpcd: A cached copy of the eDP DPCD +* @current_level: Where to store the probed brightness level +* @current_mode: Where to store the currently set backlight control mode +* +* Initializes a &drm_edp_backlight_info struct by probing @aux for it's backlight capabilities, +* along with also probing the current and maximum supported brightness levels. +* +* If @driver_pwm_freq_hz is non-zero, this will be used as the backlight frequency. Otherwise, the +* default frequency from the panel is used. +* +* Returns: %0 on success, negative error code on failure. +*/ +int +drm_edp_backlight_init (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ], +u16 *current_level,u8 *current_mode) +{ +int ret; + +if (edp_dpcd[1 ] &DP_EDP_BACKLIGHT_AUX_ENABLE_CAP ) + bl->aux_enable = true; +if (edp_dpcd[2 ] &DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT ) + bl->lsb_reg_used = true; + + ret =drm_edp_backlight_probe_max (aux, bl, driver_pwm_freq_hz, edp_dpcd); +if (ret <0 ) +return ret; + + ret =drm_edp_backlight_probe_level (aux, bl, current_mode); +if (ret <0 ) +return ret; + *current_level = ret; + +DRM_DEBUG_KMS ("%s: Found backlight level=%d/%d pwm_freq_pre_divider=%d mode=%x\n" , + aux->name, *current_level, bl->max, bl->pwm_freq_pre_divider, *current_mode); +DRM_DEBUG_KMS ("%s: Backlight caps: pwmgen_bit_count=%d lsb_reg_used=%d aux_enable=%d\n" , + aux->name, bl->pwmgen_bit_count, bl->lsb_reg_used, bl->aux_enable); +return 0 ; +} +EXPORT_SYMBOL (drm_edp_backlight_init);drivers/gpu/drm/i915/display/intel_display_types.h +1
-4@@ -257,11 +257,8 @@ struct intel_panel {struct pwm_device *pwm;struct pwm_state pwm_state; -/* DPCD backlight */ -u8 pwmgen_bit_count; -u8 pwm_freq_pre_divider; -struct backlight_device *device; +struct drm_edp_backlight_info vesa_edp_info;const struct intel_panel_bl_funcs *funcs;void (*power)(struct intel_connector *,bool enable);drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +38
-266@@ -25,303 +25,73 @@#include "intel_display_types.h" #include "intel_dp_aux_backlight.h" -static void set_aux_backlight_enable (struct intel_dp *intel_dp,bool enable) -{ -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -u8 reg_val =0 ; - -/* Early return when display use other mechanism to enable backlight. */ -if (!(intel_dp->edp_dpcd[1 ] &DP_EDP_BACKLIGHT_AUX_ENABLE_CAP )) -return ; - -if (drm_dp_dpcd_readb (&intel_dp->aux,DP_EDP_DISPLAY_CONTROL_REGISTER , - ®_val) <0 ) { -drm_dbg_kms (&i915->drm,"Failed to read DPCD register 0x%x\n" , -DP_EDP_DISPLAY_CONTROL_REGISTER ); -return ; - } -if (enable) - reg_val |=DP_EDP_BACKLIGHT_ENABLE ; -else - reg_val &= ~(DP_EDP_BACKLIGHT_ENABLE ); - -if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_EDP_DISPLAY_CONTROL_REGISTER , - reg_val) !=1 ) { -drm_dbg_kms (&i915->drm,"Failed to %s aux backlight\n" , - enable ?"enable" :"disable" ); - } -} - -static bool intel_dp_aux_backlight_dpcd_mode (struct intel_connector *connector) -{ -struct intel_dp *intel_dp =intel_attached_dp (connector); -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -u8 mode_reg; - -if (drm_dp_dpcd_readb (&intel_dp->aux, -DP_EDP_BACKLIGHT_MODE_SET_REGISTER , - &mode_reg) !=1 ) { -drm_dbg_kms (&i915->drm, -"Failed to read the DPCD register 0x%x\n" , -DP_EDP_BACKLIGHT_MODE_SET_REGISTER ); -return false; - } - -return (mode_reg &DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ) == -DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ; -} - -/* -* Read the current backlight value from DPCD register(s) based -* on if 8-bit(MSB) or 16-bit(MSB and LSB) values are supported -*/ static u32 intel_dp_aux_get_backlight (struct intel_connector *connector) { -struct intel_dp *intel_dp =intel_attached_dp (connector); -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -u8 read_val[2 ] = {0x0 }; -u16 level =0 ; - -/* -* If we're not in DPCD control mode yet, the programmed brightness -* value is meaningless and we should assume max brightness -*/ -if (!intel_dp_aux_backlight_dpcd_mode (connector)) -return connector->panel.backlight.max; - -if (drm_dp_dpcd_read (&intel_dp->aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB , - &read_val,sizeof (read_val)) <0 ) { -drm_dbg_kms (&i915->drm,"Failed to read DPCD register 0x%x\n" , -DP_EDP_BACKLIGHT_BRIGHTNESS_MSB ); -return 0 ; - } - level = read_val[0 ]; -if (intel_dp->edp_dpcd[2 ] &DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT ) - level = (read_val[0 ] <<8 | read_val[1 ]); - -return level; +return connector->panel.backlight.level; } -/* -* Sends the current backlight level over the aux channel, checking if its using -* 8-bit or 16 bit value (MSB and LSB) -*/ static void -intel_dp_aux_set_backlight (const struct drm_connector_state *conn_state,u32 level) +intel_dp_aux_set_backlight (const struct drm_connector_state *conn_state, +u32 level) {struct intel_connector *connector =to_intel_connector (conn_state->connector); -struct intel_dp *intel_dp =intel_attached_dp (connector); -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -u8 vals[2 ] = {0x0 }; - - vals[0 ] = level; +struct intel_panel *panel = &connector->panel; +struct intel_dp *intel_dp =enc_to_intel_dp (connector->encoder); -/* Write the MSB and/or LSB */ -if (intel_dp->edp_dpcd[2 ] &DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT ) { - vals[0 ] = (level &0xFF00 ) >>8 ; - vals[1 ] = (level &0xFF ); - } -if (drm_dp_dpcd_write (&intel_dp->aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB , - vals,sizeof (vals)) <0 ) { -drm_dbg_kms (&i915->drm, -"Failed to write aux backlight level\n" ); -return ; - } +drm_edp_backlight_set_level (&intel_dp->aux, &panel->backlight.vesa_edp_info, level); } -static void intel_dp_aux_enable_backlight (const struct intel_crtc_state *crtc_state, -const struct drm_connector_state *conn_state) +static void +intel_dp_aux_enable_backlight (const struct intel_crtc_state *crtc_state, +const struct drm_connector_state *conn_state) {struct intel_connector *connector =to_intel_connector (conn_state->connector); -struct intel_dp *intel_dp =intel_attached_dp (connector); -struct drm_i915_private *i915 =dp_to_i915 (intel_dp);struct intel_panel *panel = &connector->panel; -u8 dpcd_buf, new_dpcd_buf, edp_backlight_mode; - -if (drm_dp_dpcd_readb (&intel_dp->aux, -DP_EDP_BACKLIGHT_MODE_SET_REGISTER , &dpcd_buf) !=1 ) { -drm_dbg_kms (&i915->drm,"Failed to read DPCD register 0x%x\n" , -DP_EDP_BACKLIGHT_MODE_SET_REGISTER ); -return ; - } - - new_dpcd_buf = dpcd_buf; - edp_backlight_mode = dpcd_buf &DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ; - -switch (edp_backlight_mode) { -case DP_EDP_BACKLIGHT_CONTROL_MODE_PWM : -case DP_EDP_BACKLIGHT_CONTROL_MODE_PRESET : -case DP_EDP_BACKLIGHT_CONTROL_MODE_PRODUCT : - new_dpcd_buf &= ~DP_EDP_BACKLIGHT_CONTROL_MODE_MASK ; - new_dpcd_buf |=DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ; - -if (drm_dp_dpcd_writeb (&intel_dp->aux, -DP_EDP_PWMGEN_BIT_COUNT , - panel->backlight.pwmgen_bit_count) <0 ) -drm_dbg_kms (&i915->drm, -"Failed to write aux pwmgen bit count\n" ); - -break ; - -/* Do nothing when it is already DPCD mode */ -case DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD : -default : -break ; - } - -if (panel->backlight.pwm_freq_pre_divider) { -if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_EDP_BACKLIGHT_FREQ_SET , - panel->backlight.pwm_freq_pre_divider) ==1 ) - new_dpcd_buf |=DP_EDP_BACKLIGHT_FREQ_AUX_SET_ENABLE ; -else -drm_dbg_kms (&i915->drm,"Failed to write aux backlight frequency\n" ); - } +struct intel_dp *intel_dp =enc_to_intel_dp (connector->encoder); -if (new_dpcd_buf != dpcd_buf) { -if (drm_dp_dpcd_writeb (&intel_dp->aux, -DP_EDP_BACKLIGHT_MODE_SET_REGISTER , new_dpcd_buf) <0 ) { -drm_dbg_kms (&i915->drm, -"Failed to write aux backlight mode\n" ); - } - } - -intel_dp_aux_set_backlight (conn_state, - connector->panel.backlight.level); -set_aux_backlight_enable (intel_dp, true); +drm_edp_backlight_enable (&intel_dp->aux, &panel->backlight.vesa_edp_info, + panel->backlight.level); } -static void intel_dp_aux_disable_backlight (const struct drm_connector_state *old_conn_state) -{ -set_aux_backlight_enable (enc_to_intel_dp (to_intel_encoder (old_conn_state->best_encoder)), - false); -} - -/* -* Compute PWM frequency divider value based off the frequency provided to us by the vbt. -* The PWM Frequency is calculated as 27Mhz / (F x P). -* - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the -* EDP_BACKLIGHT_FREQ_SET register (DPCD Address 00728h) -* - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the -* EDP_PWMGEN_BIT_COUNT register (DPCD Address 00724h) -*/ -static u32 intel_dp_aux_calc_max_backlight (struct intel_connector *connector) +static void +intel_dp_aux_disable_backlight (const struct drm_connector_state *old_conn_state) { -struct drm_i915_private *i915 =to_i915 (connector->base.dev); -struct intel_dp *intel_dp =intel_attached_dp (connector); +struct intel_connector *connector =to_intel_connector (old_conn_state->connector);struct intel_panel *panel = &connector->panel; -u32 max_backlight =0 ; -int freq, fxp, fxp_min, fxp_max, fxp_actual, f =1 ; -u8 pn, pn_min, pn_max; - -if (drm_dp_dpcd_readb (&intel_dp->aux,DP_EDP_PWMGEN_BIT_COUNT , &pn) ==1 ) { - pn &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; - max_backlight = (1 << pn) -1 ; - } - -/* Find desired value of (F x P) -* Note that, if F x P is out of supported range, the maximum value or -* minimum value will applied automatically. So no need to check that. -*/ - freq = i915->vbt.backlight.pwm_freq_hz; -drm_dbg_kms (&i915->drm,"VBT defined backlight frequency %u Hz\n" , - freq); -if (!freq) { -drm_dbg_kms (&i915->drm, -"Use panel default backlight frequency\n" ); -return max_backlight; - } - - fxp =DIV_ROUND_CLOSEST (KHz (DP_EDP_BACKLIGHT_FREQ_BASE_KHZ ), freq); - -/* Use highest possible value of Pn for more granularity of brightness -* adjustment while satifying the conditions below. -* - Pn is in the range of Pn_min and Pn_max -* - F is in the range of 1 and 255 -* - FxP is within 25% of desired value. -* Note: 25% is arbitrary value and may need some tweak. -*/ -if (drm_dp_dpcd_readb (&intel_dp->aux, -DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN , &pn_min) !=1 ) { -drm_dbg_kms (&i915->drm, -"Failed to read pwmgen bit count cap min\n" ); -return max_backlight; - } -if (drm_dp_dpcd_readb (&intel_dp->aux, -DP_EDP_PWMGEN_BIT_COUNT_CAP_MAX , &pn_max) !=1 ) { -drm_dbg_kms (&i915->drm, -"Failed to read pwmgen bit count cap max\n" ); -return max_backlight; - } - pn_min &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; - pn_max &=DP_EDP_PWMGEN_BIT_COUNT_MASK ; +struct intel_dp *intel_dp =enc_to_intel_dp (connector->encoder); -/* Ensure frequency is within 25% of desired value */ - fxp_min =DIV_ROUND_CLOSEST (fxp *3 ,4 ); - fxp_max =DIV_ROUND_CLOSEST (fxp *5 ,4 ); - -if (fxp_min < (1 << pn_min) || (255 << pn_max) < fxp_max) { -drm_dbg_kms (&i915->drm, -"VBT defined backlight frequency out of range\n" ); -return max_backlight; - } - -for (pn = pn_max; pn >= pn_min; pn--) { - f =clamp (DIV_ROUND_CLOSEST (fxp,1 << pn),1 ,255 ); - fxp_actual = f << pn; -if (fxp_min <= fxp_actual && fxp_actual <= fxp_max) -break ; - } - -drm_dbg_kms (&i915->drm,"Using eDP pwmgen bit count of %d\n" , pn); -if (drm_dp_dpcd_writeb (&intel_dp->aux, -DP_EDP_PWMGEN_BIT_COUNT , pn) <0 ) { -drm_dbg_kms (&i915->drm, -"Failed to write aux pwmgen bit count\n" ); -return max_backlight; - } - - panel->backlight.pwmgen_bit_count = pn; - panel->backlight.pwm_freq_pre_divider = f; - - max_backlight = (1 << pn) -1 ; - -return max_backlight; +drm_edp_backlight_disable (&intel_dp->aux, &panel->backlight.vesa_edp_info); }static int intel_dp_aux_setup_backlight (struct intel_connector *connector,enum pipe pipe) {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); +u16 current_level; +u8 current_mode; +int ret; - panel->backlight.max =intel_dp_aux_calc_max_backlight (connector); -if (!panel->backlight.max) -return -ENODEV ; + ret =drm_edp_backlight_init (&intel_dp->aux, &panel->backlight.vesa_edp_info, + i915->vbt.backlight.pwm_freq_hz, intel_dp->edp_dpcd, + ¤t_level, ¤t_mode); +if (ret <0 ) +return ret; + panel->backlight.max = panel->backlight.vesa_edp_info.max; panel->backlight.min =0 ; - panel->backlight.level =intel_dp_aux_get_backlight (connector); - panel->backlight.enabled =intel_dp_aux_backlight_dpcd_mode (connector) && - panel->backlight.level !=0 ; +if (current_mode ==DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD ) { + panel->backlight.level = current_level; + panel->backlight.enabled = panel->backlight.level !=0 ; + }else { + panel->backlight.level = panel->backlight.max; + panel->backlight.enabled = false; + }return 0 ; } -static bool -intel_dp_aux_display_control_capable (struct intel_connector *connector) -{ -struct intel_dp *intel_dp =intel_attached_dp (connector); -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); - -/* Check the eDP Display control capabilities registers to determine if -* the panel can support backlight control over the aux channel -*/ -if (intel_dp->edp_dpcd[1 ] &DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP && - (intel_dp->edp_dpcd[2 ] &DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP )) { -drm_dbg_kms (&i915->drm,"AUX Backlight Control Supported!\n" ); -return true; - } -return false; -} -static const struct intel_panel_bl_funcs intel_dp_bl_funcs = { .setup = intel_dp_aux_setup_backlight, .enable = intel_dp_aux_enable_backlight,@@ -337,9 +107,11 @@ int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector)struct drm_i915_private *i915 =dp_to_i915 (intel_dp);if (i915->params.enable_dpcd_backlight ==0 || - !intel_dp_aux_display_control_capable (intel_connector)) + !drm_edp_backlight_supported (intel_dp->edp_dpcd))return -ENODEV ; +drm_dbg_kms (&i915->drm,"AUX Backlight Control Supported!\n" ); +/* * There are a lot of machines that don't advertise the backlight * control interface to use properly in their VBIOS, :\ include/drm/drm_dp_helper.h +48
-0@@ -1598,6 +1598,24 @@ drm_dp_sink_can_do_video_without_timing_msa(const u8 dpcd[DP_RECEIVER_CAP_SIZE])DP_MSA_TIMING_PAR_IGNORED ; } +/** +* drm_edp_backlight_supported() - Check an eDP DPCD for VESA backlight support +* @edp_dpcd: The DPCD to check +* +* Note that currently this function will return %false for panels which support various DPCD +* backlight features but which require the brightness be set through PWM, and don't support setting +* the brightness level via the DPCD. This is a TODO. +* +* Returns: %True if @edp_dpcd indicates that VESA backlight controls are supported, %false +* otherwise +*/ +static inline bool +drm_edp_backlight_supported (const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ]) +{ +return (edp_dpcd[1 ] &DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP ) && + (edp_dpcd[2 ] &DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP ); +} +/* * DisplayPort AUX channel */ @@ -1912,6 +1930,36 @@ drm_dp_has_quirk(const struct drm_dp_desc *desc, u32 edid_quirks,return (desc->quirks | edid_quirks) &BIT (quirk); } +/** +* struct drm_edp_backlight_info - Probed eDP backlight info struct +* @pwmgen_bit_count: The pwmgen bit count +* @pwm_freq_pre_divider: The PWM frequency pre-divider value being used for this backlight, if any +* @max: The maximum backlight level that may be set +* @lsb_reg_used: Do we also write values to the DP_EDP_BACKLIGHT_BRIGHTNESS_LSB register? +* @aux_enable: Does the panel support the AUX enable cap? +* +* This structure contains various data about an eDP backlight, which can be populated by using +* drm_edp_backlight_init(). +*/ +struct drm_edp_backlight_info { +u8 pwmgen_bit_count; +u8 pwm_freq_pre_divider; +u16 max; + +bool lsb_reg_used :1 ; +bool aux_enable :1 ; +}; + +int +drm_edp_backlight_init (struct drm_dp_aux *aux,struct drm_edp_backlight_info *bl, +u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ], +u16 *current_level,u8 *current_mode); +int drm_edp_backlight_set_level (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +u16 level); +int drm_edp_backlight_enable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl, +u16 level); +int drm_edp_backlight_disable (struct drm_dp_aux *aux,const struct drm_edp_backlight_info *bl); +#ifdef CONFIG_DRM_DP_CEC void drm_dp_cec_irq (struct drm_dp_aux *aux); void drm_dp_cec_register_connector(struct drm_dp_aux *aux,
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Lyude Paul
maintainerRe: [RFC 4/5] drm/dp: Extract i915's eDP backlight code into DRM helpers
Quoted 65 lines · Jani Nikula
Quoted 16 lines · Lyude Paul
Since we're about to implement eDP backlight support in nouveau using the standard protocol from VESA, we might as well just take the code that's already written for this and move it into a set of shared DRM helpers.
Note that these helpers are intended to handle DPCD related backlight control bits such as setting the brightness level over AUX, probing the backlight's TCON, enabling/disabling the backlight over AUX if supported, etc. Any PWM-related portions of backlight control are explicitly left up to the driver, as these will vary from platform to platform.
The only exception to this is the calculation of the PWM frequency pre-divider value. This is because the only platform-specific information required for this is the PWM frequency of the panel, which the driver is expected to provide if available. The actual algorithm for calculating this value is standard and is defined in the eDP specification from VESA.
Quoted 8 lines
Note that these helpers do not yet implement the full range of features the VESA backlight interface provides, and only provide the following functionality (all of which was already present in i915's DPCD backlight support):
* Basic control of brightness levels
* Basic probing of backlight capabilities
* Helpers for enabling and disabling the backlightOverall I like where this is going. Again, not a full review yet, just a few notes below.
Quoted 36 lines
Signed-off-by Lyude Paul <[email protected]>Cc Jani Nikula <[email protected]>Cc Dave Airlie <[email protected]>---
drivers/gpu/drm/drm_dp_helper.c | 332 ++++++++++++++++++ .../drm/i915/display/intel_display_types.h | 5 +-.../drm/i915/display/intel_dp_aux_backlight.c| 304 ++-------------- include/drm/drm_dp_helper.h | 48 +++4 files changed, 419 insertions(+), 270 deletions(-)drivers/gpu/drm/drm_dp_helper.c +0
-0@@ -2596,3 +2596,335 @@ void drm_dp_vsc_sdp_log(const char *level, struct device *dev, #undef DP_SDP_LOG }EXPORT_SYMBOL(drm_dp_vsc_sdp_log);
drivers/gpu/drm/drm_dp_helper.c +3
-0+ +/** +* drm_edp_backlight_set_level() - Set the backlight level of an eDP panel via AUX
+ * @aux: The DP AUX channel to use
+ * @bl: Backlight capability info fromdrm_edp_backlight_init()
+ * @level: The brightness level to set
+ *
+ * Sets the brightness level of an eDP panel's backlight. Note that the panel's backlight must
+ * already have been enabled by the driver by callingdrm_edp_backlight_enable().
+ *
+ * Returns: %0 on success, negative error code on failure
Quoted 8 lines
Quoted 4 lines
+ */
+int drm_edp_backlight_set_level(structdrm_dp_aux*aux, const structdrm_edp_backlight_info*bl,
+ u16 level)I think I'd go for s/backlight/brightness/g function naming thoughout, to account for OLED. "Backlight" unnecessarily underlines the technology.
Hm, are we sure about this part? It makes sense in some places, but:
* The eDP spec refers to these as backlights
* "Brightness capability info" makes a bit less sense then backlight capability info
* In general, it seems like we'd have a weird mix of "brightness" and "backlight" in the docs in order for things to make sense
I'm fine with either though, although my vote is on backlight. In the mean time I'm going to send a respin that's refactored + the one small change you suggested in patch 3.
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/drm_dp_helper.c +12
-0+{ + int ret; + u8 buf[2] = { 0 }; + + if (bl->lsb_reg_used) { + buf[0] = (level & 0xFF00) >> 8; + buf[1] = (level & 0x00FF); + } else { + buf[0] = level; + } + + ret = drm_dp_dpcd_write(aux, DP_EDP_BACKLIGHT_BRIGHTNESS_MSB, buf,
Quoted 8 lines
Quoted 4 lines
sizeof(buf));
+ if (ret != sizeof(buf)) {
+ DRM_ERROR("%s: Failed to write aux backlight level: %d\n",aux->name, ret);I'd really like to have a way to get from struct
drm_dp_auxto structdrm_deviceto retain the device specific logging here. It'd be useful in the lower level dpcd access functions too.
I'll put this on my todo list and try to get to this in the near future, I've been thinking the same thing myself for a while now.
Quoted 873 lines
Quoted 872 lines
+ return ret < 0 ? ret :
-EIO;
+ }drivers/gpu/drm/drm_dp_helper.c +7
-0+ + return 0; +} +EXPORT_SYMBOL (drm_edp_backlight_set_level); + +static int +drm_edp_backlight_set_enable(struct drm_dp_aux *aux, const struct
drm_edp_backlight_info*bl,
+ bool enable)drivers/gpu/drm/drm_dp_helper.c +5
-0+{ + int ret; + u8 buf; + + /* The panel uses something other then DPCD for enabling it'sbacklight */
+ if (!bl->aux_enable)
+ return 0;
+
+ ret =drm_dp_dpcd_readb(aux, DP_EDP_DISPLAY_CONTROL_REGISTER, &buf); + if (ret != 1) {
+ DRM_ERROR("%s: Failed to read eDP display control register:
%d\n",aux->name, ret);
+ return ret < 0 ? ret :-EIO;
+ }
+ if (enable)
+ buf |=DP_EDP_BACKLIGHT_ENABLE;
+ else
+ buf &= ~DP_EDP_BACKLIGHT_ENABLE;
+
+ ret =drm_dp_dpcd_writeb(aux, DP_EDP_DISPLAY_CONTROL_REGISTER, buf); + if (ret != 1) {
+ DRM_ERROR("%s: Failed to write eDP display control register:
%d\n",aux->name, ret);
+ return ret < 0 ? ret :-EIO;
+ }drivers/gpu/drm/drm_dp_helper.c +11
-0+ + return 0; +} + +/** +* drm_edp_backlight_enable() - Enable an eDP panel's backlight using DPCD +* @aux: The DP AUX channel to use +* @bl: Backlight capability info from drm_edp_backlight_init() +* @level: The initial backlight level to set via AUX, if there is one +* +* This function handles enabling DPCD backlight controls on a panel over DPCD, while additionally
+ * restoring any important backlight state such as the given backlight level, the brightness byte
+ * count, backlight frequency, etc.
+ *
+ * Note that certain panels, while supporting brightness level controls over DPCD, may not support
+ * having their backlights enabled via the standard %DP_EDP_DISPLAY_CONTROL_REGISTER. On such panels
+ * &drm_edp_backlight_info.aux_enable will be set to %false, this function will skip the step of
+ * programming the %DP_EDP_DISPLAY_CONTROL_REGISTER, and the driver must perform the required
+ * implementation specific step for enabling the backlight after calling this function.
+ *
+ * Returns: %0 on success, negative error code on failure.
+ */
+int drm_edp_backlight_enable(structdrm_dp_aux*aux, const structdrm_edp_backlight_info*bl,
+ const u16 level)drivers/gpu/drm/drm_dp_helper.c +5
-0+{ + int ret; + u8 dpcd_buf, new_dpcd_buf; + + ret = drm_dp_dpcd_readb(aux, DP_EDP_BACKLIGHT_MODE_SET_REGISTER,
&dpcd_buf);
+ if (ret != 1) {
+ DRM_DEBUG_KMS("%s: Failed to read backlight mode: %d\n",aux->name, ret);
+ return ret < 0 ? ret :-EIO;
+ }drivers/gpu/drm/drm_dp_helper.c +4
-0+ + new_dpcd_buf = dpcd_buf; + + if ((dpcd_buf & DP_EDP_BACKLIGHT_CONTROL_MODE_MASK) !=
DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD) {
+ new_dpcd_buf &= ~DP_EDP_BACKLIGHT_CONTROL_MODE_MASK; + new_dpcd_buf |=DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD; +
+ ret = drm_dp_dpcd_writeb(aux,DP_EDP_PWMGEN_BIT_COUNT, bl-Quoted 1 line
pwmgen_bit_count);+ if (ret != 1)
+ DRM_DEBUG_KMS("%s: Failed to write aux pwmgen bit
count: %d\n",
+aux->name, ret);
+ }
+
+ if (bl->pwm_freq_pre_divider) {
+ ret = drm_dp_dpcd_writeb(aux,DP_EDP_BACKLIGHT_FREQ_SET, bl-Quoted 1 line
pwm_freq_pre_divider);+ if (ret != 1)
+ DRM_DEBUG_KMS("%s: Failed to write aux backlight
frequency: %d\n",
+aux->name, ret);
+ else
+ new_dpcd_buf |=DP_EDP_BACKLIGHT_FREQ_AUX_SET_ENABLE;
+ }
+
+ if (new_dpcd_buf!=dpcd_buf) {
+ ret =drm_dp_dpcd_writeb(aux, DP_EDP_BACKLIGHT_MODE_SET_REGISTER, new_dpcd_buf);
+ if (ret != 1) {
+ DRM_DEBUG_KMS("%s: Failed to write aux backlight
mode: %d\n",
+aux->name, ret);
+ return ret < 0 ? ret :-EIO;
+ }
+ }drivers/gpu/drm/drm_dp_helper.c +14
-0+ + ret = drm_edp_backlight_set_level(aux, bl, level); + if (ret < 0) + return ret; + ret = drm_edp_backlight_set_enable(aux, bl, true); + if (ret < 0) + return ret; + + return 0; +} +EXPORT_SYMBOL (drm_edp_backlight_enable); + +/** +* drm_edp_backlight_disable() - Disable an eDP backlight using DPCD, if supported
+ * @aux: The DP AUX channel to use
+ * @bl: Backlight capability info fromdrm_edp_backlight_init()
+ *
+ * This function handles disabling DPCD backlight controls on a panel over AUX. Note that some
+ * panels have backlights that are enabled/disabled by other means, despite having their brightness
+ * values controlled through DPCD. On such panels &drm_edp_backlight_info.aux_enable will be set to
+ * %false, this function will become a no-op (and we will skip updating
+ * %DP_EDP_DISPLAY_CONTROL_REGISTER), and the driver must take care to perform it's own
+ * implementation specific step for disabling the backlight.
+ *
+ * Returns: %0 on success or no-op, negative error code on failure.
+ */
+intdrm_edp_backlight_disable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl)drivers/gpu/drm/drm_dp_helper.c +13
-0+{ + int ret; + + ret = drm_edp_backlight_set_enable(aux, bl, false); + if (ret < 0) + return ret; + + return 0; +} +EXPORT_SYMBOL (drm_edp_backlight_disable); + +static inline int +drm_edp_backlight_probe_max(struct drm_dp_aux *aux, struct
drm_edp_backlight_info*bl,
+ u16driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE])drivers/gpu/drm/drm_dp_helper.c +8
-0+{ + int fxp, fxp_min, fxp_max, fxp_actual, f = 1; + int ret; + u8 pn, pn_min, pn_max; + + ret = drm_dp_dpcd_readb(aux, DP_EDP_PWMGEN_BIT_COUNT, &pn); + if (ret != 1) { + DRM_DEBUG_KMS("%s: Failed to read pwmgen bit count cap:%d\n",
aux->name, ret);
+ return-ENODEV;
+ }drivers/gpu/drm/drm_dp_helper.c +8
-0+ + pn &= DP_EDP_PWMGEN_BIT_COUNT_MASK; + bl->max = (1 << pn) - 1; + if (!driver_pwm_freq_hz) + return 0; + + /* +* Set PWM Frequency divider to match desired frequency provided by the driver.
+ * The PWM Frequency is calculated as 27Mhz / (F x P).
+ * - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the
+ *EDP_BACKLIGHT_FREQ_SETregister (DPCD Address 00728h) + * - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the
+ *EDP_PWMGEN_BIT_COUNTregister (DPCD Address 00724h) + */
+
+ /* Find desired value of (F x P)
+ * Note that, if F x P is out of supported range, the maximum value or minimum value will
+ * applied automatically. So no need to check that.
+ */
+ fxp =DIV_ROUND_CLOSEST(1000 * DP_EDP_BACKLIGHT_FREQ_BASE_KHZ, driver_pwm_freq_hz);
+
+ /* Use highest possible value of Pn for more granularity of brightness adjustment while
+ * satifying the conditions below.
+ * - Pn is in the range ofPn_minandPn_max
+ * - F is in the range of 1 and 255
+ * - FxP is within 25% of desired value.
+ * Note: 25% is arbitrary value and may need some tweak. + */
+ ret =drm_dp_dpcd_readb(aux, DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN, &pn_min);
+ if (ret != 1) {
+ DRM_DEBUG_KMS("%s: Failed to read pwmgen bit count cap min:
%d\n",aux->name, ret);
+ return 0;
+ }
+ ret =drm_dp_dpcd_readb(aux, DP_EDP_PWMGEN_BIT_COUNT_CAP_MAX, &pn_max);
+ if (ret != 1) {
+ DRM_DEBUG_KMS("%s: Failed to read pwmgen bit count cap max:
%d\n",aux->name, ret);
+ return 0;
+ }
+ pn_min &=DP_EDP_PWMGEN_BIT_COUNT_MASK;
+ pn_max &=DP_EDP_PWMGEN_BIT_COUNT_MASK;
+
+ /* Ensure frequency is within 25% of desired value */
+ fxp_min =DIV_ROUND_CLOSEST(fxp * 3, 4);
+ fxp_max =DIV_ROUND_CLOSEST(fxp * 5, 4);
+ if (fxp_min< (1 <<pn_min) || (255 <<pn_max) <fxp_max) { + DRM_DEBUG_KMS("%s: Driver defined backlight frequency (%d) out of range\n",
+aux->name,driver_pwm_freq_hz);
+ return 0;
+ }drivers/gpu/drm/drm_dp_helper.c +11
-0+ + for (pn = pn_max; pn >= pn_min; pn--) { + f = clamp(DIV_ROUND_CLOSEST(fxp, 1 << pn), 1, 255); + fxp_actual = f << pn; + if (fxp_min <= fxp_actual && fxp_actual <= fxp_max) + break; + } + + ret = drm_dp_dpcd_writeb(aux, DP_EDP_PWMGEN_BIT_COUNT, pn); + if (ret != 1) { + DRM_DEBUG_KMS("%s: Failed to write aux pwmgen bit count:%d\n",
aux->name, ret);
+ return 0;
+ }
+ bl->pwmgen_bit_count = pn;
+ bl->max = (1 << pn) - 1;
+
+ if (edp_dpcd[2] &DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP) { + bl->pwm_freq_pre_divider = f;
+ DRM_DEBUG_KMS("%s: Using backlight frequency from driver (%dHz)\n",
+aux->name,driver_pwm_freq_hz); + }drivers/gpu/drm/drm_dp_helper.c +6
-0+ + return 0; +} + +static inline int +drm_edp_backlight_probe_level(struct drm_dp_aux *aux, struct
drm_edp_backlight_info*bl,
+ u8*current_mode)drivers/gpu/drm/drm_dp_helper.c +6
-0+{ + int ret; + u8 buf[2]; + u8 mode_reg; + + ret = drm_dp_dpcd_readb(aux, DP_EDP_BACKLIGHT_MODE_SET_REGISTER,
&mode_reg);
+ if (ret != 1) {
+ DRM_DEBUG_KMS("%s: Failed to read backlight mode: %d\n",aux->name, ret);
+ return ret < 0 ? ret :-EIO;
+ }drivers/gpu/drm/drm_dp_helper.c +6
-0+ + *current_mode = (mode_reg & DP_EDP_BACKLIGHT_CONTROL_MODE_MASK); + if (*current_mode == DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD) { + int size = 1 + bl->lsb_reg_used; + + ret = drm_dp_dpcd_read(aux, DP_EDP_BACKLIGHT_BRIGHTNESS_MSB,buf, size);
+ if (ret != size) {
+ DRM_DEBUG_KMS("%s: Failed to read backlight level:
%d\n",aux->name, ret);
+ return ret < 0 ? ret :-EIO;
+ }drivers/gpu/drm/drm_dp_helper.c +9
-0+ + if (bl->lsb_reg_used) + return (buf[0] << 8) | buf[1]; + else + return buf[0]; + } + + /* +* If we're not in DPCD control mode yet, the programmed brightness value is meaningless and
+ * the driver should assume max brightness + */
+ returnbl->max;drivers/gpu/drm/drm_dp_helper.c +4
-0+} + +/** +* drm_edp_backlight_init() - Probe a display panel's TCON using the standard VESA eDP backlight
+ * interface.
+ * @aux: The DP aux device to use for probing
+ * @bl: The&drm_edp_backlight_infostruct to fill out with information on the backlight
+ * @driver_pwm_freq_hz: Optional PWM frequency from the driver in hz
+ * @edp_dpcd: A cached copy of the eDP DPCD
+ * @current_level: Where to store the probed brightness level
+ * @current_mode: Where to store the currently set backlight control mode
+ *
+ * Initializes a&drm_edp_backlight_infostruct by probing @aux for it's backlight capabilities,
+ * along with also probing the current and maximum supported brightness levels.
+ *
+ * If @driver_pwm_freq_hz is non-zero, this will be used as the backlight frequency. Otherwise, the
+ * default frequency from the panel is used.
+ *
+ * Returns: %0 on success, negative error code on failure.
+ */drivers/gpu/drm/drm_dp_helper.c +2
-0+int +drm_edp_backlight_init(struct drm_dp_aux *aux, struct
drm_edp_backlight_info*bl,
+ u16driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],
+ u16*current_level, u8*current_mode)drivers/gpu/drm/drm_dp_helper.c +9
-0+{ + int ret; + + if (edp_dpcd[1] & DP_EDP_BACKLIGHT_AUX_ENABLE_CAP) + bl->aux_enable = true; + if (edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT) + bl->lsb_reg_used = true; + + ret = drm_edp_backlight_probe_max(aux, bl, driver_pwm_freq_hz,
edp_dpcd);
+ if (ret < 0)
+ return ret;drivers/gpu/drm/drm_dp_helper.c +7
-0+ + ret = drm_edp_backlight_probe_level(aux, bl, current_mode); + if (ret < 0) + return ret; + *current_level = ret; + + DRM_DEBUG_KMS("%s: Found backlight level=%d/%dpwm_freq_pre_divider=%d mode=%x\n",
+aux->name,*current_level,bl->max, bl-Quoted 1 line
pwm_freq_pre_divider,*current_mode);+ DRM_DEBUG_KMS("%s: Backlight caps: pwmgen_bit_count=%d lsb_reg_used=%d aux_enable=%d\n",
+aux->name,bl->pwmgen_bit_count,bl->lsb_reg_used, bl-Quoted 1 line
aux_enable);+ return 0;
drivers/gpu/drm/drm_dp_helper.c +2
-0+} +EXPORT_SYMBOL (drm_edp_backlight_init);drivers/gpu/drm/i915/display/intel_display_types.h +0
-0@@ -257,11 +257,8 @@ struct intel_panel { struct pwm_device *pwm; struct pwm_state pwm_state;
- /* DPCD backlight */
- u8pwmgen_bit_count;
- u8pwm_freq_pre_divider;
-
structbacklight_device*device;
+ structdrm_edp_backlight_infovesa_edp_info;
const structintel_panel_bl_funcs*funcs; void (*power)(structintel_connector*, bool enable);drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-0@@ -25,303 +25,73 @@ #include "intel_display_types.h" #include "intel_dp_aux_backlight.h"
-static voidset_aux_backlight_enable(struct intel_dp *intel_dp, bool enable)drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-5-{ - struct drm_i915_private *i915 = dp_to_i915(intel_dp); - u8 reg_val = 0; - - /* Early return when display use other mechanism to enablebacklight. */
- if (!(intel_dp->edp_dpcd[1] &DP_EDP_BACKLIGHT_AUX_ENABLE_CAP)) - return;
-
- if (drm_dp_dpcd_readb(&intel_dp->aux,DP_EDP_DISPLAY_CONTROL_REGISTER,
-®_val) < 0) {
- drm_dbg_kms(&i915->drm, "Failed to read DPCD register 0x%x\n",
-DP_EDP_DISPLAY_CONTROL_REGISTER); - return;
- }
- if (enable)
- reg_val |=DP_EDP_BACKLIGHT_ENABLE;
- else
- reg_val &= ~(DP_EDP_BACKLIGHT_ENABLE);
-
- if (drm_dp_dpcd_writeb(&intel_dp->aux,DP_EDP_DISPLAY_CONTROL_REGISTER,
-reg_val) != 1) {
- drm_dbg_kms(&i915->drm, "Failed to %s aux backlight\n", - enable ? "enable" : "disable"); - }drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-3-} - -static bool intel_dp_aux_backlight_dpcd_mode(struct intel_connector*connector)
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-22-{ - struct intel_dp *intel_dp = intel_attached_dp(connector); - struct drm_i915_private *i915 = dp_to_i915(intel_dp); - u8 mode_reg; - - if (drm_dp_dpcd_readb(&intel_dp->aux, - DP_EDP_BACKLIGHT_MODE_SET_REGISTER, - &mode_reg) != 1) { - drm_dbg_kms(&i915->drm, - "Failed to read the DPCD register 0x%x\n", - DP_EDP_BACKLIGHT_MODE_SET_REGISTER); - return false; - } - - return (mode_reg & DP_EDP_BACKLIGHT_CONTROL_MODE_MASK) == - DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD; -} - -/* -* Read the current backlight value from DPCD register(s) based -* on if 8-bit(MSB) or 16-bit(MSB and LSB) values are supported -*/ static u32
intel_dp_aux_get_backlight(struct intel_connector *connector){
- structintel_dp*intel_dp=intel_attached_dp(connector); - structdrm_i915_private*i915 =dp_to_i915(intel_dp); - u8 read_val[2] = {0x0};
- u16 level = 0;drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-9- - /* - * If we're not in DPCD control mode yet, the programmed brightness - * value is meaningless and we should assume max brightness - */ - if (!intel_dp_aux_backlight_dpcd_mode(connector)) - return connector->panel.backlight.max; - - if (drm_dp_dpcd_read(&intel_dp->aux,
DP_EDP_BACKLIGHT_BRIGHTNESS_MSB,
-&read_val,sizeof(read_val)) < 0) { - drm_dbg_kms(&i915->drm, "Failed to read DPCD register 0x%x\n",
-DP_EDP_BACKLIGHT_BRIGHTNESS_MSB);
- return 0;
- }
- level = read_val[0];
- if (intel_dp->edp_dpcd[2] &DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT) - level = (read_val[0] << 8 | read_val[1]);
-
- return level;
+ returnconnector->panel.backlight.level;
}
-/*
- * Sends the current backlight level over the aux channel, checking if its using
- * 8-bit or 16 bit value (MSB and LSB)
- */
static void
-intel_dp_aux_set_backlight(const structdrm_connector_state*conn_state, u32 level)
+intel_dp_aux_set_backlight(const structdrm_connector_state*conn_state, + u32 level)
{
structintel_connector*connector = to_intel_connector(conn_state-Quoted 1 line
connector);
- struct
intel_dp*intel_dp=intel_attached_dp(connector); - structdrm_i915_private*i915 =dp_to_i915(intel_dp);
- u8 vals[2] = {0x0};
-
- vals[0] = level;
+ structintel_panel*panel =&connector->panel;
+ structintel_dp*intel_dp=enc_to_intel_dp(connector->encoder);
- /* Write the MSB and/or LSB */
- if (intel_dp->edp_dpcd[2] &DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT) {
- vals[0] = (level &0xFF00) >> 8;
- vals[1] = (level &0xFF);
- }
- if (drm_dp_dpcd_write(&intel_dp->aux,DP_EDP_BACKLIGHT_BRIGHTNESS_MSB,
- vals, sizeof(vals)) < 0) {
- drm_dbg_kms(&i915->drm,
- "Failed to write aux backlight level\n"); - return;
- }
+ drm_edp_backlight_set_level(&intel_dp->aux, &panel-Quoted 1 line
backlight.vesa_edp_info, level);
}
-static void intel_dp_aux_enable_backlight(const structintel_crtc_state*crtc_state,
- const structdrm_connector_state*conn_state)drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +3
-0+static void +intel_dp_aux_enable_backlight (const struct intel_crtc_state *crtc_state, + const struct drm_connector_state *conn_state){
structintel_connector*connector = to_intel_connector(conn_state-Quoted 1 line
connector);
- struct
intel_dp*intel_dp=intel_attached_dp(connector); - structdrm_i915_private*i915 =dp_to_i915(intel_dp); structintel_panel*panel =&connector->panel;
- u8dpcd_buf,new_dpcd_buf,edp_backlight_mode;
-
- if (drm_dp_dpcd_readb(&intel_dp->aux,
- DP_EDP_BACKLIGHT_MODE_SET_REGISTER,&dpcd_buf) != 1) {
- drm_dbg_kms(&i915->drm, "Failed to read DPCD register 0x%x\n",
-DP_EDP_BACKLIGHT_MODE_SET_REGISTER); - return;
- }drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-14- - new_dpcd_buf = dpcd_buf; - edp_backlight_mode = dpcd_buf & DP_EDP_BACKLIGHT_CONTROL_MODE_MASK; - - switch (edp_backlight_mode) { - case DP_EDP_BACKLIGHT_CONTROL_MODE_PWM: - case DP_EDP_BACKLIGHT_CONTROL_MODE_PRESET: - case DP_EDP_BACKLIGHT_CONTROL_MODE_PRODUCT: - new_dpcd_buf &= ~DP_EDP_BACKLIGHT_CONTROL_MODE_MASK; - new_dpcd_buf |= DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD; - - if (drm_dp_dpcd_writeb(&intel_dp->aux, - DP_EDP_PWMGEN_BIT_COUNT, - panel->backlight.pwmgen_bit_count) <0)
- drm_dbg_kms(&i915->drm,
- "Failed to write aux pwmgen bit count\n");drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-11- - break; - - /* Do nothing when it is already DPCD mode */ - case DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD: - default: - break; - } - - if (panel->backlight.pwm_freq_pre_divider) { - if (drm_dp_dpcd_writeb(&intel_dp->aux,
DP_EDP_BACKLIGHT_FREQ_SET,
- panel-Quoted 1 line
backlight.pwm_freq_pre_divider) == 1)
- new_dpcd_buf |=
DP_EDP_BACKLIGHT_FREQ_AUX_SET_ENABLE;
- else
- drm_dbg_kms(&i915->drm, "Failed to write aux backlight frequency\n");
- }
+ structintel_dp*intel_dp=enc_to_intel_dp(connector->encoder);
- if (new_dpcd_buf!=dpcd_buf) {
- if (drm_dp_dpcd_writeb(&intel_dp->aux,
- DP_EDP_BACKLIGHT_MODE_SET_REGISTER,new_dpcd_buf) <
0) {
- drm_dbg_kms(&i915->drm,
- "Failed to write aux backlight mode\n"); - }
- }
-
- intel_dp_aux_set_backlight(conn_state,
-connector->panel.backlight.level); - set_aux_backlight_enable(intel_dp, true);
+ drm_edp_backlight_enable(&intel_dp->aux, &panel-Quoted 1 line
backlight.vesa_edp_info,
+
panel->backlight.level);
}
-static voidintel_dp_aux_disable_backlight(const struct drm_connector_state *old_conn_state)drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-2-{ -set_aux_backlight_enable(enc_to_intel_dp(to_intel_encoder(old_conn_sta
te->best_encoder)),
- false);drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-4-} - -/* -* Compute PWM frequency divider value based off the frequency provided to us by the vbt.
- * The PWM Frequency is calculated as 27Mhz / (F x P).
- * - Where F = PWM Frequency Pre-Divider value programmed by field 7:0 of the
- *EDP_BACKLIGHT_FREQ_SETregister (DPCD Address 00728h)
- * - Where P = 2^Pn, where Pn is the value programmed by field 4:0 of the
- *EDP_PWMGEN_BIT_COUNTregister (DPCD Address 00724h)
- */
-static u32intel_dp_aux_calc_max_backlight(struct intel_connector *connector)drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +2
-0+static void +intel_dp_aux_disable_backlight(const struct drm_connector_state
*old_conn_state)
{
- structdrm_i915_private*i915 =to_i915(connector->base.dev); - structintel_dp*intel_dp=intel_attached_dp(connector); + structintel_connector*connector =to_intel_connector(old_conn_state->connector);
structintel_panel*panel =&connector->panel;
- u32max_backlight= 0;
- int freq, fxp,fxp_min,fxp_max,fxp_actual, f = 1;
- u8 pn,pn_min,pn_max;
-
- if (drm_dp_dpcd_readb(&intel_dp->aux, DP_EDP_PWMGEN_BIT_COUNT, &pn)== 1) {
- pn &=DP_EDP_PWMGEN_BIT_COUNT_MASK;
- max_backlight = (1 << pn) - 1;
- }
-
- /* Find desired value of (F x P)
- * Note that, if F x P is out of supported range, the maximum value or
- * minimum value will applied automatically. So no need to check that.
- */
- freq =i915->vbt.backlight.pwm_freq_hz;
- drm_dbg_kms(&i915->drm, "VBT defined backlight frequency %u Hz\n", - freq);
- if (!freq) {
- drm_dbg_kms(&i915->drm,
- "Use panel default backlight frequency\n"); - returnmax_backlight;
- }drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-4- - fxp = DIV_ROUND_CLOSEST(KHz(DP_EDP_BACKLIGHT_FREQ_BASE_KHZ), freq); - - /* Use highest possible value of Pn for more granularity ofbrightness
- * adjustment while satifying the conditions below.
- * - Pn is in the range ofPn_minandPn_max
- * - F is in the range of 1 and 255
- * - FxP is within 25% of desired value.
- * Note: 25% is arbitrary value and may need some tweak. - */
- if (drm_dp_dpcd_readb(&intel_dp->aux,
-DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN,&pn_min) !=
1) {
- drm_dbg_kms(&i915->drm,
- "Failed to read pwmgen bit count cap min\n"); - returnmax_backlight;
- }
- if (drm_dp_dpcd_readb(&intel_dp->aux,
-DP_EDP_PWMGEN_BIT_COUNT_CAP_MAX,&pn_max) !=
1) {
- drm_dbg_kms(&i915->drm,
- "Failed to read pwmgen bit count cap max\n"); - returnmax_backlight;
- }
- pn_min &=DP_EDP_PWMGEN_BIT_COUNT_MASK;
- pn_max &=DP_EDP_PWMGEN_BIT_COUNT_MASK;
+ structintel_dp*intel_dp=enc_to_intel_dp(connector->encoder);
- /* Ensure frequency is within 25% of desired value */ - fxp_min =DIV_ROUND_CLOSEST(fxp * 3, 4);
- fxp_max =DIV_ROUND_CLOSEST(fxp * 5, 4);
-
- if (fxp_min< (1 <<pn_min) || (255 <<pn_max) <fxp_max) { - drm_dbg_kms(&i915->drm,
- "VBT defined backlight frequency out of range\n");
- returnmax_backlight;
- }drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +1
-22- - for (pn = pn_max; pn >= pn_min; pn--) { - f = clamp(DIV_ROUND_CLOSEST(fxp, 1 << pn), 1, 255); - fxp_actual = f << pn; - if (fxp_min <= fxp_actual && fxp_actual <= fxp_max) - break; - } - - drm_dbg_kms(&i915->drm, "Using eDP pwmgen bit count of %d\n", pn); - if (drm_dp_dpcd_writeb(&intel_dp->aux, - DP_EDP_PWMGEN_BIT_COUNT, pn) < 0) { - drm_dbg_kms(&i915->drm, - "Failed to write aux pwmgen bit count\n"); - return max_backlight; - } - - panel->backlight.pwmgen_bit_count = pn; - panel->backlight.pwm_freq_pre_divider = f; - - max_backlight = (1 << pn) - 1; - - return max_backlight; + drm_edp_backlight_disable(&intel_dp->aux, &panel-Quoted 1 line
backlight.vesa_edp_info);
}
static intintel_dp_aux_setup_backlight(struct intel_connector *connector, enum pipe pipe)
{
structintel_panel*panel =&connector->panel;
+ structintel_dp*intel_dp=enc_to_intel_dp(connector->encoder); + structdrm_i915_private*i915 =dp_to_i915(intel_dp);
+ u16current_level;
+ u8current_mode;
+ int ret;
- panel->backlight.max =intel_dp_aux_calc_max_backlight(connector); - if (!panel->backlight.max)
- return-ENODEV;
+ ret = drm_edp_backlight_init(&intel_dp->aux, &panel-Quoted 1 line
backlight.vesa_edp_info,
+
i915->vbt.backlight.pwm_freq_hz,intel_dp->edp_dpcd,
+¤t_level,¤t_mode); + if (ret < 0)
+ return ret;
+ panel->backlight.max =panel->backlight.vesa_edp_info.max;panel->backlight.min= 0;
- panel->backlight.level =intel_dp_aux_get_backlight(connector); - panel->backlight.enabled =intel_dp_aux_backlight_dpcd_mode(connector)&&
-panel->backlight.level!= 0; + if (current_mode==DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD) { + panel->backlight.level =current_level;
+ panel->backlight.enabled =panel->backlight.level!= 0; + } else {
+ panel->backlight.level =panel->backlight.max; + panel->backlight.enabled = false;
+ }
return 0;
}drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-7-static bool -intel_dp_aux_display_control_capable (struct intel_connector *connector) -{ - struct intel_dp *intel_dp = intel_attached_dp(connector); - struct drm_i915_private *i915 = dp_to_i915(intel_dp); - - /* Check the eDP Display control capabilities registers to determineif
- * the panel can support backlight control over the aux channel - */
- if (intel_dp->edp_dpcd[1] &DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP&& - (intel_dp->edp_dpcd[2] &DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP)) {
- drm_dbg_kms(&i915->drm, "AUX Backlight Control Supported!\n");
- return true;
- }
- return false;drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-2-} -static const struct
intel_panel_bl_funcsintel_dp_bl_funcs= { .setup =intel_dp_aux_setup_backlight, .enable =intel_dp_aux_enable_backlight,drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +0
-0@@ -337,9 +107,11 @@ int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector) struct drm_i915_private *i915 = dp_to_i915(intel_dp);
if (i915->params.enable_dpcd_backlight== 0 ||
- !intel_dp_aux_display_control_capable(intel_connector)) + !drm_edp_backlight_supported(intel_dp->edp_dpcd)) return-ENODEV;
+ drm_dbg_kms(&i915->drm, "AUX Backlight Control Supported!\n"); +
/*
* There are a lot of machines that don't advertise the backlight
* control interface to use properly in their VBIOS, :\include/drm/drm_dp_helper.h +0
-0@@ -1598,6 +1598,24 @@ drm_dp_sink_can_do_video_without_timing_msa(const u8 dpcd[DP_RECEIVER_CAP_SIZE]) DP_MSA_TIMING_PAR_IGNORED; }
+/**
+ *drm_edp_backlight_supported()- Check an eDP DPCD for VESA backlight support
+ * @edp_dpcd: The DPCD to check
+ *
+ * Note that currently this function will return %false for panels which support various DPCD
+ * backlight features but which require the brightness be set through PWM, and don't support setting
+ * the brightness level via the DPCD. This is a TODO.
+ *
+ * Returns: %True if @edp_dpcd indicates that VESA backlight controls are supported, %false
+ * otherwise
+ */include/drm/drm_dp_helper.h +7
-0+static inline bool +drm_edp_backlight_supported (const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE ]) +{ + return (edp_dpcd[1] & DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP) && + (edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP); +} +/*
* DisplayPort AUX channel
*/include/drm/drm_dp_helper.h +0
-0@@ -1912,6 +1930,36 @@ drm_dp_has_quirk(const struct drm_dp_desc *desc, u32 edid_quirks, return (desc->quirks | edid_quirks) & BIT(quirk); }
+/**
+ * structdrm_edp_backlight_info- Probed eDP backlight info struct
+ * @pwmgen_bit_count: The pwmgen bit count
+ * @pwm_freq_pre_divider: The PWM frequency pre-divider value being used for this backlight, if any
+ * @max: The maximum backlight level that may be set
+ * @lsb_reg_used: Do we also write values to theDP_EDP_BACKLIGHT_BRIGHTNESS_LSBregister?
+ * @aux_enable: Does the panel support the AUX enable cap?
+ *
+ * This structure contains various data about an eDP backlight, which can be populated by using
+ *drm_edp_backlight_init().
+ */include/drm/drm_dp_helper.h +11
-0+struct drm_edp_backlight_info { + u8 pwmgen_bit_count; + u8 pwm_freq_pre_divider; + u16 max; + + bool lsb_reg_used : 1; + bool aux_enable : 1; +}; + +int +drm_edp_backlight_init(struct drm_dp_aux *aux, struct
drm_edp_backlight_info*bl,
+ u16driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],
+ u16*current_level, u8*current_mode); +int drm_edp_backlight_set_level(structdrm_dp_aux*aux, const structdrm_edp_backlight_info*bl,
+ u16 level);
+int drm_edp_backlight_enable(structdrm_dp_aux*aux, const structdrm_edp_backlight_info*bl,
+ u16 level);
+intdrm_edp_backlight_disable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl);
+
#ifdefCONFIG_DRM_DP_CEC
voiddrm_dp_cec_irq(struct drm_dp_aux *aux);
void drm_dp_cec_register_connector(structdrm_dp_aux*aux,
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
Lyude Paul
maintainerRFC 5/5 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau
In reply to Lyude PaulThis adds support for controlling panel backlights over eDP using VESA's standard backlight control interface. Luckily, Nvidia was cool enough to never come up with their own proprietary backlight control interface (at least, not any that I or the laptop manufacturers I've talked to are aware of), so this should work for any laptop panels which support the VESA backlight control interface.
Note that we don't yet provide the panel backlight frequency to the DRM DP backlight helpers. This should be fine for the time being, since it's not required to get basic backlight controls working.
For reference: there's some mentions of PWM backlight values in nouveau_reg.h, but I'm not sure these are the values we would want to use. If we figure out how to get this information in the future, we'll have the benefit of more granular backlight control.
--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 30 +++- drivers/gpu/drm/nouveau/nouveau_backlight.c | 166 ++++++++++++++++++-- drivers/gpu/drm/nouveau/nouveau_connector.h | 9 +- drivers/gpu/drm/nouveau/nouveau_encoder.h | 1 + 4 files changed, 187 insertions(+), 19 deletions(-)
drivers/gpu/drm/nouveau/dispnv50/disp.c +29 -1
@@ -31,6 +31,7 @@#include <linux/dma-mapping.h> #include <linux/hdmi.h> #include <linux/component.h> +#include <linux/iopoll.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h>
@@ -1615,23 +1616,38 @@ nv50_sor_update(struct nouveau_encoder *nv_encoder, u8 head, core->func->sor->ctrl (core, nv_encoder->or, nv_encoder->ctrl, asyh); } +/* TODO: Should we extend this to PWM-only backlights? +* As well, should we add a DRM helper for waiting for the backlight to acknowledge +* the panel backlight has been shut off? Intel doesn't seem to do this, and uses a +* fixed time delay from the vbios… +*/ static void nv50_sor_disable (struct drm_encoder *encoder,struct drm_atomic_state *state) {struct nouveau_encoder *nv_encoder =nouveau_encoder (encoder); +struct nouveau_drm *drm =nouveau_drm (nv_encoder->base.base.dev);struct nouveau_crtc *nv_crtc =nouveau_crtc (nv_encoder->crtc);struct nouveau_connector *nv_connector =nv50_outp_get_old_connector (nv_encoder, state); +int ret; nv_encoder->crtc =NULL ;if (nv_crtc) {struct drm_dp_aux *aux = &nv_connector->aux; +struct nouveau_backlight *backlight = nv_connector->backlight;u8 pwr; +if (backlight && backlight->uses_dpcd) { + ret =drm_edp_backlight_disable (aux, &backlight->edp_info); +if (ret <0 ) +NV_ERROR (drm,"Failed to disable backlight on [CONNECTOR:%d:%s]: %d\n" , + nv_connector->base.base.id, nv_connector->base.name, ret); + } +if (nv_encoder->dcb->type ==DCB_OUTPUT_DP ) { -int ret =drm_dp_dpcd_readb (aux,DP_SET_POWER , &pwr); + ret =drm_dp_dpcd_readb (aux,DP_SET_POWER , &pwr);if (ret ==0 ) { pwr &= ~DP_SET_POWER_MASK ;
@@ -1667,6 +1683,9 @@ nv50_sor_enable(struct drm_encoder *encoder, struct drm_atomic_state *state)struct drm_device *dev = encoder->dev;struct nouveau_drm *drm =nouveau_drm (dev);struct nouveau_connector *nv_connector; +#ifdef CONFIG_DRM_NOUVEAU_BACKLIGHT +struct nouveau_backlight *backlight; +#endif struct nvbios *bios = &drm->vbios;bool hda = false;u8 proto =NV507D_SOR_SET_CONTROL_PROTOCOL_CUSTOM ;
@@ -1741,6 +1760,14 @@ nv50_sor_enable(struct drm_encoder *encoder, struct drm_atomic_state *state) proto =NV887D_SOR_SET_CONTROL_PROTOCOL_DP_B ;nv50_audio_enable (encoder, state, mode); + +#ifdef CONFIG_DRM_NOUVEAU_BACKLIGHT + backlight = nv_connector->backlight; +if (backlight && backlight->uses_dpcd) +drm_edp_backlight_enable (&nv_connector->aux, &backlight->edp_info, + (u16 )backlight->dev->props.brightness); +#endif +break ;default :BUG ();
@@ -2263,6 +2290,7 @@ nv50_disp_atomic_commit_tail(struct drm_atomic_state *state)nv50_crc_atomic_start_reporting (state);if (!flushed)nv50_crc_atomic_release_notifier_contexts (state); +drm_atomic_helper_commit_hw_done (state);drm_atomic_helper_cleanup_planes (dev, state);drm_atomic_helper_commit_cleanup_done (state);
drivers/gpu/drm/nouveau/nouveau_backlight.c +149 -17
213 lines not on this page · raw message
drivers/gpu/drm/nouveau/nouveau_connector.h +8 -1
@@ -46,7 +46,14 @@ struct nvkm_i2c_port;struct dcb_output ;#ifdef CONFIG_DRM_NOUVEAU_BACKLIGHT -struct nouveau_backlight ; +struct nouveau_backlight { +struct backlight_device *dev; + +struct drm_edp_backlight_info edp_info; +bool uses_dpcd :1 ; + +int id; +};#endif #define nouveau_conn_atom (p) \
drivers/gpu/drm/nouveau/nouveau_encoder.h +1 -0
@@ -30,6 +30,7 @@#include <subdev/bios/dcb.h> #include <drm/drm_encoder_slave.h> +#include <drm/drm_dp_helper.h> #include <drm/drm_dp_mst_helper.h> #include "dispnv04/disp.h" struct nv50_head_atom ;
Signature · 6 lines
2.28.0 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 07863bf5240e drm/nouveau/kms/nv40-/backlight: Assign prop type once -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
total: 0 errors, 1 warnings, 0 checks, 22 lines checked7f296e14de0e drm/nouveau/kms: Don't probe eDP connectors more then once
-:6: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #6:
eDP doesn't do hotplugging, so there's no reason for us to reprobe it (unless a
-:23: CHECK:CAMELCASE: Avoid CamelCase: <DCB_CONNECTOR_eDP> #23: FILE: drivers/gpu/drm/nouveau/nouveau_connector.c:558:
+ if (nv_connector->type == DCB_CONNECTOR_eDP &&
total: 0 errors, 1 warnings, 1 checks, 12 lines checked 96683b747a78 drm/i915/dp: Remove redundant AUX backlight frequency calculations 1504918e919d drm/dp: Extract i915's eDP backlight code into DRM helpers 5357fe99e438 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau -:247: CHECK:CAMELCASE: Avoid CamelCase: <DCB_CONNECTOR_eDP>
#247: FILE: drivers/gpu/drm/nouveau/nouveau_backlight.c:299:
+ if (nv_conn->type == DCB_CONNECTOR_eDP) {
total: 0 errors, 0 warnings, 1 checks, 311 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: error: incompatible types in comparison expression (different type sizes): +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: unsigned long * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: unsigned long long * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:274:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:274:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:274:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:275:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:275:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:275:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:330:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:330:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:330:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c:142:1: warning: no newline at end of file +drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h:92:56: error: marked inline, but without a definition +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error:
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ make htmldocs 2>&1 > /dev/null | grep i915 Error: Cannot open file ./drivers/gpu/drm/i915/gt/intel_lrc.c WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.7.9 -function Logical Rings, Logical Ring Contexts and Execlists ./drivers/gpu/drm/i915/gt/intel_lrc.c' failed with return code 1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm: Extract DPCD backlight helpers from i915, add support in nouveau
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau
URL : https://patchwork.freedesktop.org/series/84754/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9467 -> Patchwork_19103
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/index.html
Known issues
------------
Here are the changes found in Patchwork_19103 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@read:
- fi-tgl-y: [PASS][1] -> [DMESG-WARN][2] ([i915#402]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/fi-tgl-y/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/fi-tgl-y/igt@[email protected]
#### Possible fixes ####
* igt@prime_vgem@basic-userptr:
- fi-tgl-y: [DMESG-WARN][3] ([i915#402]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/fi-tgl-y/igt@[email protected]
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
Participating hosts (43 -> 40)
------------------------------
Missing (3): fi-ilk-m540 fi-bdw-samus fi-hsw-4200u
Build changes
-------------
* Linux: CI_DRM_9467 -> Patchwork_19103
CI-20190529: 20190529
CI_DRM_9467: 97bdde324e46e276a88de5d2d0c759b4309173c6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5886: c65fd1fbc26e9f65756d130d33b0ed56bc8faec7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19103: 5357fe99e43812c80f0d03093fb27e9b4728ba98 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
5357fe99e438 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau 1504918e919d drm/dp: Extract i915's eDP backlight code into DRM helpers 96683b747a78 drm/i915/dp: Remove redundant AUX backlight frequency calculations 7f296e14de0e drm/nouveau/kms: Don't probe eDP connectors more then once 07863bf5240e drm/nouveau/kms/nv40-/backlight: Assign prop type once
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm: Extract DPCD backlight helpers from i915, add support in nouveau
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau
URL : https://patchwork.freedesktop.org/series/84754/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_9467_full -> Patchwork_19103_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_19103_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_19103_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_19103_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_whisper@basic-queues-all:
- shard-iclb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-iclb3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_19103_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@psr2:
- shard-iclb: [PASS][3] -> [SKIP][4] ([i915#658])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-iclb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb7/igt@[email protected]
* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-iclb: NOTRUN -> [SKIP][5] ([fdo#110426] / [i915#1704])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@i915_selftest@live@active:
- shard-skl: [PASS][6] -> [DMESG-FAIL][7] ([i915#2291] / [i915#666])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl8/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl1/igt@i915_selftest@[email protected]
* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-iclb: NOTRUN -> [SKIP][8] ([fdo#110723])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@kms_ccs@pipe-c-crc-primary-basic:
- shard-skl: NOTRUN -> [SKIP][9] ([fdo#109271] / [fdo#111304])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl2/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-gamma:
- shard-skl: NOTRUN -> [SKIP][10] ([fdo#109271] / [fdo#111827])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl9/igt@[email protected]
* igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes:
- shard-iclb: NOTRUN -> [SKIP][11] ([fdo#109284] / [fdo#111827]) +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-iclb: NOTRUN -> [SKIP][12] ([fdo#109300] / [fdo#111066])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-256x256-offscreen:
- shard-skl: NOTRUN -> [FAIL][13] ([i915#54])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-256x85-offscreen:
- shard-skl: [PASS][14] -> [FAIL][15] ([i915#54]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl8/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl9/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: NOTRUN -> [FAIL][16] ([i915#2346])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl2/igt@[email protected]
* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible:
- shard-iclb: NOTRUN -> [SKIP][17] ([fdo#109274]) +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a2:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#79]) +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-glk7/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][20] -> [DMESG-WARN][21] ([i915#180]) +2 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-kbl3/igt@kms_flip@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-kbl3/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite:
- shard-skl: NOTRUN -> [SKIP][22] ([fdo#109271]) +23 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][23] ([fdo#109280]) +5 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [PASS][24] -> [FAIL][25] ([i915#1188])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl3/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-skl: NOTRUN -> [FAIL][26] ([fdo#108145] / [i915#265])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl9/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [PASS][27] -> [FAIL][28] ([fdo#108145] / [i915#265])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl4/igt@[email protected]
* igt@kms_plane_cursor@pipe-d-primary-size-128:
- shard-iclb: NOTRUN -> [SKIP][29] ([fdo#109278]) +5 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: NOTRUN -> [SKIP][30] ([fdo#109441])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@kms_psr@psr2_cursor_plane_onoff.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][31] -> [SKIP][32] ([fdo#109441]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb7/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@nouveau_crc@pipe-d-source-rg:
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#109278] / [i915#2530])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@perf@per-context-mode-unprivileged:
- shard-iclb: NOTRUN -> [SKIP][34] ([fdo#109289]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
* igt@prime_vgem@fence-flip-hang:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#109295])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
#### Possible fixes ####
* igt@kms_color@pipe-a-gamma:
- shard-tglb: [FAIL][36] ([i915#1149]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-tglb8/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-64x21-offscreen:
- shard-skl: [FAIL][38] ([i915#54]) -> [PASS][39] +4 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl6/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl4/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp1:
- shard-kbl: [FAIL][40] ([i915#79]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-kbl6/igt@kms_flip@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-kbl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [FAIL][42] ([i915#2598]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-tglb1/igt@kms_flip@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-tglb5/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-snb: [SKIP][44] ([fdo#109271]) -> [PASS][45] +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-snb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-snb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][46] ([fdo#108145] / [i915#265]) -> [PASS][47] +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl1/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl2/igt@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][48] ([fdo#109441]) -> [PASS][49] +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-iclb1/igt@kms_psr@psr2_sprite_blt.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-iclb: [INCOMPLETE][50] ([i915#1185]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-iclb3/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-iclb6/igt@[email protected]
#### Warnings ####
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-kbl: [DMESG-WARN][52] -> [INCOMPLETE][53] ([i915#155] / [i915#794])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-kbl7/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-kbl6/igt@[email protected]
* igt@runner@aborted:
- shard-skl: ([FAIL][54], [FAIL][55]) ([i915#1814] / [i915#2029] / [i915#2295] / [i915#2722]) -> [FAIL][56] ([i915#2295] / [i915#2722])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl3/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9467/shard-skl2/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/shard-skl6/igt@[email protected]
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110426]: https://bugs.freedesktop.org/show_bug.cgi?id=110426
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111066]: https://bugs.freedesktop.org/show_bug.cgi?id=111066
[fdo#111304]: https://bugs.freedesktop.org/show_bug.cgi?id=111304
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
[i915#1185]: https://gitlab.freedesktop.org/drm/intel/issues/1185
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1704]: https://gitlab.freedesktop.org/drm/intel/issues/1704
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#2029]: https://gitlab.freedesktop.org/drm/intel/issues/2029
[i915#2291]: https://gitlab.freedesktop.org/drm/intel/issues/2291
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2530]: https://gitlab.freedesktop.org/drm/intel/issues/2530
[i915#2598]: https://gitlab.freedesktop.org/drm/intel/issues/2598
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#666]: https://gitlab.freedesktop.org/drm/intel/issues/666
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#794]: https://gitlab.freedesktop.org/drm/intel/issues/794
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_9467 -> Patchwork_19103
CI-20190529: 20190529
CI_DRM_9467: 97bdde324e46e276a88de5d2d0c759b4309173c6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5886: c65fd1fbc26e9f65756d130d33b0ed56bc8faec7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19103: 5357fe99e43812c80f0d03093fb27e9b4728ba98 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19103/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 346d389548f8 drm/nouveau/kms/nv40-/backlight: Assign prop type once -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
total: 0 errors, 1 warnings, 0 checks, 22 lines checked5c960bc872b2 drm/nouveau/kms: Don't probe eDP connectors more then once
-:6: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #6:
eDP doesn't do hotplugging, so there's no reason for us to reprobe it (unless a
-:23: CHECK:CAMELCASE: Avoid CamelCase: <DCB_CONNECTOR_eDP> #23: FILE: drivers/gpu/drm/nouveau/nouveau_connector.c:558:
+ if (nv_connector->type == DCB_CONNECTOR_eDP &&
total: 0 errors, 1 warnings, 1 checks, 12 lines checked f1d7c4b52e52 drm/i915/dp: Remove redundant AUX backlight frequency calculations a50b774542f6 drm/dp: Extract i915's eDP backlight code into DRM helpers 6f41a076ae11 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau -:247: CHECK:CAMELCASE: Avoid CamelCase: <DCB_CONNECTOR_eDP>
#247: FILE: drivers/gpu/drm/nouveau/nouveau_backlight.c:299:
+ if (nv_conn->type == DCB_CONNECTOR_eDP) {
total: 0 errors, 0 warnings, 1 checks, 311 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: error: incompatible types in comparison expression (different type sizes): +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: unsigned long * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: unsigned long long * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h:92:56: error: marked inline, but without a definition +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/a
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ make htmldocs 2>&1 > /dev/null | grep i915 Error: Cannot open file ./drivers/gpu/drm/i915/gt/intel_lrc.c WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.7.9 -function Logical Rings, Logical Ring Contexts and Execlists ./drivers/gpu/drm/i915/gt/intel_lrc.c' failed with return code 1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
URL : https://patchwork.freedesktop.org/series/84754/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9471 -> Patchwork_19112
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/index.html
Known issues
------------
Here are the changes found in Patchwork_19112 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- fi-kbl-7500u: [PASS][1] -> [DMESG-WARN][2] ([i915#2605]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-kbl-7500u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-kbl-7500u/igt@[email protected]
* igt@vgem_basic@create:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-tgl-y/igt@[email protected]
#### Possible fixes ####
* igt@i915_pm_rpm@module-reload:
- fi-kbl-guc: [SKIP][5] ([fdo#109271]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-kbl-guc/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-kbl-guc/igt@[email protected]
* igt@i915_selftest@live@execlists:
- fi-apl-guc: [DMESG-WARN][7] ([i915#1037]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-apl-guc/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-apl-guc/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@ring_submission:
- fi-apl-guc: [DMESG-WARN][9] -> [PASS][10] +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-apl-guc/igt@i915_selftest@live@ring_submission.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-apl-guc/igt@i915_selftest@live@ring_submission.html
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [FAIL][11] ([i915#1161] / [i915#262]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-kbl-7500u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-kbl-7500u/igt@[email protected]
* igt@kms_force_connector_basic@force-connector-state:
- fi-icl-u2: [DMESG-WARN][13] ([i915#1226]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-icl-u2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-icl-u2/igt@[email protected]
* igt@prime_self_import@basic-with_one_bo_two_files:
- fi-tgl-y: [DMESG-WARN][15] ([i915#402]) -> [PASS][16] +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/fi-tgl-y/igt@prime_self_import@basic-with_one_bo_two_files.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/fi-tgl-y/igt@prime_self_import@basic-with_one_bo_two_files.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1037]: https://gitlab.freedesktop.org/drm/intel/issues/1037
[i915#1161]: https://gitlab.freedesktop.org/drm/intel/issues/1161
[i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
[i915#2605]: https://gitlab.freedesktop.org/drm/intel/issues/2605
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
Participating hosts (44 -> 40)
------------------------------
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-bdw-samus fi-hsw-4200u
Build changes
-------------
* Linux: CI_DRM_9471 -> Patchwork_19112
CI-20190529: 20190529
CI_DRM_9471: 1e384ea457bc2af47dc7653f8ebbcae21fbac5fc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5887: 7d87d0f1a22544e6a78dc0920b3f54b64144a029 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19112: 6f41a076ae113f11503a7c3f5ec25940cc6cbe37 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
6f41a076ae11 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau a50b774542f6 drm/dp: Extract i915's eDP backlight code into DRM helpers f1d7c4b52e52 drm/i915/dp: Remove redundant AUX backlight frequency calculations 5c960bc872b2 drm/nouveau/kms: Don't probe eDP connectors more then once 346d389548f8 drm/nouveau/kms/nv40-/backlight: Assign prop type once
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev2)
URL : https://patchwork.freedesktop.org/series/84754/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_9471_full -> Patchwork_19112_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_19112_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_19112_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_19112_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-glk: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-glk1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-glk7/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_19112_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_persistence@legacy-engines-mixed-process:
- shard-hsw: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#1099]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-hsw4/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][4] -> [SKIP][5] ([i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-tglb2/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-tglb6/igt@[email protected]
* igt@gem_workarounds@suspend-resume:
- shard-kbl: [PASS][6] -> [DMESG-WARN][7] ([i915#180])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-kbl2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-kbl6/igt@[email protected]
* igt@i915_pm_dc@dc5-psr:
- shard-skl: [PASS][8] -> [INCOMPLETE][9] ([i915#198])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl1/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl5/igt@[email protected]
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-hsw: NOTRUN -> [SKIP][10] ([fdo#109271]) +53 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-hsw4/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-apl: [PASS][11] -> [FAIL][12] ([i915#2521])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-apl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-apl7/igt@[email protected]
* igt@kms_chamelium@hdmi-audio:
- shard-skl: NOTRUN -> [SKIP][13] ([fdo#109271] / [fdo#111827]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl5/igt@[email protected]
* igt@kms_color@pipe-b-ctm-0-75:
- shard-skl: [PASS][14] -> [DMESG-WARN][15] ([i915#1982])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl8/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl2/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-hsw: NOTRUN -> [SKIP][16] ([fdo#109271] / [fdo#111827]) +3 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-hsw4/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x85-sliding:
- shard-skl: [PASS][17] -> [FAIL][18] ([i915#54])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-skl: [PASS][19] -> [FAIL][20] ([i915#79])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl9/igt@kms_flip@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@b-hdmi-a1:
- shard-hsw: NOTRUN -> [INCOMPLETE][21] ([i915#2055] / [i915#2295])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-hsw4/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-rte:
- shard-skl: NOTRUN -> [SKIP][22] ([fdo#109271]) +4 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl5/igt@[email protected]
* igt@kms_hdr@bpc-switch-dpms:
- shard-skl: [PASS][23] -> [FAIL][24] ([i915#1188])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl4/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl1/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-tglb: [PASS][25] -> [INCOMPLETE][26] ([i915#2411] / [i915#456])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-tglb7/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-tglb2/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-iclb1/igt@kms_psr@psr2_cursor_plane_onoff.html
#### Possible fixes ####
* igt@kms_cursor_crc@pipe-c-cursor-128x128-random:
- shard-skl: [FAIL][29] ([i915#54]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@b-edp1:
- shard-skl: [INCOMPLETE][31] ([i915#198]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl5/igt@kms_flip@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl4/igt@kms_flip@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][33] ([fdo#109642] / [fdo#111068]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-iclb3/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-iclb2/igt@[email protected]
* igt@perf@blocking:
- shard-skl: [FAIL][35] ([i915#1542]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl6/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl7/igt@[email protected]
* igt@perf@polling-parameterized:
- shard-tglb: [FAIL][37] ([i915#1542]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-tglb7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-tglb5/igt@[email protected]
* igt@sysfs_heartbeat_interval@mixed@bcs0:
- shard-skl: [FAIL][39] ([i915#1731]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-skl2/igt@sysfs_heartbeat_interval@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-skl10/igt@sysfs_heartbeat_interval@[email protected]
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][41] ([i915#1804] / [i915#2684]) -> [WARN][42] ([i915#2681] / [i915#2684]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-iclb7/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-iclb1/igt@[email protected]
* igt@runner@aborted:
- shard-hsw: [FAIL][43] ([i915#2295]) -> [FAIL][44] ([i915#2295] / [i915#483])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-hsw4/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-hsw1/igt@[email protected]
- shard-kbl: [FAIL][45] ([i915#2295] / [i915#2722]) -> ([FAIL][46], [FAIL][47]) ([i915#2295] / [i915#2722] / [i915#483])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9471/shard-kbl7/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-kbl6/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/shard-kbl2/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#1731]: https://gitlab.freedesktop.org/drm/intel/issues/1731
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2055]: https://gitlab.freedesktop.org/drm/intel/issues/2055
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2684]: https://gitlab.freedesktop.org/drm/intel/issues/2684
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456
[i915#483]: https://gitlab.freedesktop.org/drm/intel/issues/483
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_9471 -> Patchwork_19112
CI-20190529: 20190529
CI_DRM_9471: 1e384ea457bc2af47dc7653f8ebbcae21fbac5fc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5887: 7d87d0f1a22544e6a78dc0920b3f54b64144a029 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19112: 6f41a076ae113f11503a7c3f5ec25940cc6cbe37 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19112/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip cfc42e455a86 drm/nouveau/kms/nv40-/backlight: Assign prop type once -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
total: 0 errors, 1 warnings, 0 checks, 22 lines checked945b0c32e7e2 drm/nouveau/kms: Don't probe eDP connectors more then once
-:6: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #6:
eDP doesn't do hotplugging, so there's no reason for us to reprobe it (unless a
-:23: CHECK:CAMELCASE: Avoid CamelCase: <DCB_CONNECTOR_eDP> #23: FILE: drivers/gpu/drm/nouveau/nouveau_connector.c:558:
+ if (nv_connector->type == DCB_CONNECTOR_eDP &&
total: 0 errors, 1 warnings, 1 checks, 12 lines checked f4762128551a drm/i915/dp: Remove redundant AUX backlight frequency calculations f4bf871fa73a drm/dp: Extract i915's eDP backlight code into DRM helpers e9d81787a6e7 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau -:247: CHECK:CAMELCASE: Avoid CamelCase: <DCB_CONNECTOR_eDP>
#247: FILE: drivers/gpu/drm/nouveau/nouveau_backlight.c:299:
+ if (nv_conn->type == DCB_CONNECTOR_eDP) {
total: 0 errors, 0 warnings, 1 checks, 311 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1398:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1458:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: error: incompatible types in comparison expression (different type sizes): +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: unsigned long * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:268:16: unsigned long long * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h:92:56: error: marked inline, but without a definition +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/a
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
URL : https://patchwork.freedesktop.org/series/84754/
State : warning
== Summary ==
$ make htmldocs 2>&1 > /dev/null | grep i915 Error: Cannot open file ./drivers/gpu/drm/i915/gt/intel_lrc.c WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.7.9 -function Logical Rings, Logical Ring Contexts and Execlists ./drivers/gpu/drm/i915/gt/intel_lrc.c' failed with return code 1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
URL : https://patchwork.freedesktop.org/series/84754/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9473 -> Patchwork_19117
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/index.html
Known issues
------------
Here are the changes found in Patchwork_19117 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@read:
- fi-tgl-y: [PASS][1] -> [DMESG-WARN][2] ([i915#402])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/fi-tgl-y/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/fi-tgl-y/igt@[email protected]
* igt@i915_selftest@live@coherency:
- fi-gdg-551: [PASS][3] -> [DMESG-FAIL][4] ([i915#1748])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/fi-gdg-551/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/fi-gdg-551/igt@i915_selftest@[email protected]
#### Possible fixes ####
* igt@debugfs_test@read_all_entries:
- fi-apl-guc: [DMESG-WARN][5] ([i915#62]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/fi-apl-guc/igt@debugfs_test@read_all_entries.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/fi-apl-guc/igt@debugfs_test@read_all_entries.html
* igt@gem_exec_suspend@basic-s0:
- fi-apl-guc: [DMESG-WARN][7] ([i915#180] / [i915#62]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/fi-apl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/fi-apl-guc/igt@[email protected]
[i915#1748]: https://gitlab.freedesktop.org/drm/intel/issues/1748
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
Participating hosts (44 -> 40)
------------------------------
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-bdw-samus fi-hsw-4200u
Build changes
-------------
* Linux: CI_DRM_9473 -> Patchwork_19117
CI-20190529: 20190529
CI_DRM_9473: c64377fd4f00a839c5b25b9e3bae1052fee113b5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5888: c79d4e88f4162905da400360b6fa4940122f3a2c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19117: e9d81787a6e79b5b7cd1caaf750cd18d35d4cb8c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
e9d81787a6e7 drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau f4bf871fa73a drm/dp: Extract i915's eDP backlight code into DRM helpers f4762128551a drm/i915/dp: Remove redundant AUX backlight frequency calculations 945b0c32e7e2 drm/nouveau/kms: Don't probe eDP connectors more then once cfc42e455a86 drm/nouveau/kms/nv40-/backlight: Assign prop type once
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
In reply to Lyude Paul== Series Details ==
== Series Details ==
Series: drm: Extract DPCD backlight helpers from i915, add support in nouveau (rev3)
URL : https://patchwork.freedesktop.org/series/84754/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9473_full -> Patchwork_19117_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_19117_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic:
- shard-skl: NOTRUN -> [SKIP][1] ([fdo#109271] / [fdo#111304])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl7/igt@[email protected]
* igt@kms_color@pipe-d-ctm-max:
- shard-skl: NOTRUN -> [SKIP][2] ([fdo#109271]) +27 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl2/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-0-25:
- shard-skl: NOTRUN -> [SKIP][3] ([fdo#109271] / [fdo#111827]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-dpms:
- shard-skl: [PASS][4] -> [FAIL][5] ([i915#54]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl5/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl2/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [PASS][6] -> [FAIL][7] ([i915#2598])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-tglb6/igt@kms_flip@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-tglb5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-dp1:
- shard-kbl: [PASS][8] -> [FAIL][9] ([i915#79])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-kbl7/igt@kms_flip@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-kbl3/igt@kms_flip@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [PASS][10] -> [FAIL][11] ([fdo#108145] / [i915#265])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl5/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl2/igt@[email protected]
* igt@kms_properties@connector-properties-legacy:
- shard-kbl: [PASS][12] -> [DMESG-WARN][13] ([i915#165] / [i915#180] / [i915#78])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-kbl7/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-kbl2/igt@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [PASS][14] -> [SKIP][15] ([fdo#109441]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-iclb3/igt@kms_psr@psr2_sprite_blt.html
* igt@perf@polling-parameterized:
- shard-iclb: [PASS][16] -> [FAIL][17] ([i915#1542])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-iclb7/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-iclb2/igt@[email protected]
* igt@sysfs_timeslice_duration@invalid@vecs0:
- shard-hsw: NOTRUN -> [SKIP][18] ([fdo#109271]) +9 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-hsw8/igt@sysfs_timeslice_duration@[email protected]
#### Possible fixes ####
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-apl: [FAIL][19] ([i915#2389]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-apl7/igt@gem_exec_reloc@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-apl4/igt@gem_exec_reloc@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x21-sliding:
- shard-skl: [FAIL][21] ([i915#54]) -> [PASS][22] +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl1/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl9/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-skl: [FAIL][23] ([i915#2346]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl9/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-tglb: [FAIL][25] ([i915#2598]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-tglb1/igt@kms_flip@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-tglb8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a2:
- shard-glk: [FAIL][27] ([i915#79]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-glk1/igt@kms_flip@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-glk2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-edp1:
- shard-skl: [INCOMPLETE][29] ([i915#198]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl5/igt@kms_flip@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a1:
- shard-hsw: [INCOMPLETE][31] ([i915#2055] / [i915#2295]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-hsw6/igt@kms_flip@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-hsw8/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [FAIL][33] ([i915#1188]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl6/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-glk: [FAIL][35] ([i915#899]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-glk3/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-glk3/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][37] ([fdo#109642] / [fdo#111068]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-iclb7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][39] ([fdo#109441]) -> [PASS][40] +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-iclb5/igt@kms_psr@psr2_sprite_mmap_gtt.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][41] ([i915#2681] / [i915#2684]) -> [WARN][42] ([i915#1804] / [i915#2684])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-iclb8/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-iclb6/igt@[email protected]
* igt@runner@aborted:
- shard-skl: ([FAIL][43], [FAIL][44]) ([i915#1814] / [i915#2029] / [i915#2295] / [i915#2722] / [i915#483]) -> [FAIL][45] ([i915#2295] / [i915#2722] / [i915#483])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl7/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9473/shard-skl3/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/shard-skl5/igt@[email protected]
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111304]: https://bugs.freedesktop.org/show_bug.cgi?id=111304
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#2029]: https://gitlab.freedesktop.org/drm/intel/issues/2029
[i915#2055]: https://gitlab.freedesktop.org/drm/intel/issues/2055
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2598]: https://gitlab.freedesktop.org/drm/intel/issues/2598
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2684]: https://gitlab.freedesktop.org/drm/intel/issues/2684
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#483]: https://gitlab.freedesktop.org/drm/intel/issues/483
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#78]: https://gitlab.freedesktop.org/drm/intel/issues/78
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_9473 -> Patchwork_19117
CI-20190529: 20190529
CI_DRM_9473: c64377fd4f00a839c5b25b9e3bae1052fee113b5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5888: c79d4e88f4162905da400360b6fa4940122f3a2c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19117: e9d81787a6e79b5b7cd1caaf750cd18d35d4cb8c @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19117/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx