mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
drm/amd/display: Add use_max_lsw parameter
[WHY&HOW] Add use_max_lsw parameter to make prefetch for linear surfaces similar to tiled. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Oleh Kuzhylnyi <okuzhyln@amd.com> Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
bf5e396957
commit
2497eda570
|
|
@ -407,6 +407,7 @@ struct dml2_plane_parameters {
|
|||
unsigned int hostvm_min_page_size_kbytes;
|
||||
|
||||
enum dml2_svp_mode_override legacy_svp_config; //TODO remove in favor of svp_config
|
||||
bool use_max_lsw;
|
||||
|
||||
struct {
|
||||
// HW specific overrides, there's almost no reason to mess with these
|
||||
|
|
|
|||
|
|
@ -1950,6 +1950,7 @@ struct dml2_core_calcs_CalculatePrefetchSchedule_params {
|
|||
double Ttrip;
|
||||
double Turg;
|
||||
bool setup_for_tdlut;
|
||||
bool use_max_lsw;
|
||||
unsigned int tdlut_pte_bytes_per_frame;
|
||||
unsigned int tdlut_bytes_per_frame;
|
||||
double tdlut_opt_time;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user