Re: [PATCH 3/10] OPP layer and additional cleanups.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> diff --git a/arch/arm/plat-omap/omap-pm-srf.c b/arch/arm/plat-omap/omap-pm-srf.c
>> index f7bf353..0736d6a 100644
>> --- a/arch/arm/plat-omap/omap-pm-srf.c
>> +++ b/arch/arm/plat-omap/omap-pm-srf.c
>> @@ -25,10 +25,6 @@
>>  #include <plat/resource.h>
>>  #include <plat/omap_device.h>
>>  
>> -struct omap_opp *dsp_opps;
>> -struct omap_opp *mpu_opps;
>> -struct omap_opp *l3_opps;
>> -
>>  #define LAT_RES_POSTAMBLE "_latency"
>>  #define MAX_LATENCY_RES_NAME 30
>>  
>> @@ -78,16 +74,17 @@ void omap_pm_set_min_bus_tput(struct device *dev, u8 agent_id, unsigned long r)
>>  		WARN_ON(1);
>>  		return;
>>  	};
>> +#warning "Convert throughput to L3 frequency before invoking resource_request"
>>  
>>  	if (r == 0) {
>>  		pr_debug("OMAP PM: remove min bus tput constraint: "
>>  			 "dev %s for agent_id %d\n", dev_name(dev), agent_id);
>> -		resource_release("vdd2_opp", dev);
>> +		resource_release("l3_freq", dev);
>>  	} else {
>>  		pr_debug("OMAP PM: add min bus tput constraint: "
>>  			 "dev %s for agent_id %d: rate %ld KiB\n",
>>  			 dev_name(dev), agent_id, r);
>> -		resource_request("vdd2_opp", dev, r);
>> +		resource_request("l3_freq", dev, r);
>>  	}
>>  }
>>  
>> @@ -168,42 +165,27 @@ void omap_pm_set_max_sdma_lat(struct device *dev, long t)
>>
> 
> you may want to split this out.

Yes, there is still a TODO on this patch. I will split it out once this is done.
>

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux