radv: Add VEGA20 support.
Just mirror the radeonsi bits. Since this is just adding the extra switch entries for new HW I think this should be fine for stable. CC: <mesa-stable@lists.freedesktop.org> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
@@ -2539,6 +2539,7 @@ radv_pipeline_generate_binning_state(struct radeon_cmdbuf *cs,
|
||||
switch (pipeline->device->physical_device->rad_info.family) {
|
||||
case CHIP_VEGA10:
|
||||
case CHIP_VEGA12:
|
||||
case CHIP_VEGA20:
|
||||
context_states_per_bin = 1;
|
||||
persistent_states_per_bin = 1;
|
||||
fpovs_per_batch = 63;
|
||||
|
||||
@@ -340,6 +340,7 @@ si_emit_config(struct radv_physical_device *physical_device,
|
||||
switch (physical_device->rad_info.family) {
|
||||
case CHIP_VEGA10:
|
||||
case CHIP_VEGA12:
|
||||
case CHIP_VEGA20:
|
||||
pc_lines = 4096;
|
||||
break;
|
||||
case CHIP_RAVEN:
|
||||
|
||||
Reference in New Issue
Block a user