kernel/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
.. .. @@ -1502,6 +1502,9 @@ 1502 1502 struct dc_stream_status *stream_status = NULL; 1503 1503 struct resource_pool *pool = dc->res_pool; 1504 1504 1505 + if (!plane_state)1506 + return true;1507 +1505 1508 for (i = 0; i < context->stream_count; i++) 1506 1509 if (context->streams[i] == stream) { 1507 1510 stream_status = &context->stream_status[i];