On Wed, 06 May 2026, Tvrtko Ursulin <[email protected]> wrote:
> On 06/05/2026 11:19, Jani Nikula wrote:
>> This reverts commit 025f89b01ed8d5e65d87ed54f231e10c6ac08188.
>> 
>> 025f89b01ed8 ("drm/i915: replace select with dependency for visible
>> DEBUG_OBJECTS") breaks the build in certain scenarios, presumably
>> because config DRM_I915_DEBUG selects DRM_I915_SW_FENCE_DEBUG_OBJECTS
>> without looking at its dependencies, allowing
>> DRM_I915_SW_FENCE_DEBUG_OBJECTS=y and DEBUG_OBJECTS=n.
>> 
>> Fixes: 025f89b01ed8 ("drm/i915: replace select with dependency for visible 
>> DEBUG_OBJECTS")
>> Cc: Julian Braha <[email protected]>
>> Signed-off-by: Jani Nikula <[email protected]>
>> ---
>>   drivers/gpu/drm/i915/Kconfig.debug | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/Kconfig.debug 
>> b/drivers/gpu/drm/i915/Kconfig.debug
>> index 9a2a49284876..3562a02ef7ad 100644
>> --- a/drivers/gpu/drm/i915/Kconfig.debug
>> +++ b/drivers/gpu/drm/i915/Kconfig.debug
>> @@ -153,7 +153,7 @@ config DRM_I915_TRACE_GTT
>>   config DRM_I915_SW_FENCE_DEBUG_OBJECTS
>>      bool "Enable additional driver debugging for fence objects"
>>      depends on DRM_I915
>> -    depends on DEBUG_OBJECTS
>> +    select DEBUG_OBJECTS
>>      default n
>>      help
>>        Choose this option to turn on extra driver debugging that may affect
>
> Acked-by: Tvrtko Ursulin <[email protected]>

Thanks, pushed to drm-intel-next (yesterday).

BR,
Jani.

>
> Regards,
>
> Tvrtko
>

-- 
Jani Nikula, Intel

Reply via email to