radv: init decoder ip block earlier.
This makes the queue decisions later correct.
Cc: mesa-stable
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27186>
(cherry picked from commit bba36df84d
)
This commit is contained in:

committed by
Eric Engestrom

parent
7c060b781d
commit
19ef1559be
@@ -764,7 +764,7 @@
|
|||||||
"description": "radv: init decoder ip block earlier.",
|
"description": "radv: init decoder ip block earlier.",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 0,
|
"nomination_type": 0,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": null,
|
"because_sha": null,
|
||||||
"notes": null
|
"notes": null
|
||||||
|
@@ -1949,13 +1949,13 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
|
|||||||
if ((device->instance->debug_flags & RADV_DEBUG_INFO))
|
if ((device->instance->debug_flags & RADV_DEBUG_INFO))
|
||||||
ac_print_gpu_info(&device->rad_info, stdout);
|
ac_print_gpu_info(&device->rad_info, stdout);
|
||||||
|
|
||||||
|
radv_init_physical_device_decoder(device);
|
||||||
|
|
||||||
radv_physical_device_init_queue_table(device);
|
radv_physical_device_init_queue_table(device);
|
||||||
|
|
||||||
/* We don't check the error code, but later check if it is initialized. */
|
/* We don't check the error code, but later check if it is initialized. */
|
||||||
ac_init_perfcounters(&device->rad_info, false, false, &device->ac_perfcounters);
|
ac_init_perfcounters(&device->rad_info, false, false, &device->ac_perfcounters);
|
||||||
|
|
||||||
radv_init_physical_device_decoder(device);
|
|
||||||
|
|
||||||
/* The WSI is structured as a layer on top of the driver, so this has
|
/* The WSI is structured as a layer on top of the driver, so this has
|
||||||
* to be the last part of initialization (at least until we get other
|
* to be the last part of initialization (at least until we get other
|
||||||
* semi-layers).
|
* semi-layers).
|
||||||
|
Reference in New Issue
Block a user