mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 11:10:10 +01:00
pvr: Add missing feature check in compute cmd stream
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31679>
This commit is contained in:
parent
bd8c8e4af9
commit
fda6904060
1 changed files with 4 additions and 2 deletions
|
|
@ -163,8 +163,10 @@ pvr_srv_compute_cmd_stream_load(struct rogue_fwif_cmd_compute *const cmd,
|
|||
regs->cdm_resume_pds1 = *stream_ptr;
|
||||
stream_ptr += pvr_cmd_length(CR_CDM_CONTEXT_PDS1);
|
||||
|
||||
regs->cdm_item = *stream_ptr;
|
||||
stream_ptr += pvr_cmd_length(CR_CDM_ITEM);
|
||||
if (PVR_HAS_FEATURE(dev_info, compute_morton_capable)) {
|
||||
regs->cdm_item = *stream_ptr;
|
||||
stream_ptr += pvr_cmd_length(CR_CDM_ITEM);
|
||||
}
|
||||
|
||||
if (PVR_HAS_FEATURE(dev_info, cluster_grouping)) {
|
||||
regs->compute_cluster = *stream_ptr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue