[Intel-xe] [PATCH 05/10] fixup! drm/xe/display: Implement display support

Rodrigo Vivi rodrigo.vivi at intel.com
Wed Oct 4 14:05:34 UTC 2023


On Tue, Oct 03, 2023 at 05:34:52PM +0300, Jani Nikula wrote:
> Checks for CONFIG_DRM_XE_DISPLAY are useless in xe_display.c, because
> it's not built when CONFIG_DRM_XE_DISPLAY=n.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>


Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_display.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
> index 68729997e1fe..82d2c42629ce 100644
> --- a/drivers/gpu/drm/xe/xe_display.c
> +++ b/drivers/gpu/drm/xe/xe_display.c
> @@ -3,8 +3,6 @@
>   * Copyright © 2023 Intel Corporation
>   */
>  
> -#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
> -
>  #include "xe_display.h"
>  #include "regs/xe_regs.h"
>  
> @@ -438,5 +436,3 @@ void xe_display_probe(struct xe_device *xe)
>  	unset_display_features(xe);
>  }
>  __diag_pop();
> -
> -#endif
> -- 
> 2.39.2
> 


More information about the Intel-xe mailing list