~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/intel/common/intel_decoder.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
   group->dword_length_field = NULL;
168
168
   group->dw_length = 0;
169
169
   group->engine_mask = INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_RENDER) |
 
170
                        INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_COMPUTE) |
170
171
                        INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_VIDEO) |
171
172
                        INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_COPY);
172
173
   group->bias = 1;
187
188
         while (tok != NULL) {
188
189
            if (strcmp(tok, "render") == 0) {
189
190
               group->engine_mask |= INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_RENDER);
 
191
            } else if (strcmp(tok, "compute") == 0) {
 
192
               group->engine_mask |= INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_COMPUTE);
190
193
            } else if (strcmp(tok, "video") == 0) {
191
194
               group->engine_mask |= INTEL_ENGINE_CLASS_TO_MASK(INTEL_ENGINE_CLASS_VIDEO);
192
195
            } else if (strcmp(tok, "blitter") == 0) {