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

Lucas De Marchi lucas.demarchi at intel.com
Fri May 26 21:12:38 UTC 2023


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

On Fri, May 19, 2023 at 04:18:07PM -0700, Matt Roper wrote:
>---
> drivers/gpu/drm/xe/display/xe_plane_initial.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/display/xe_plane_initial.c b/drivers/gpu/drm/xe/display/xe_plane_initial.c
>index 41540b27775c..39dd97acae08 100644
>--- a/drivers/gpu/drm/xe/display/xe_plane_initial.c
>+++ b/drivers/gpu/drm/xe/display/xe_plane_initial.c
>@@ -51,7 +51,6 @@ static struct xe_bo *
> initial_plane_bo(struct xe_device *xe,
> 		 struct intel_initial_plane_config *plane_config)
> {
>-	struct xe_gt *gt0 = xe_device_get_gt(xe, 0);
> 	struct xe_tile *tile0 = xe_device_get_root_tile(xe);
> 	struct xe_bo *bo;
> 	resource_size_t phys_base;
>@@ -84,7 +83,7 @@ initial_plane_bo(struct xe_device *xe,
> 		 * We don't currently expect this to ever be placed in the
> 		 * stolen portion.
> 		 */
>-		if (phys_base >= gt0->mem.vram.size) {
>+		if (phys_base >= tile0->mem.vram.size) {
> 			drm_err(&xe->drm,
> 				"Initial plane programming using invalid range, phys_base=%pa\n",
> 				&phys_base);
>-- 
>2.40.0
>


More information about the Intel-xe mailing list